fix configuration errors of mongodb, neo4j, and qdrant backends.

This commit is contained in:
ArnoChen
2025-02-14 02:48:15 +08:00
parent 8282a0ee00
commit 9a91b68e62
4 changed files with 9 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ class MongoKVStorage(BaseKVStorage):
database = client.get_database(
os.environ.get(
"MONGO_DATABASE",
mongo_database=config.get("mongodb", "database", fallback="LightRAG"),
config.get("mongodb", "database", fallback="LightRAG"),
)
)
self._data = database.get_collection(self.namespace)