Spaces:
Runtime error
Runtime error
|
Download docs/integrations/docling.md from Leodass1433/RAG-TechXfluence: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/spaces/Leodass1433/RAG-TechXfluence/resolve/main/docs/integrations/docling.md
- Command line
-
hf download hf://spaces/Leodass1433/RAG-TechXfluence/docs/integrations/docling.md
-
curl -L -o docling.md https://huggingface.co/spaces/Leodass1433/RAG-TechXfluence/resolve/main/docs/integrations/docling.md
1.09 kB
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
- Run Kotaemon and open the app UI.
- Navigate to Settings → Retrieval Settings → File loader.
- Select
Docling (figure+table extraction). - Save the settings, then upload or ingest a document. Kotaemon will use Docling during indexing and convert extracted content into
Documentobjects.