Merge branch 'main' of github.com:lcjqyml/LightRAG
This commit is contained in:
11
env.example
11
env.example
@@ -140,10 +140,17 @@ NEO4J_USERNAME=neo4j
|
|||||||
NEO4J_PASSWORD='your_password'
|
NEO4J_PASSWORD='your_password'
|
||||||
|
|
||||||
### MongoDB Configuration
|
### MongoDB Configuration
|
||||||
MONGODB_URI=mongodb://root:root@localhost:27017/
|
MONGO_URI=mongodb://root:root@localhost:27017/
|
||||||
MONGODB_DATABASE=LightRAG
|
MONGO_DATABASE=LightRAG
|
||||||
MONGODB_GRAPH=false # deprecated (keep for backward compatibility)
|
MONGODB_GRAPH=false # deprecated (keep for backward compatibility)
|
||||||
|
|
||||||
|
### Milvus Configuration
|
||||||
|
MILVUS_URI=http://localhost:19530
|
||||||
|
MILVUS_DB_NAME=lightrag
|
||||||
|
# MILVUS_USER=root
|
||||||
|
# MILVUS_PASSWORD=your_password
|
||||||
|
# MILVUS_TOKEN=your_token
|
||||||
|
|
||||||
### Qdrant
|
### Qdrant
|
||||||
QDRANT_URL=http://localhost:16333
|
QDRANT_URL=http://localhost:16333
|
||||||
# QDRANT_API_KEY=your-api-key
|
# QDRANT_API_KEY=your-api-key
|
||||||
|
@@ -317,7 +317,7 @@ OracleGraphStorage Postgres
|
|||||||
|
|
||||||
```
|
```
|
||||||
NanoVectorDBStorage NanoVector(default)
|
NanoVectorDBStorage NanoVector(default)
|
||||||
MilvusVectorDBStorge Milvus
|
MilvusVectorDBStorage Milvus
|
||||||
ChromaVectorDBStorage Chroma
|
ChromaVectorDBStorage Chroma
|
||||||
TiDBVectorDBStorage TiDB
|
TiDBVectorDBStorage TiDB
|
||||||
PGVectorStorage Postgres
|
PGVectorStorage Postgres
|
||||||
|
@@ -221,6 +221,7 @@ class MongoDocStatusStorage(DocStatusStorage):
|
|||||||
created_at=doc.get("created_at"),
|
created_at=doc.get("created_at"),
|
||||||
updated_at=doc.get("updated_at"),
|
updated_at=doc.get("updated_at"),
|
||||||
chunks_count=doc.get("chunks_count", -1),
|
chunks_count=doc.get("chunks_count", -1),
|
||||||
|
file_path=doc.get("file_path", doc["_id"])
|
||||||
)
|
)
|
||||||
for doc in result
|
for doc in result
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user