Skip to content

ScoreAnswer

Namespace: TypeSafe.AI.Sdk

public sealed class ScoreAnswer : Answer

An expected score with its rubric and probabilities.

Inheritance: object → Answer

View source

public double Confidence { get; init; }

Reported confidence in the score.

Value: double

View source

public IReadOnlyDictionary<string, JsonElement> Legend { get; init; }

Rubric descriptions keyed by score index (string keys matching the API).

Value: IReadOnlyDictionary<string, JsonElement>

View source

public IReadOnlyDictionary<string, double> Probabilities { get; init; }

Probabilities keyed by score index.

Value: IReadOnlyDictionary<string, double>

View source

public double Score { get; init; }

Expected score, which may fall between integer rubric levels.

Value: double

View source

public override string Type { get; }

Answer type matching the question: noul, choice, score, or box.

Value: string

View source

MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API