Skip to content

Local Files Importer

The Local Files importer scans a specified directory on your machine for files and indexes them into My Independent AI. It is the most robust way to index large corpora of documents stored on your local disk or a NAS (Network Attached Storage).

Configuration

In apps/importers/config.yaml:

importers:
    local:
        - name: local_files
          enabled: true
          path: "/path/to/your/documents"

Supported File Types

  • .txt
  • .pdf (text extraction via pypdf or docling)
  • .jpg, .png (metadata extraction)

Usage

You can trigger this importer via the Admin Dashboard or by running:

uv run python apps/importers/run_local_files.py