Struct Responses.Candidate
- Namespace
- Uralstech.UAI.LiteRTLM
public readonly ref struct Responses.Candidate
Properties
HasScore
Does the response have a valid Score?
public bool HasScore { get; init; }
Property Value
- bool
HasTokenLength
Does the response have a valid TokenLength?
public bool HasTokenLength { get; init; }
Property Value
- bool
HasTokenScores
Does the response have a valid TokenScores?
public bool HasTokenScores { get; init; }
Property Value
- bool
Score
The response score.
public float Score { get; init; }
Property Value
- float
Text
The response text.
public string? Text { get; init; }
Property Value
- string
TokenLength
The token length of this response.
public int TokenLength { get; init; }
Property Value
- int
TokenScores
The token scores for this response.
public ReadOnlySpan<float> TokenScores { get; init; }
Property Value
- ReadOnlySpan<float>
Remarks
Only valid for the lifetime of the Responses object that created this struct.