Commit Graph

2231 Commits

Author SHA1 Message Date
zrguo
42d10308f4 Merge pull request #986 from danielaskdd/docx-pptx-packagename
Fix package name checks for docx and pptx modules.
2025-03-04 13:24:51 +08:00
zrguo
fd9f71e0ee fix delete_by_doc_id 2025-03-04 13:22:33 +08:00
zrguo
0f430ca1a7 update README.md 2025-03-04 12:42:40 +08:00
zrguo
23106b81fb fix custom kg demo 2025-03-04 12:29:17 +08:00
zrguo
6c8fa95214 fix demo 2025-03-04 12:25:07 +08:00
zrguo
acb074d0f8 Merge pull request #982 from danielaskdd/standalone-logger-setup
Providing setup_logger for standalone LightRAG logger initialization
2025-03-04 12:16:37 +08:00
yangdx
61839f311a Fix package name checks for docx and pptx modules.
- Added type ignore for package checks
- Corrected docx pptx package name for new version
2025-03-04 10:00:07 +08:00
yangdx
d69042f161 Merge branch 'main' into standalone-logger-setup 2025-03-04 09:54:14 +08:00
Yannick Stephan
fb07bc04a0 Merge pull request #974 from danielaskdd/max-graph-node
Add max nodes limit for graph retrieval
2025-03-03 23:30:45 +01:00
Yannick Stephan
cf87c931d4 Merge pull request #978 from MdNazishArmanShorthillsAI/main
Improved caching check
2025-03-03 23:29:55 +01:00
yangdx
bc9905a061 Fix gensim not compatible wtih numpy and scipy problem
- Replace numpy with gensim in requirements.txt
- Let gensim choose a correct version of numpy and scipy
2025-03-04 02:28:09 +08:00
yangdx
0af774a28f Fix linting 2025-03-04 01:28:39 +08:00
yangdx
9056994292 Deprecate and remove logging parameters in LightRAG.
- Set log_level and log_file_path to None by default
- Issue warnings if deprecated parameters are used
- Maintain backward compatibility with warnings
2025-03-04 01:28:08 +08:00
yangdx
b26a574f40 Deprecate log_level and log_file_path in LightRAG.
- Remove log_level from API initialization
- Add warnings for deprecated logging params
2025-03-04 01:07:34 +08:00
yangdx
63cb057d41 Merge branch 'main' into standalone-logger-setup 2025-03-03 23:36:17 +08:00
yangdx
462c27c167 Refactor logging setup and simplify Gunicorn configuration
• Move logging setup code to utils.py
• Provide setup_logger for standalone LightRAG logger intialization
2025-03-03 23:18:41 +08:00
zrguo
0ac482f6d3 Update README.md 2025-03-03 21:15:34 +08:00
zrguo
78151d045b fix README.md 2025-03-03 21:13:43 +08:00
zrguo
a814285155 Add a feature that allows modifying nodes and relationships. 2025-03-03 21:09:45 +08:00
zrguo
a27cf5a09e fix delete_by_doc_id 2025-03-03 19:17:34 +08:00
zrguo
ef2a5ad191 fix linting 2025-03-03 18:40:03 +08:00
zrguo
1611400854 fix demo 2025-03-03 18:33:42 +08:00
MdNazishArmanShorthillsAI
0ea274a30d Improved cashing check 2025-03-03 13:53:45 +05:30
zrguo
887388c317 fix linting 2025-03-03 14:54:28 +08:00
zrguo
0320aa4ccc Merge pull request #971 from Volve-Technologies/abyl/adding_full_doc_id
adding full_doc_id to insert
2025-03-03 14:44:50 +08:00
yangdx
c21d5744f9 Remove duplicated run_with_gunicorn.py 2025-03-03 02:05:54 +08:00
yangdx
11fdb60fe5 Remove Chinese comments 2025-03-03 01:30:41 +08:00
yangdx
a9a1fae787 Merge branch 'main' into max-graph-node 2025-03-03 01:20:05 +08:00
Yannick Stephan
2d6d0be128 Merge pull request #969 from danielaskdd/add-multi-worker-support
Add multi workers support for API Server
2025-03-02 17:47:00 +01:00
yangdx
12fbc5b851 Updated env.example with better documentation and clarity
- Renamed file from .env.example to env.example
2025-03-02 19:12:11 +08:00
yangdx
644ed15d75 Merge branch 'add-multi-worker-support' into max-graph-node 2025-03-02 18:37:56 +08:00
yangdx
fca6969b0b Update Gunicorn startup instructions in API documentation 2025-03-02 18:33:18 +08:00
yangdx
7a8bd15203 Merge branch 'add-multi-worker-support' into max-graph-node 2025-03-02 18:24:22 +08:00
yangdx
fb5f11f594 Add Gunicorn support for production deployment of LightRAG server
- Move gunicorn startup an config files to api package
- Create new CLI entry point for Gunicorn mode
2025-03-02 18:17:51 +08:00
yangdx
465737efed Fix linting 2025-03-02 17:32:25 +08:00
yangdx
68bf02abb6 refactor: improve graph querying with label substring matching and security fixes 2025-03-02 16:20:37 +08:00
yangdx
0f1eb42c8d Add node limit and prioritization for knowledge graph retrieval
• Add MAX_GRAPH_NODES limit from env var
• Prioritize nodes by label match & connection
2025-03-02 15:39:14 +08:00
zrguo
265fc2c87f fix linting 2025-03-02 14:24:54 +08:00
zrguo
5198240cf9 remove " and upper() 2025-03-02 14:23:06 +08:00
yangdx
87d0ee0127 Merge branch 'add-multi-worker-support' into max-graph-node 2025-03-02 12:53:05 +08:00
yangdx
1ca6837219 Add max nodes limit for graph retrieval of networkX
• Set MAX_GRAPH_NODES env var (default 1000)
• Change edge type to "RELATED"
2025-03-02 12:52:25 +08:00
yangdx
396b8c3347 Add psutil to required dependencies for runtime monitoring 2025-03-02 12:44:58 +08:00
yangdx
7124845e55 Optimize document processing pipeline with better status tracking & batch handling
• Add upfront doc processing check
• Optimize pipeline status updates
2025-03-02 11:09:32 +08:00
yangdx
1a5eb20003 Fix history_messages clearing in LightRAG pipeline status initialization 2025-03-02 04:43:41 +08:00
yangdx
c0b22a8ae2 Merge branch 'main' into add-multi-worker-support 2025-03-02 02:54:57 +08:00
yangdx
e20aeada92 docs: add gunicorn deployment guide and update server 2025-03-02 02:43:11 +08:00
yangdx
8fb3670ac7 Add additional log-related patterns to gitignore 2025-03-02 02:26:21 +08:00
yangdx
7cd25fe5ab Improve shared storage cleanup and clarify initialization in multi-worker setup 2025-03-02 01:00:27 +08:00
yangdx
8d6960f280 Fix linting 2025-03-02 00:13:11 +08:00
yangdx
f76cf98dbd Add automatic dependency checking and installation for server startup
• Added check_and_install_dependencies()
• Install missing dependencies automatically
2025-03-02 00:04:59 +08:00