Skip to content

Uploading documents

Add documents to a collection to make them searchable. Documents are automatically chunked and embedded using the collection’s configured model.

Each document contains the following fields:

FieldRequiredDescription
contentYesThe text content (10—10,000 characters)
metadataNoKey-value pairs for filtering and context
searchableFieldsNoAdditional fields to include in search

Navigate to a collection from the Vector Database page, then use the upload interface to add documents. You can upload individual documents or batches.

Large documents are automatically split into smaller chunks for more precise search results. You can configure chunking behaviour with the following settings:

SettingDefaultRangeDescription
autoChunktrueEnable automatic chunking
chunkSize1000500—2000Target characters per chunk
chunkOverlap2000—500Overlap between consecutive chunks

Upload up to 100 documents in a single request. Each document’s content must be between 10 and 10,000 characters.

Attach key-value metadata to documents for additional context. Metadata is returned with search results and can help agents understand the source and context of retrieved documents.

{
"content": "Your document text here...",
"metadata": {
"source": "knowledge-base",
"category": "security",
"lastUpdated": "2025-01-15"
}
}