Commit Graph

2124 Commits

Author SHA1 Message Date
yangdx
4ceafb7cbc Optimize NetworkX subgraph query 2025-04-02 21:41:24 +08:00
yangdx
a50edffdb0 Optimize Neo4J subgraph query performance 2025-04-02 20:53:15 +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
d62a77500b Update graph retrival api 2025-04-02 17:21:45 +08:00
yangdx
fb2fad7766 Update comments of get_knowledge_graph func for Noe4j 2025-04-02 17:02:01 +08:00
yangdx
454e21a868 Adjust storage position in STORAGE_IMPLEMENTATIONS 2025-04-02 16:40:25 +08:00
yangdx
c2f007199f Fix linting 2025-04-02 16:36:28 +08:00
yangdx
3ed7f11b4c Add index on entity_id for Neo4j 2025-04-02 16:36:02 +08:00
yangdx
4994bd1461 Simplified graph retrival by removing inclusive and min_degree parameters 2025-04-02 16:27:58 +08:00
yangdx
df07c2a8b1 Remove Gremlin storage implementaion 2025-04-02 14:43:53 +08:00
yangdx
013be621d5 Remove TiDB storage implementaion 2025-04-02 14:40:27 +08:00
yangdx
5d517d72f5 Fix file_path error in PostgreSQL storage 2025-04-02 14:30:13 +08:00
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
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
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
1f99522fd6 Update webui assets 2025-04-01 16:27:16 +08:00
yangdx
d653711969 Update webui assets 2025-04-01 15:00:26 +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
cd94e84267 Update clear cache endpoint path 2025-04-01 10:36:28 +08:00
jofoks
f349618e37 Fix: unknown filepath errors 2025-03-31 14:50:13 -07: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
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
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
yangdx
5b7cd50005 Add delete support for MongoKVStorage 2025-03-31 02:14:16 +08:00
yangdx
078cee390c Add drop support for all storage type implementation for Mongo DB 2025-03-31 02:10:58 +08:00
yangdx
b411ce2fed Add drop support for RedisKVStorage 2025-03-31 01:40:14 +08:00
yangdx
77bc9594cf Remove delete_entity and delete_entity_relation from RediskKVStorage 2025-03-31 01:34:41 +08:00