mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-11 13:58:58 +00:00
Update milvus_store.py
line 564: param = self.index_params_map[index_type].get("params")
This commit is contained in:
@@ -561,7 +561,7 @@ class MilvusStore(VectorStoreBase):
|
||||
# use default index params.
|
||||
if param is None:
|
||||
index_type = self.col.indexes[0].params["index_type"]
|
||||
param = self.index_params_map[index_type].get("params")
|
||||
param = self.index_params_map[index_type]
|
||||
# query text embedding.
|
||||
query_vector = self.embedding.embed_query(query)
|
||||
# Determine result metadata fields.
|
||||
|
Reference in New Issue
Block a user