DeepLightRAG: High-performance Document Indexing and Retrieval System (use with any LLM)
Project description
DeepLightRAG
DeepLightRAG is a high-performance document indexing and retrieval system designed to work with any Large Language Model (LLM). It features a dual-layer graph architecture (Visual-Spatial and Entity-Relationship) to provide context-aware and visually-grounded retrieval.
Features
- Dual-Layer Graph: Combines visual layout awareness with semantic entity relationships.
- Visual-Grounded Retrieval: Retrieves not just text, but visual regions and their spatial context.
- Robust OCR: Integrated with DeepSeek-OCR and EasyOCR fallback for reliable text extraction.
- Advanced NER: Uses GLiNER for zero-shot entity recognition.
- Flexible LLM Support: Compatible with OpenAI, Google Gemini, Anthropic, and local LLMs via MLX/Ollama.
Installation
pip install deeplightrag
Usage
Index a document:
deeplightrag index document.pdf
Query the index:
deeplightrag query "What is the main topic?"
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deeplightrag-1.0.12.tar.gz.
File metadata
- Download URL: deeplightrag-1.0.12.tar.gz
- Upload date:
- Size: 143.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f85b0de805c49a1683ff58d298475825310850b77958505a04a7781008704fb8
|
|
| MD5 |
87ebfa48969af0c542ea36f18022721b
|
|
| BLAKE2b-256 |
85c5afed9152714854b49e1820ee6f2a87b405b99fc38fa391075f1eade5f327
|
File details
Details for the file deeplightrag-1.0.12-py3-none-any.whl.
File metadata
- Download URL: deeplightrag-1.0.12-py3-none-any.whl
- Upload date:
- Size: 156.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8a22339a7afe0c026461261baec72f1d5259d915eb2d3c635a0f5a74096247b
|
|
| MD5 |
f4865a02472303809f57f1f779cdec17
|
|
| BLAKE2b-256 |
2db981526a01640149cbc8be967af773d1210c52f15c893ec7aaadc0a1cd3f8a
|