{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CreateEmbeddingResponse", "title": "CreateEmbeddingResponse", "type": "object", "description": "Response from the embeddings API.", "properties": { "object": { "type": "string", "enum": [ "list" ], "description": "The object type.", "example": "list" }, "data": { "type": "array", "description": "The list of embeddings generated.", "items": { "type": "object", "properties": { "index": { "type": "integer", "description": "The index of the embedding." }, "object": { "type": "string", "enum": [ "embedding" ], "description": "The object type." }, "embedding": { "type": "array", "items": { "type": "number" }, "description": "The embedding vector." } }, "required": [ "index", "object", "embedding" ] }, "example": [] }, "model": { "type": "string", "description": "The model used to generate the embeddings.", "example": "example_value" }, "usage": { "$ref": "#/components/schemas/Usage" } }, "required": [ "object", "data", "model", "usage" ] }