ChatGPT · JSON Structure

Chatgpt Chat Completions Chat Completion Content Part Structure

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

ChatCompletionContentPart 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

type text image_url input_audio

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "ChatCompletionContentPart",
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "image_url": {
      "type": "object"
    },
    "input_audio": {
      "type": "object"
    }
  }
}