ChatGPT · JSON Structure

Chatgpt Chat Completions Chat Completion Choice Structure

Type: object Properties: 3
AgentsAIChatGPTEmbeddingsFine-TuningGPT-4GPT-5Language ModelOpenAIRealtime

ChatCompletionChoice is a JSON Structure definition published by ChatGPT, describing 3 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

index finish_reason logprobs

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "ChatCompletionChoice",
  "type": "object",
  "properties": {
    "index": {
      "type": "integer"
    },
    "finish_reason": {
      "type": "string"
    },
    "logprobs": {
      "type": "object"
    }
  }
}