Files
wehub-resource-sync da6a09ff09
Auto Bump and Release / auto-bump-and-release (push) Waiting to run
style-check / pre-commit (push) Waiting to run
unit-test / unit testing with python (push) Waiting to run
unit-test / unit testing with python 3.10 (push) Waiting to run
unit-test / unit testing with python 3.11 (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 12:39:49 +08:00

1.0 KiB

Docling

Kotaemon provides a Docling reader to enable local document ingestion with structure-aware parsing, including text, tables, and figures. The reader is located under kotaemon/loaders/docling_loader.

Prerequisites

  • Install Docling:
uv pip install -e "libs/kotaemon[docling]"
  • Configure optional figure captioning:

Docling can generate figure captions when a VLM endpoint is available. Set KH_VLM_ENDPOINT in your .env file or application settings to enable captioning.

KH_VLM_ENDPOINT=http://your-vlm-endpoint

If KH_VLM_ENDPOINT is not set, Docling will still extract text, tables, and figure metadata, but it will skip generated figure captions.

Configure the loader

  1. Run Kotaemon and open the app UI.
  2. Navigate to Settings → Retrieval Settings → File loader.
  3. Select Docling (figure+table extraction).
  4. Save the settings, then upload or ingest a document. Kotaemon will use Docling during indexing and convert extracted content into Document objects.