Commit Graph

3088 Commits

Author SHA1 Message Date
yangdx
554d290993 Changed node label from 'Entity' to 'base' and fix edge deletion error in PostgreSQL AGE graph 2025-04-02 14:03:56 +08:00
yangdx
fc3208cf5b Filter nodes by :base for entity label retrieval in Neo4j 2025-04-02 12:53:17 +08:00
yangdx
c72c149e71 Fix linting 2025-04-02 12:16:40 +08:00
yangdx
cd67d7cd79 Removed redundant entity_id extraction in upsert logic for Neo4JStorage 2025-04-02 12:16:13 +08:00
yangdx
5f678adb71 Refactor Neo4J storage initialization and cleanup
- Make initialization async
- Rename close() to finalize()
2025-04-02 10:45:21 +08:00
choizhang
ad1d362865 docs: Add Token Statistics Function Description in README 2025-04-01 23:50:14 +08:00
yangdx
ab9d210fcd Add document deletion support to PGDocStatusStorage 2025-04-01 22:15:31 +08:00
yangdx
cff142379c Add FAISS_USE_GPU env var to control which version of FAISS to be installed 2025-04-01 21:59:05 +08:00
yangdx
0ea55cb8cd Update splash screen message 2025-04-01 18:30:31 +08:00
yangdx
ce74879258 Remove api demo (reference to LightRAG Server instead) 2025-04-01 18:17:17 +08:00
yangdx
1e31b26cbe Remove Oracle storage implementation 2025-04-01 18:15:29 +08:00
yangdx
aec302de4e Update webui assets 2025-04-01 17:12:19 +08:00
yangdx
92d81a6266 Update i18n translation 2025-04-01 17:10:05 +08:00
yangdx
1f99522fd6 Update webui assets 2025-04-01 16:27:16 +08:00
yangdx
002738b197 Preventing document list reload from blocking dialogs to close faster
- Changed document refresh operations to execute asynchronously, no longer blocking UI response
- Added proper error handling to ensure refresh failures don't affect user experience
- Removed redundant health check calls as the document manager already includes state update logic
2025-04-01 16:26:41 +08:00
yangdx
4bb22046e0 Improve toast notifications and document clearing flow
- Enhanced Toaster component with theme, close button and rich colors
    - Added immediate feedback for document clearing operation
2025-04-01 15:44:36 +08:00
yangdx
d653711969 Update webui assets 2025-04-01 15:00:26 +08:00
yangdx
4372024ad6 feat(ui): Add document list refresh to UploadDocumentsDialog
- Add callback pattern for document list refresh after upload
- Implement conditional refresh based on upload success
- Ensure backend state is updated after successful uploads
2025-04-01 14:55:27 +08:00
yangdx
0d93ed2f2c feat(ui): Improve document list refresh mechanism in ClearDocumentsDialog
- Replace direct API call with callback pattern for document list refresh
- Ensure document list updates regardless of operation success/failure
- Improve component decoupling between ClearDocumentsDialog and DocumentManager
2025-04-01 14:46:52 +08:00
yangdx
b0f0f1ff84 refactor: improve document clearing status management
- Use update() for atomic status updates
- Improve history messages clearing while preserving list object
2025-04-01 14:03:45 +08:00
yangdx
ff5c7182da Fix update status handling bugs in drop function of json kv storage 2025-04-01 13:53:02 +08:00
yangdx
e83f6c0c63 Fix lingting 2025-04-01 13:32:05 +08:00
yangdx
4c9c600472 Refactoring clear document UI 2025-04-01 13:31:14 +08:00
yangdx
cd94e84267 Update clear cache endpoint path 2025-04-01 10:36:28 +08:00
zrguo
7a67f6c2fd Merge pull request #1243 from JoramMillenaar/fix-file-name-keyerror
Quick Fix: unknown filepath errors
2025-04-01 12:06:29 +11:00
jofoks
f349618e37 Fix: unknown filepath errors 2025-03-31 14:50:13 -07:00
choizhang
e04670d8e6 refactor: constants 2025-04-01 00:59:15 +08:00
choizhang
7831f49665 docs(locales): Add translation for edgeSizeRange 2025-04-01 00:52:11 +08:00
choizhang
109b2d3a41 docs: Fix spelling errors in README.md 2025-04-01 00:39:37 +08:00
choizhang
cd3817ce30 feat (graph settings): Add edge thickness range configuration function 2025-04-01 00:36:32 +08:00
yangdx
d54bda8d36 feat(api): Add Pydantic models for all endpoints in document_routes.py 2025-03-31 23:53:14 +08:00
yangdx
8845779ed7 Add clear cache API endpoint 2025-03-31 23:37: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
95a8ee27ed Fix linting 2025-03-31 23:22:27 +08:00
yangdx
3d4f8f67c9 Add drop_cace_by_modes to all KV storage implementation 2025-03-31 23:10:21 +08:00
yangdx
04967b33cc feat(api): Add dedicated ClearDocumentsResponse class for document deletion endpoint 2025-03-31 19:13:27 +08:00
yangdx
1772e7a887 Add delete support to all storage implementation 2025-03-31 16:21:20 +08:00
yangdx
2cb64ad280 feat: Remove immediate persistence in delete operation for JsonDocStatusStorage 2025-03-31 14:46:36 +08:00
yangdx
81f887ebab feat: Remove immediate persistence in delete operation
- Enhance delete implementation in JsonKVStorage by removing immediate persistence in delete operation
- Update documentation for drop method to clarify persistence behavior
- Add abstract delete method to BaseKVStorage
2025-03-31 14:14:32 +08:00
yangdx
bbc770d1ed feat(api): enhance document clearing error handling and status reporting
- Change pipeline busy status from "error" to "busy"
- Improve error handling documentation
2025-03-31 13:01:52 +08:00
Eric Shao
b79dac9d63 feat(DocumentManager): Add document status filter feature, support filtering documents by status 2025-03-31 12:43:21 +08:00
yangdx
fe270a9ebe Remove some graph storage support: MongoDB, TiDB and Oracle 2025-03-31 12:18:53 +08:00
yangdx
795b69b275 Add drop support for TiDB 2025-03-31 12:11:21 +08:00
Milin
787d91cb26 refactor(env): optimize env.example 2025-03-31 11:34:49 +08:00
Milin
4dbd5e3899 Merge branch 'main' into optimize-config-management
# Conflicts:
#	env.example
#	lightrag/api/utils_api.py
2025-03-31 11:29:29 +08:00
Milin
088fc19318 feat(config): Refactor configuration management
- Optimize JWT Auth module to load configuration via `global_args`.
- Decouple configuration-related code from `utils_api.py`, and add a new `config.py` file for unified configuration management.
- Adjust configuration import in `lightrag_server.py`, `auth.py`, and `document_routes.py` to be introduced through `global_args`.
2025-03-31 11:19:47 +08:00
zrguo
22a4e08439 Merge pull request #1228 from choizhang/fix-edge-label
fix(useLightragGraph): Change the label of the edge from type to keyword
2025-03-31 11:21:33 +11:00
zrguo
f953d63159 Merge pull request #1229 from choizhang/update-TokenTracker
feat(TokenTracker): Add context manager support to simplify token tracking
2025-03-31 11:20:51 +11:00
yangdx
9959ea90a8 Add drop support for Oracle 2025-03-31 03:19:06 +08:00
yangdx
6a51f38cae Remove namespace_prefix from PostgreSQL, maintain consistency with other storage implementation 2025-03-31 02:59:44 +08:00