yangdx
66d6c7dd6f
Refactor main function to provide sync CLI entry point
2025-11-21 13:11:55 +08:00
yangdx
393f880311
Improve LightRAG initialization checker tool with better usage docs
...
• Add workspace param to get_namespace_data
• Update docstring with proper usage example
• Simplify demo to show correct workflow
• Remove confusing before/after comparison
• Clarify tool should run after init
2025-11-17 15:42:54 +08:00
yangdx
98e964dfc4
Fix initialization instructions in check_lightrag_setup function
2025-11-17 14:27:26 +08:00
yangdx
cdd53ee875
Remove manual initialize_pipeline_status() calls across codebase
...
- Auto-init pipeline status in storages
- Remove redundant import statements
- Simplify initialization pattern
- Update docs and examples
2025-11-17 12:54:33 +08:00
yangdx
95e1fb1612
Remove final_namespace attribute for in-memory storage and use namespace in clean_llm_query_cache.py
2025-11-17 12:54:33 +08:00
yangdx
926960e957
Refactor workspace handling to use default workspace and namespace locks
...
- Remove DB-specific workspace configs
- Add default workspace auto-setting
- Replace global locks with namespace locks
- Simplify pipeline status management
- Remove redundant graph DB locking
2025-11-17 12:54:33 +08:00
yangdx
913fa1e415
Add concurrency warning for JsonKVStorage in cleanup tool
2025-11-09 23:04:04 +08:00
yangdx
37b7118901
Fix table alignment and add validation for empty cleanup selections
2025-11-09 14:17:56 +08:00
yangdx
1485cb82e9
Add LLM query cache cleanup tool for KV storage backends
...
- Interactive cleanup workflow
- Supports all KV storage types
- Batch deletion with progress
- Comprehensive error reporting
- Preserves workspace isolation
2025-11-09 13:37:33 +08:00
yangdx
a75efb06dc
Fix: prevent source data corruption by target upsert function
...
• Prevent mutations bugs by using copy() when storing cache values
• Protect filtered cache data and ensure batch data isolation
2025-11-09 00:02:19 +08:00
yangdx
987bc09cab
Update LLM cache migration docs and improve UX prompts
2025-11-08 23:48:19 +08:00
yangdx
1a91bcdb5f
Improve storage config validation and add config.ini fallback support
...
• Add MongoDB env requirements
• Support config.ini fallback
• Warn on missing env vars
• Check available storage count
• Show config source info
2025-11-08 22:48:49 +08:00
yangdx
1864b28242
Add colored output formatting to migration confirmation display
2025-11-08 21:16:41 +08:00
yangdx
e95b02fb55
Refactor storage selection UI with dynamic numbering and inline prompts
...
• Remove standalone get_user_choice method
• Add dynamic sequential numbering
• Inline choice validation logic
• Remove redundant storage type prints
• Improve excluded storage handling
2025-11-08 20:42:27 +08:00
yangdx
5be04263b2
Fix deadlock in JSON cache migration and prevent same storage selection
...
- Snapshot JSON data before yielding batches
- Release lock during batch processing
- Exclude source type from target selection
- Add detailed docstring for lock behavior
- Filter available storage types properly
2025-11-08 19:58:36 +08:00
yangdx
6b9f13c792
Enhance LLM cache migration tool with streaming and improved UX
...
- Add streaming migration for memory efficiency
- Implement graceful exit with Enter/0
- Add progress indicators for counting
- Optimize batch processing by storage type
- Update docs with new progress displays
2025-11-08 19:38:00 +08:00
yangdx
d0d31e9262
Improve LLM cache migration tool configuration and messaging
2025-11-08 18:52:33 +08:00
yangdx
6fc54d3625
Move LLM cache migration tool to lightrag.tools module
...
- Relocated tool to proper package structure
- Updated import paths and documentation
- Added shared storage initialization
- Fixed module path resolution
- Updated usage instructions
2025-11-08 18:33:13 +08:00
yangdx
a5c05f1b92
Add offline deployment support with cache management and layered deps
...
• Add tiktoken cache downloader CLI
• Add layered offline dependencies
• Add offline requirements files
• Add offline deployment guide
2025-10-11 10:28:14 +08:00
yangdx
8a293a2c07
Fix linting
2025-08-23 02:39:12 +08:00
Albert Gil López
e3ae87b0cb
feat: Add diagnostic tool to check initialization status
...
- Add check_initialization.py tool to help developers verify proper setup
- Tool checks all storage components and pipeline status
- Provides clear feedback on what's missing and how to fix it
- Includes demo mode to show before/after initialization
- Helps prevent common initialization errors proactively
This tool makes it easier for developers to debug initialization issues
2025-08-19 06:44:33 +00:00
Yannick Stephan
678e0f9aea
Revert "Cleanup of code"
2025-02-20 15:09:43 +01:00
Yannick Stephan
eb3306f34c
cleanup
2025-02-19 22:52:49 +01:00
Yannick Stephan
55cd900e8e
clean comments and unused libs
2025-02-18 21:12:06 +01:00
ArnoChen
1b37c3be4e
format
2025-02-06 00:23:41 +08:00
ArnoChen
88173e2b34
fix graph viewer crash on macos when show file dialog
2025-02-06 00:18:27 +08:00
zrguo
5694bf78ed
Merge pull request #710 from ArnoChenFx/visualizer-module-reorg
...
split lightrag_visualizer into separate module and update entry point
2025-02-05 03:01:43 +08:00
zrguo
8b2a6d1ae5
modify README-zh.md
2025-02-05 02:59:51 +08:00
ArnoChen
c8a45daf02
split lightrag_visualizer into separate module and update entry point
2025-02-05 02:56:14 +08:00
ArnoChen
a59bb7d4ba
update LightRAG repository URL in README
2025-02-05 02:36:43 +08:00
ArnoChen
eb77af8e7d
Reapply "Integrated the GraphML Visualizer as an optional component of LightRAG"
...
This reverts commit b2bc7770fd .
2025-02-05 02:33:26 +08:00
zrguo
7b238dbc3e
Merge pull request #707 from HKUDS/dev
...
fix merge errors
2025-02-05 01:53:03 +08:00
zrguo
58faf48468
Merge
2025-02-05 01:51:26 +08:00
zrguo
b2bc7770fd
Revert "Integrated the GraphML Visualizer as an optional component of LightRAG"
2025-02-05 01:30:57 +08:00
zrguo
0e162b25aa
Merge branch 'pr/703'
2025-02-05 01:30:29 +08:00
Saifeddine ALOUI
6a4e1b1401
fixed pipmaster install
2025-02-04 00:28:33 +01:00
Saifeddine ALOUI
14b5adc15c
minor fix
2025-02-04 00:26:22 +01:00
Saifeddine ALOUI
61b06a3d1a
linting
2025-02-03 23:17:43 +01:00
Saifeddine ALOUI
a55cf5d1ee
Update README.md
2025-02-03 22:52:34 +01:00
Saifeddine ALOUI
9a30dc7b04
Integrated the graphml visualizer as part of lightrag and made it a component that can be installed using [tools] option
2025-02-03 22:51:46 +01:00