ingest_document
Ingest PDF, Markdown, or source code files into a knowledge hub. Documents are parsed, chunked, embedded, and stored for retrieval.
Instructions
Ingest a document file into the knowledge hub.
Supports PDF, Markdown (.md/.markdown), and source code (.py, .c, .cpp, etc.). The document is parsed, chunked, embedded, and stored for later retrieval.
Parameters:
file_path: Absolute or relative path to the file to ingest
collection: Target collection name (default: "default")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the document file to ingest. | |
| collection | No | Target collection name for the document. | default |