mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-18 16:27:31 +00:00
Update milvus_store.py
line 564: param = self.index_params_map[index_type].get("params")
This commit is contained in:
parent
f209b4c643
commit
463d27b78f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user