ingest_documents
Add local files or raw text to a named collection for search. Documents are automatically chunked, embedded, and indexed for hybrid semantic and keyword retrieval, enabling grounded Q&A over your own content.
Instructions
Ingest documents into a named collection so they can be searched.
Provide paths (files or directories of .txt/.md) and/or texts (raw strings).
Documents are chunked, embedded, and indexed for both semantic and keyword search.
Returns how many chunks were added and the collection's new total.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| texts | No | ||
| chunk_size | No | ||
| collection | No | default | |
| chunk_overlap | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||