Yannick Stephan
4adb4418fd
cleaned code
2025-02-19 13:42:49 +01:00
Yannick Stephan
ccb117e1c6
Merge pull request #846 from ArnoChenFx/db-connection-and-storage-lifecycle
...
Refactor Database Connection Management and Improve Storage Lifecycle Handling
2025-02-18 22:39:31 +01:00
ArnoChen
bfc548edf2
change init=False to default=None for db fields to prevent no attribute error
2025-02-19 04:55:59 +08:00
ArnoChen
f50604b2d3
improve conditional checks for db instance
2025-02-19 04:53:15 +08:00
ArnoChen
ae7a850d4e
create mongodb vector index only if not exists
2025-02-19 04:37:43 +08:00
ArnoChen
6d8e627f85
improve MongoDB client management and storage init
2025-02-19 04:30:52 +08:00
Yannick Stephan
2524e02428
remove tqdm and cleaned readme and ollama
2025-02-18 19:58:03 +01:00
Yannick Stephan
0994d478f0
cleaned code
2025-02-18 10:21:54 +01:00
Yannick Stephan
fc0cf2934e
fixed drop
2025-02-18 10:21:14 +01:00
Yannick Stephan
fc4b830036
fallback default drops
2025-02-18 08:43:23 +01:00
Yannick Stephan
80272cbf16
fixed edge
2025-02-17 23:20:10 +01:00
Yannick Stephan
66c4b01fdd
remove drops unused
2025-02-17 23:16:23 +01:00
Yannick Stephan
2b2c81a722
added some comments
2025-02-16 16:04:07 +01:00
Yannick Stephan
2bf238396e
updated wrong status
2025-02-16 15:52:59 +01:00
Yannick Stephan
a1607bbcb9
Merge remote-tracking branch 'origin/main' into make-clear-what-implemented-or-not
...
# Conflicts:
# lightrag/base.py
# lightrag/kg/json_doc_status_impl.py
# lightrag/kg/mongo_impl.py
# lightrag/kg/postgres_impl.py
2025-02-16 15:29:16 +01:00
Yannick Stephan
0e7aff96bb
back to not making breaks
2025-02-16 15:08:50 +01:00
Yannick Stephan
a0844bca28
cleaned import
2025-02-16 14:45:45 +01:00
Yannick Stephan
3fef8201c6
added final, required methods and cleaned import
2025-02-16 14:38:09 +01:00
ArnoChen
893b645506
unify doc status retrieval with get_docs_by_status
2025-02-16 21:28:58 +08:00
Yannick Stephan
931c31fa8c
cleaned code
2025-02-16 13:55:30 +01:00
Yannick Stephan
882190a515
updated clean of what implemented on DocStatusStorage
2025-02-16 13:53:59 +01:00
Yannick Stephan
71a18d1de9
updated clean of what implemented on BaseKVStorage
2025-02-16 13:31:12 +01:00
Yannick Stephan
3eba41aab6
updated clean of what implemented on BaseVectorStorage
2025-02-16 13:24:42 +01:00
ArnoChen
a600beb619
implement MongoDB support for VectorDB storage. optimize existing MongoDB implementations
2025-02-15 00:38:41 +08:00
ArnoChen
9a91b68e62
fix configuration errors of mongodb, neo4j, and qdrant backends.
2025-02-14 02:48:15 +08:00
yangdx
7017f114e1
Merge branch 'main' into select-datastore-in-api-server
2025-02-13 11:25:52 +08:00
ArnoChen
9daab4340c
add MongoDocStatusStorage
...
remove unnecessary logging
format
2025-02-12 04:13:48 +08:00
yangdx
8cfca5a141
Fix linting
2025-02-11 03:29:40 +08:00
yangdx
56c1792767
feat optimize storage configuration and environment variables
...
* add storage type compatibility validation table
* add enviroment variables check for storage
* modify storage init to get setting from confing.ini and env
2025-02-11 00:55:52 +08:00
Yannick Stephan
6480ddee5d
cleaned code
2025-02-09 19:51:05 +01:00
Yannick Stephan
7d63898015
fixed bugs
2025-02-09 19:21:49 +01:00
Yannick Stephan
7116bd1872
cleaned code
2025-02-09 15:24:30 +01:00
Yannick Stephan
82481ecf28
cleaned code
2025-02-09 14:55:52 +01:00
Yannick Stephan
4cce14e65e
cleaned import
2025-02-09 11:24:08 +01:00
Yannick Stephan
31fe96d74a
cleaned optional not used
2025-02-09 10:33:15 +01:00
Yannick Stephan
50c7f26262
cleanup code
2025-02-08 23:58:15 +01:00
Yannick Stephan
5a082a0052
cleaned code
2025-02-08 23:20:37 +01:00
Yannick Stephan
cff415d91f
implemented method and cleaned the mess
2025-02-08 23:18:12 +01:00
ArnoChen
3f845e9e53
better handling of namespace
2025-02-08 16:05:59 +08:00
ArnoChen
88d691deb9
add namespace prefix to storage namespaces
2025-02-08 13:53:00 +08:00
zrguo
3211816da8
Reapply "fix mongo impl"
2025-02-05 02:48:12 +08:00
zrguo
1c2545b38a
Revert "Merge pull request #708 from ArnoChenFx/fix-mongo-impl"
...
This reverts commit ad2a82e5e4f59746eae62ea1c46cc996ddc91d5c, reversing
changes made to 7b238dbc3ecd64a4575caac5ca0f50874d567a12.
2025-02-05 02:36:38 +08:00
ArnoChen
c1ff66db98
fix mongo impl
2025-02-05 01:52:33 +08:00
ranfysvalle02
4c349c208d
+MDB KG
2025-01-29 07:31:34 -05:00
zrguo
80451af839
fix linting errors
2025-01-27 23:21:34 +08:00
Saifeddine ALOUI
7a5d058a57
Update mongo_impl.py
2025-01-27 09:35:50 +01:00
bingo
1984da0fd6
add logger.debug for mongo_impl get_by_mode_and_id()
2025-01-13 07:27:30 +00:00
bingo
f28b90b2b3
1. add os env NEO4J_MAX_CONNECTION_POOL_SIZE to for neo4j ;
...
2. fix https://github.com/HKUDS/LightRAG/issues/580 issue for mongoDB document 16MB limit.
2025-01-13 07:06:01 +00:00
partoneplay
d8ba7c57f3
Add MongoDB as KV storage
2024-12-05 13:57:43 +08:00