Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix the issue of MILVUS_DATABASE has no effect. (#4353)

kerlion98140ae5d98a
diff --git a/api/core/rag/datasource/vdb/milvus/milvus_vector.py b/api/core/rag/datasource/vdb/milvus/milvus_vector.py
index c90fe3b1888..0586e279d3b 100644
--- a/api/core/rag/datasource/vdb/milvus/milvus_vector.py
+++ b/api/core/rag/datasource/vdb/milvus/milvus_vector.py
@@ -259,5 +259,5 @@ class MilvusVector(BaseVector):
uri = "https://" + str(config.host) + ":" + str(config.port)
else:
uri = "http://" + str(config.host) + ":" + str(config.port)
- client = MilvusClient(uri=uri, user=config.user, password=config.password)
+ client = MilvusClient(uri=uri, user=config.user, password=config.password,db_name=config.database)
return client