413 Commits

Author SHA1 Message Date
yangdx
89d1e68d97 Move graph edit function implemention to a utils_graph.py to educe the size of lightray.py 2025-04-14 03:06:23 +08:00
yangdx
6dd67748ca Add graph_db_lock to esure consistency across multiple processes for node and edge edition jobs 2025-04-14 00:07:31 +08:00
yangdx
ecfe4209c3 Update log message 2025-04-12 21:34:50 +08:00
yangdx
745301ea13 Deleted node2vec implementation 2025-04-11 18:41:45 +08:00
choizhang
eb3038e55a docs(locales): Update multilingual files to include descriptions of bypass mode 2025-04-11 15:13:58 +08:00
choizhang
a12d60e4ea feat: Add query mode 'bypass' to bypass knowledge retrieval and directly use LLM 2025-04-11 02:57:34 +08:00
yangdx
96f439bb52 Optimize pipeline status message 2025-04-10 21:19:26 +08:00
yangdx
3007dff153 Add env FORCE_LLM_SUMMARY_ON_MERGE 2025-04-10 17:29:07 +08:00
yangdx
ac7e275932 Fix linting 2025-04-02 18:36:05 +08:00
yangdx
d7d04a0d94 Update graph retrival api(abandon pydantic model) 2025-04-02 18:32:03 +08:00
yangdx
0981ee1af9 Replace delete() with drop_cache_by_modes() method to implement cache clearing operations 2025-03-31 23:23:31 +08:00
yangdx
1772e7a887 Add delete support to all storage implementation 2025-03-31 16:21:20 +08:00
yangdx
6a51f38cae Remove namespace_prefix from PostgreSQL, maintain consistency with other storage implementation 2025-03-31 02:59:44 +08:00
yangdx
53ab5e015c remove check_storage_env_vars from lightrag.py 2025-03-30 15:25:04 +08:00
yangdx
1a25a78e8a feat: remove check_storage_env_vars and add TODOs
- Remove unused check_storage_env_vars method
- Add TODO to check if has_edge works on reverse relation
- Add TODO about entities_vdb.client_storage local storage limitation
2025-03-30 10:25:49 +08:00
yangdx
65574459f9 standardize .env loading behavior across modules 2025-03-29 03:48:38 +08:00
yangdx
46f5c5b47f Fix linting 2025-03-26 17:30:06 +08:00
yangdx
5c18213b24 fix: optimize job name handling in document processing pipeline
- Move job name setting to before batch processing
- Fix document and batch counter accumulation
2025-03-26 16:58:31 +08:00
yangdx
57143fedcc feat(lightrag): improve job name display with file path and count
Replace generic "indexing files" with dynamic job name showing truncated file path and total file count.
2025-03-26 12:32:52 +08:00
omdivyatej
f049f2f5c4 linting errors 2025-03-25 15:20:09 +05:30
omdivyatej
3522da1b21 specify LLM for query 2025-03-23 21:33:49 +05:30
yangdx
101e1c907c Fix linting 2025-03-21 21:51:52 +08:00
zrguo
9b4f41d8d5 add embedding_bathc_num and embedding_func_max_async to env 2025-03-21 13:47:53 +08:00
zrguo
eb1e954ced fix lint 2025-03-20 22:13:31 +08:00
zrguo
d817defbc4 fix edit feature 2025-03-20 22:00:11 +08:00
Daniel.y
251f624273
Merge pull request #1107 from JoramMillenaar/fix--psql-return-type
Fixed get_by_id type error in PSQL impl
2025-03-18 20:40:28 +08:00
jofoks
54e4a31aa6 Fixed get_by_id type error in PSQL impl 2025-03-17 17:32:54 -07:00
zrguo
6115f60072 fix lint 2025-03-17 23:36:00 +08:00
zrguo
bf18a5406e add citation 2025-03-17 23:32:35 +08:00
yangdx
34727b3bd5 Update log message for in-memory DB persistence 2025-03-17 04:25:23 +08:00
yangdx
701d2d7d47 Fix linting 2025-03-17 04:11:25 +08:00
yangdx
2a4ff7c0d0 Fix pipeline bactch process problem
- Process batch one by one
- Process documents in parallel within each batch
2025-03-17 04:00:38 +08:00
yangdx
c2ba7f33ff Adjust concurrency limits more LLM friendly settings for new comers
- Lowered max async LLM processes to 4
- Enabled LLM cache for entity extraction
- Reduced max parallel insert to 2
2025-03-16 23:56:34 +08:00
Daniel.y
bce409acff
Merge pull request #1079 from pengjunfeng11/main
Replace unreasonable parameter names
2025-03-16 15:31:02 +08:00
pengjunfeng11
f53f07bcf4
Update code comments in ainsert method
Update code comments in ainsert method. The original comment was cut off in the middle, not a complete sentence, and cannot be read
2025-03-14 10:59:24 +08:00
zrguo
e6b55360a1 fix merge bug 2025-03-13 23:12:42 +08:00
zrguo
78a4edeff5 fix linting 2025-03-13 22:20:55 +08:00
zrguo
5707aab6bd fix existing justification bug 2025-03-13 22:16:56 +08:00
zrguo
e2b9be2dc6 Update lightrag.py 2025-03-13 16:52:48 +08:00
Rushi Chaganti
39633cb1d9 Fixed lint and Added new imports at the top of the file 2025-03-12 00:04:23 +05:30
zrguo
baea58497f
Merge pull request #1052 from HKUDS/dev2
Standardizing Vector Database Interfaces
2025-03-11 20:55:32 +08:00
zrguo
11a5a04c4d
Merge pull request #1053 from HKUDS/dev3
Fix the merge bug with Neo4j
2025-03-11 17:33:37 +08:00
zrguo
ea05b8e49f Fix the merge bug with Neo4j 2025-03-11 16:19:44 +08:00
zrguo
c26cb3a9ea fix merge bugs 2025-03-11 16:05:04 +08:00
zrguo
418aea3895 fix linting 2025-03-11 15:44:01 +08:00
zrguo
62b304600b clean lightrag.py 2025-03-11 15:43:04 +08:00
zrguo
2bf40ab636
Merge branch 'main' into neo4j-add-min-degree 2025-03-10 22:24:06 +08:00
zrguo
ad13009cff fix edit_entity 2025-03-10 19:07:19 +08:00
yangdx
bbff3ed0ab Fix linting 2025-03-10 17:30:40 +08:00
yangdx
3cca18c59c Refactor pipeline status updates and entity extraction.
- Let all parrallel jobs using one pipe_status objects
- Improved thread safety with pipeline_status_lock
- Only pipeline jobs can add message to pipe_status
- Marked insert_custom_chunks as deprecated
2025-03-10 16:48:59 +08:00