ingest_batch
Recursively index files in a directory matching include patterns to batch ingest them into the LightRAG knowledge graph.
Instructions
Recursively index all files in a directory that match specific patterns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory_path | Yes | Absolute path to the directory to scan | |
| recursive | No | If True, scans subdirectories recursively | |
| max_depth | No | Maximum depth for recursive scanning | |
| include_patterns | No | List of glob patterns for files to include (e.g. ['*.txt', '*.md']) | |
| ignore_patterns | No | List of glob patterns for files to exclude |