{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Document", "title": "Document", "description": "WARN: Work-in-progress, unimplemented\n\nText document for embedding. Requires inference infrastructure, unimplemented.", "type": "object", "required": [ "model", "text" ], "properties": { "text": { "description": "Text of the document. This field will be used as input for the embedding model.", "type": "string", "example": "This is a document text" }, "model": { "description": "Name of the model used to generate the vector. List of available models depends on a provider.", "type": "string", "minLength": 1, "example": "jinaai/jina-embeddings-v2-base-en" }, "options": { "description": "Additional options for the model, will be passed to the inference service as-is. See model cards for available options.", "anyOf": [ { "$ref": "#/components/schemas/DocumentOptions" }, { "nullable": true } ] } } }