Class ChatCompletionChoiceBase
Inherited Members
Namespace: Glitch9.AIDevKit.OpenAI
Assembly: Glitch9.AIDevKit.dll
Syntax
public abstract class ChatCompletionChoiceBase
Properties
| Edit this page View SourceFinishReason
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.
Declaration
[JsonProperty("finish_reason")]
public FinishReason? FinishReason { get; set; }
Property Value
| Type | Description |
|---|---|
| FinishReason? |
Index
The index of the choice in the list of choices.
Declaration
[JsonProperty("index")]
public int Index { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Logprobs
Log probability information for the choice.
Declaration
[JsonProperty("logprobs")]
public LogprobsInfo Logprobs { get; set; }
Property Value
| Type | Description |
|---|---|
| LogprobsInfo |