4010 Commits

Author SHA1 Message Date
yangdx
cb15883130 Merge branch 'main' of github.com:HKUDS/LightRAG 2025-07-04 19:16:05 +08:00
yangdx
810676d54c Fix faisss import error 2025-07-04 19:12:23 +08:00
zrguo
840cd4650b Update batch_eval.py 2025-07-04 14:33:03 +08:00
zrguo
62655a4725 Update raganything_example.py 2025-07-04 11:32:01 +08:00
yangdx
531502677e fix: Use create_time when update_time is 0 in PGKVStorage queries 2025-07-03 23:38:53 +08:00
yangdx
3355a0ce95 Fix create_time conflict in MongoKVStorage updates 2025-07-03 22:58:08 +08:00
yangdx
04d793abbd Update logger message 2025-07-03 22:15:32 +08:00
Daniel.y
d3cb5753bb
Merge pull request #1735 from danielaskdd/check-pending-status
Feat: Check pending equest_pending after document deletion
2025-07-03 21:44:22 +08:00
yangdx
67f51597c2 Bump api version to 0178 2025-07-03 21:37:47 +08:00
yangdx
05231233f1 Feat: Check pending equest_pending after document deletion
- Add double-check for pipeline status to prevent race conditions
- Implement automatic processing of pending indexing requests after deletion
2025-07-03 21:36:35 +08:00
zrguo
12b36bf0c9 Update raganything_example.py 2025-07-03 19:22:20 +08:00
Daniel.y
790677c13f
Merge pull request #1732 from danielaskdd/optimize-doc-delete
Refac: Optimize document deletion performance
2025-07-03 17:17:21 +08:00
yangdx
6c2ae40d7d Refac: Enhance KG rebuild stability by incorporating create_time into the LLM cache 2025-07-03 17:08:29 +08:00
yangdx
a9e10ae810 Update logger messages 2025-07-03 14:08:19 +08:00
yangdx
6b6d14bc3a fix: Deduplicate entities and relationships in a single chunk with multiple gleaning results during KG rebuild 2025-07-03 13:47:52 +08:00
yangdx
70e154b0aa Fix linting 2025-07-03 12:26:05 +08:00
yangdx
ff1b1c61c7 Implemented storage types: PostgreSQL and MongoDB 2025-07-03 11:46:24 +08:00
yangdx
e56734cb8b Refac: Optimize document deletion performance
- Adding chunks_list to  dock_status
- Adding  llm_cache_list to text_chunks
- Implemented storage types: JsonKV and  Redis
2025-07-03 04:18:25 +08:00
Daniel.y
d0f04383cc
Merge pull request #1729 from danielaskdd/refac-kv-cache
feat: Flatten LLM cache structure for improved recall efficiency
2025-07-02 16:36:45 +08:00
yangdx
3be8727e3e Bump api version to 0177 2025-07-02 16:35:22 +08:00
yangdx
86c9a0cda2 Fix linting 2025-07-02 16:29:43 +08:00
yangdx
271722405f feat: Flatten LLM cache structure for improved recall efficiency
Refactored the LLM cache to a flat Key-Value (KV) structure, replacing the previous nested format. The old structure used the 'mode' as a key and stored specific cache content as JSON nested under it. This change significantly enhances cache recall efficiency.
2025-07-02 16:11:53 +08:00
zrguo
1ee9cab235 Add max_gleaning to env 2025-07-01 17:14:02 +08:00
zrguo
479865a271 Add max_gleaning to env 2025-07-01 17:13:33 +08:00
Daniel.y
b32c3825cc
Merge pull request #1724 from SLKun/main
update ollama compatible api
2025-06-30 16:12:29 +08:00
SLKun
4e88ee3662 update ollama compatible api 2025-06-30 10:41:35 +08:00
yangdx
4c2b4b4b6b Revert "Fix LLM cache handling for Redis to address document deletion scenarios."
This reverts commit 14cda93988dc110c11cf1fe8286ded7b5db7b8fb.
2025-06-29 22:35:40 +08:00
yangdx
10cd9c90e7 Revert "Fix linting"
This reverts commit abd9de2a63b39021320855fab9f5c3b332dee162.
2025-06-29 22:35:26 +08:00
yangdx
75ea0bc38d Remove default get_nodes_by_chunk_ids implementation
- Deletes inefficient default implementation
- Makes method purely abstract
2025-06-29 22:05:48 +08:00
yangdx
f15e67c82c Update comments 2025-06-29 21:53:05 +08:00
Daniel.y
c2390b8f08
Merge pull request #1720 from danielaskdd/add-rebuild-pipeline-status
Refac: Add KG rebuild logging with pipeline status
2025-06-29 21:46:08 +08:00
yangdx
e70f5a35e5 Refac: Add KG rebuild logging with pipeline status
- Logs detailed progress, including warnings and failures, to the pipeline status.
- Adds counters to report the total number of successfully rebuilt entities and relationships upon completion.
2025-06-29 21:27:12 +08:00
Daniel.y
1800a169b6
Merge pull request #1719 from danielaskdd/fix-redis-doc-delete
Fix LLM cache handling for Redis to address document deletion scenarios
2025-06-29 15:17:54 +08:00
Daniel.y
a2d821a31c
Merge pull request #1718 from danielaskdd/fix-mongo-llm-cache
Fix LLM cache handling for MongoKVStorage to address document deletion scenarios
2025-06-29 15:17:30 +08:00
yangdx
abd9de2a63 Fix linting 2025-06-29 15:15:49 +08:00
yangdx
14cda93988 Fix LLM cache handling for Redis to address document deletion scenarios.
- Implements bulk scan for "extract" cache entries
- Maintains backward compatibility for normal IDs
2025-06-29 15:13:42 +08:00
yangdx
e2824b721e Fix LLM cache handling for MongoKVStorage to address document deletion scenarios.
- Support fetching all "default_" prefixed documents
- Maintain original behavior for other IDs
- Return dictionary of documents for "default"
- Keep backward compatibility
2025-06-29 15:03:57 +08:00
yangdx
37bf341a69 Fix LLM cache handling for PGKVStorage to address document deletion scenarios.
- Add dynamic cache_type field
- Support mode parameter for LLM cache
- Maintain backward compatibility
2025-06-29 14:39:50 +08:00
Daniel.y
dd12b08708
Merge pull request #1715 from MoDDyChat/fix-constants-typo
Fix GRAPH_FIELD_SEP import typo
2025-06-29 10:12:04 +08:00
Moddy Surala
319d12bb6a Fix GRAPH_FIELD_SEP import typo 2025-06-29 01:28:39 +05:00
yangdx
6d5e73a251 Merge branch 'kenspirit/main' 2025-06-29 00:30:58 +08:00
yangdx
28aedd8b3c Update comments 2025-06-29 00:30:39 +08:00
Ken Chen
4a953d6829 As Graph edges should be treated undirectional, fix incorrect upsert_edge method in MongoDBGraph 2025-06-28 21:03:54 +08:00
Ken Chen
5116d61eaa As Graph edges should be treated undirectional, fix incorrect has_edge method in MongoDBGraph 2025-06-28 20:48:30 +08:00
Ken Chen
73cc86662a Add two BFS subgraph search support for MongoDBGraph 2025-06-28 20:00:13 +08:00
Daniel.y
0e683a50e8
Merge pull request #1714 from danielaskdd/fix-mix-query
Fix: Resolving issue with PostgreSQL document chunk KV storage depending on vector storage
2025-06-28 19:55:22 +08:00
yangdx
df5ffb3cad Merge branch 'fix-mix-query' of github.com:danielaskdd/LightRAG into fix-mix-query 2025-06-28 19:27:42 +08:00
yangdx
8522bfc9dc Optimied logger info 2025-06-28 19:27:36 +08:00
yangdx
9d5c49e4cb Optimied logger info 2025-06-28 19:08:26 +08:00
Ken Chen
5739f52d29 Rewrite get_knowledge_graph with label * by degree 2025-06-28 17:10:39 +08:00