mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 04:25:59 +08:00
fix the issue of MILVUS_DATABASE has no effect. (#4353)
This commit is contained in:
parent
d1ccb22d8a
commit
98140ae5d9
@ -259,5 +259,5 @@ class MilvusVector(BaseVector):
|
|||||||
uri = "https://" + str(config.host) + ":" + str(config.port)
|
uri = "https://" + str(config.host) + ":" + str(config.port)
|
||||||
else:
|
else:
|
||||||
uri = "http://" + str(config.host) + ":" + str(config.port)
|
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
|
return client
|
||||||
|
Loading…
x
Reference in New Issue
Block a user