Table of Contents

Class ScoreAnswer

Namespace
TypeSafe.AI.Sdk
Assembly
TypeSafe.AI.Sdk.dll

An expected score with its rubric and probabilities.

public sealed class ScoreAnswer : Answer
Inheritance
ScoreAnswer
Inherited Members

Properties

Confidence

Reported confidence in the score.

public double Confidence { get; init; }

Property Value

double

Legend

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

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

Property Value

IReadOnlyDictionary<string, JsonElement>

Probabilities

Probabilities keyed by score index.

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

Property Value

IReadOnlyDictionary<string, double>

Score

Expected score, which may fall between integer rubric levels.

public double Score { get; init; }

Property Value

double

Type

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

public override string Type { get; }

Property Value

string