ChatGPT · Schema

Annotation

AgentsAIChatGPTEmbeddingsFine-TuningGPT-4GPT-5Language ModelOpenAIRealtime

Properties

Name Type Description
type string The type of annotation.
start_index integer The start index of the annotation in the text.
end_index integer The end index of the annotation in the text.
url string The URL cited. Present for url_citation type.
title string The title of the cited resource.
file_id string The ID of the cited file. Present for file_citation and file_path types.
quote string The relevant quote from the file.
View JSON Schema on GitHub

JSON Schema

chatgpt-responses-annotation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Annotation",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of annotation."
    },
    "start_index": {
      "type": "integer",
      "description": "The start index of the annotation in the text."
    },
    "end_index": {
      "type": "integer",
      "description": "The end index of the annotation in the text."
    },
    "url": {
      "type": "string",
      "description": "The URL cited. Present for url_citation type."
    },
    "title": {
      "type": "string",
      "description": "The title of the cited resource."
    },
    "file_id": {
      "type": "string",
      "description": "The ID of the cited file. Present for file_citation and\nfile_path types.\n"
    },
    "quote": {
      "type": "string",
      "description": "The relevant quote from the file."
    }
  }
}