Enum StopReason
Reason that a ChatCompletion request stopped generating tokens.
Namespace: Glitch9.AIDevKit
Assembly: .dll
Syntax
public enum StopReason
Fields
Name | Description |
---|---|
MaxTokens | The maximum number of tokens as specified in the request was reached. |
None | Default value (Unused). |
Other | Unknown reason. |
Recitation | The content was flagged for recitation reasons. |
Safety | The content was flagged for safety reasons. |
Stop | Natural stop point of the model or provided stop sequence. |
ToolCalls | The model called a tool, or function_call. |