Skip to main content
Use the Directory Connector to ingest files from a local filesystem directory into the mAItion knowledge base.

What It Does

  • reads files from a directory path mounted inside the container
  • supports recursive traversal of subdirectories
  • filters files by extension, hidden status, or empty content
  • optionally limits the number of files ingested
  • runs ingestion on a configurable schedule

Prerequisites

The directory must be accessible inside the celery_worker container. Mount it as a Docker volume in compose.yaml:
Use the same container path (e.g. /data/docs) as the path value in config.yaml.

config.yaml Example

Configuration Reference

Multiple Directory Sources

Add more sources entries (directory2, directory3, etc.) with separate volume mounts and paths per source.