Class CompletionsLogProbability
Inheritance
object
CompletionsLogProbability
Implements
IEquatable<CompletionsLogProbability>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DotnetPrompt.LLM.OpenAI.Model
Assembly: DotnetPrompt.LLM.OpenAI.dll
Syntax
public record CompletionsLogProbability : IEquatable<CompletionsLogProbability>
Properties
| Improve this Doc View SourceTextOffset
Text offset.
Declaration
[JsonPropertyName("text_offset")]
public IReadOnlyList<int> TextOffset { get; init; }
Property Value
Type | Description |
---|---|
IReadOnlyList<int> |
TokenLogProbability
Log Probability of Tokens.
Declaration
[JsonPropertyName("token_logprobs")]
public IReadOnlyList<float?> TokenLogProbability { get; init; }
Property Value
Type | Description |
---|---|
IReadOnlyList<float?> |
Tokens
Tokens.
Declaration
[JsonPropertyName("tokens")]
public IReadOnlyList<string> Tokens { get; init; }
Property Value
Type | Description |
---|---|
IReadOnlyList<string> |
TopLogProbability
Top Log Probabilities.
Declaration
[JsonPropertyName("top_logprobs")]
public IReadOnlyList<IDictionary<string, float>> TopLogProbability { get; init; }
Property Value
Type | Description |
---|---|
IReadOnlyList<IDictionary<string, float>> |
Implements
System.IEquatable<T>