ingest_file
Upload a single local PDF, DOCX, XLSX, PPTX, MD, HTML, CSV, or TXT file into a collection. The file is processed with format-specific quality handling to ensure clean, searchable content for RAG.
Instructions
Ingests a single local file (PDF, DOCX, XLSX, PPTX, MD, HTML, CSV, or TXT) into a collection, with format-specific quality processing. Use this for one file at a time; use ingest_directory for a whole folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| collection | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| collection | Yes | ||
| source_path | Yes | ||
| chunks_created | Yes | ||
| discard_reasons | Yes | ||
| pages_discarded | Yes | ||
| duplicates_found | Yes |