OpenAI · Schema

ChatCompletionChoice

AIArtificial IntelligenceLarge Language ModelsT1

Properties

Name Type Description
index integer The index of the choice in the list of choices.
message object The chat completion message generated by the model.
finish_reason string The reason the model stopped generating tokens. stop means the model hit a natural stop point or provided stop sequence. length means the maximum token count was reached. tool_calls means the model ca
logprobs ['object', 'null'] Log probability information for the choice.
View JSON Schema on GitHub