LightRAG/lightrag/api/routers
Saswat 6872f085d1 feat: Enhance document processing with page tracking and reference validation
- Added optional page tracking fields (start_page, end_page, pages) to TextChunkSchema.
- Updated LightRAG class to handle page metadata during document processing.
- Implemented validation for LLM responses to ensure only valid reference IDs are used.
- Enhanced chunking functions to include page data for better context management.
- Improved reference generation to include page ranges for citations.
- Added PDF extraction methods to capture page-level data using PyPDF2 and Docling.
2025-10-09 17:38:43 +05:30
..
__init__.py split lightrag_servery.py to smaller files 2025-02-20 03:26:39 +08:00
document_routes.py feat: Enhance document processing with page tracking and reference validation 2025-10-09 17:38:43 +05:30
graph_routes.py Make graph label methods required in BaseGraphStorage interface 2025-09-20 12:40:36 +08:00
ollama_api.py fix(OllamaAPI): Add validation to ensure last message is from user role 2025-10-01 20:48:37 +08:00
query_routes.py Relax conversation history role validation requirements 2025-09-29 13:10:15 +08:00