mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-12-25 22:02:21 +00:00
use "database" instead of "LightRAG" for MongoDB config
This commit is contained in:
parent
c858e4a4e6
commit
294d094076
@ -124,7 +124,7 @@ if qdrant_uri:
|
||||
|
||||
# MongoDB config
|
||||
mongo_uri = config.get("mongodb", "uri", fallback=None)
|
||||
mongo_database = config.get("mongodb", "LightRAG", fallback=None)
|
||||
mongo_database = config.get("mongodb", "database", fallback="LightRAG")
|
||||
if mongo_uri:
|
||||
os.environ["MONGO_URI"] = mongo_uri
|
||||
os.environ["MONGO_DATABASE"] = mongo_database
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user