ChatGPT · JSON Structure

Chatgpt Chat Completions Token Logprob Structure

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

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

Properties

token logprob bytes top_logprobs

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "TokenLogprob",
  "type": "object",
  "properties": {
    "token": {
      "type": "string"
    },
    "logprob": {
      "type": "number"
    },
    "bytes": {
      "type": "array"
    },
    "top_logprobs": {
      "type": "array"
    }
  }
}