ChatGPT · Schema

ChatCompletionChoice

AgentsAIChatGPTEmbeddingsFine-TuningGPT-4GPT-5Language ModelOpenAIRealtime

Properties

Name Type Description
index integer The index of the choice in the list.
finish_reason string The reason the model stopped generating tokens. stop means the model hit a natural stop point or a provided stop sequence. length means the maximum token limit was reached. tool_calls means the model
logprobs object Log probability information for the choice.
View JSON Schema on GitHub