LightRAG/lightrag
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
..
api feat: Enhance document processing with page tracking and reference validation 2025-10-09 17:38:43 +05:30
kg feat: Enhance document processing with page tracking and reference validation 2025-10-09 17:38:43 +05:30
llm fix: Remove trailing whitespace for pre-commit linting 2025-10-09 15:01:53 +11:00
tools Fix linting 2025-08-23 02:39:12 +08:00
__init__.py Bump core version to 1.5.0 and API to 0236 2025-10-05 09:25:57 +08:00
base.py feat: Enhance document processing with page tracking and reference validation 2025-10-09 17:38:43 +05:30
constants.py Remove deprecated history_turns and ids parameters from query API endpoint 2025-09-25 04:58:57 +08:00
exceptions.py Rename allow_create to first_initialization for clarity 2025-08-23 02:34:39 +08:00
lightrag.py feat: Enhance document processing with page tracking and reference validation 2025-10-09 17:38:43 +05:30
namespace.py Refac: Add workspace infomation to all logger output for all storage type 2025-08-12 01:19:09 +08:00
operate.py feat: Enhance document processing with page tracking and reference validation 2025-10-09 17:38:43 +05:30
prompt.py feat: Enhance document processing with page tracking and reference validation 2025-10-09 17:38:43 +05:30
rerank.py fix: Resolve default rerank config problem when env var missing 2025-08-23 01:07:59 +08:00
types.py
utils.py feat: Enhance document processing with page tracking and reference validation 2025-10-09 17:38:43 +05:30
utils_graph.py Fix GRAPH_FIELD_SEP import typo 2025-06-29 01:28:39 +05:00