Qdrant · Schema

Document

WARN: Work-in-progress, unimplemented Text document for embedding. Requires inference infrastructure, unimplemented.

AIArtificial IntelligenceVector Databases

Properties

Name Type Description
text string Text of the document. This field will be used as input for the embedding model.
model string Name of the model used to generate the vector. List of available models depends on a provider.
options object Additional options for the model, will be passed to the inference service as-is. See model cards for available options.
View JSON Schema on GitHub

JSON Schema

qdrant-document-schema.json Raw ↑
{
  "$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
        }
      ]
    }
  }
}