mimir_ingest_file
Ingest a document file locally by extracting its text and storing it as a recallable entity in memory. Supports plaintext, markdown, and structured text; DOCX and PDF require a specific build.
Instructions
Ingest a document file into memory by extracting its text LOCALLY (no cloud, no network). Plaintext/markdown/structured-text work in any build; DOCX and PDF require a binary built with --features multimodal (otherwise a clear error is returned). The extracted text is stored as a normal entity (recallable via mimir_recall). category defaults to 'document', key defaults to the file name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Entity key (default: the file name) | |
| path | Yes | Path to the document file to ingest | |
| tags | No | Optional tags | |
| category | No | Entity category (default 'document') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Stored entity id | |
| key | No | ||
| chars | No | Characters of text extracted | |
| action | No | created or updated | |
| category | No |