Class Choice
Info
A chat completion choice.
public class ChoiceInheritance
Inherited Members
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Constructors
Choice()
public Choice()Properties
FinishReason
The reason the model stopped generating tokens. This will be stop if the model hit a natural stop point or a provided stop sequence, length if the maximum number of tokens specified in the request was reached.
[JsonProperty("finish_reason")]
public string FinishReason { get; set; }Property Value
Index
The index of the choice in the list of choices.
[JsonProperty("index")]
public int Index { get; set; }Property Value
Message
A chat completion message generated by the model.
[JsonProperty("message")]
public Message Message { get; set; }Property Value
Namespace: Documentize Assembly: Documentize.dll