docs: add MongoDB storage support and improve storage client comment

This commit is contained in:
yangdx
2025-02-13 14:31:12 +08:00
parent cdd52809b0
commit 5ad3555f4c
2 changed files with 3 additions and 2 deletions

View File

@@ -183,6 +183,7 @@ OracleVectorDBStorag Oracle
``` ```
JsonDocStatusStorage JsonFile(default) JsonDocStatusStorage JsonFile(default)
PGDocStatusStorage Postgres PGDocStatusStorage Postgres
MongoDocStatusStorage MongoDB
``` ```
#### How Select Storage Type #### How Select Storage Type

View File

@@ -557,8 +557,8 @@ class LightRAG:
return storage_class return storage_class
def set_storage_client(self, db_client): def set_storage_client(self, db_client):
# Inject db to storage implementation (only tested on Oracle Database # Deprecated, seting correct value to *_storage of LightRAG insteaded
# Deprecated, seting correct value to *_storage creating LightRAG insteaded # Inject db to storage implementation (only tested on Oracle Database)
for storage in [ for storage in [
self.vector_db_storage_cls, self.vector_db_storage_cls,
self.graph_storage_cls, self.graph_storage_cls,