OpenAI · Schema

Embedding

AIArtificial IntelligenceLarge Language ModelsT1

Properties

Name Type Description
object string The object type, always embedding.
embedding string
index integer The index of the embedding in the list of embeddings, corresponding to the position of the input.
View JSON Schema on GitHub

JSON Schema

openai-embeddings-embedding-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Embedding",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "description": "The object type, always embedding."
    },
    "embedding": {
      "type": "string"
    },
    "index": {
      "type": "integer",
      "description": "The index of the embedding in the list of embeddings, corresponding to the position of the input."
    }
  }
}