Class ChatChoice
public class ChatChoice
- Inheritance
-
objectChatChoice
Properties
Delta
A streaming chat completion message generated by the model.
public ChatDelta Delta { get; set; }
Property Value
FinishReason
The reason the model stopped generating tokens. This will be stopped 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, content_filter if content was omitted due to a flag from our content filters, or function_call if the model called a Function.
public StopReason? FinishReason { get; set; }
Property Value
Index
The index of the choice in the list of choices.
public int Index { get; set; }
Property Value
- int
Logprobs
Log probability information for the choice.
public Logprobs Logprobs { get; set; }
Property Value
Message
A chat completion message generated by the model.
public ChatMessage Message { get; set; }
Property Value
Text
Only used for legacy model requests.
public string Text { get; set; }
Property Value
- string