docs: add MongoDB storage support and improve storage client comment
This commit is contained in:
@@ -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
|
||||||
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user