fix: Fix [object Object] sent to milvus on search (#3336)

This commit is contained in:
Ortes
2024-10-12 21:36:32 +02:00
committed by GitHub
parent a5d4b55bbd
commit d002096759
@@ -364,7 +364,7 @@ const similaritySearchVectorWithScore = async (query: number[], k: number, vecto
anns_field: vectorStore.vectorField,
topk: k.toString(),
metric_type: vectorStore.indexCreateParams.metric_type,
params: vectorStore.indexSearchParams
params: vectorStore.indexSearchParams.toString()
}
const searchResp = await vectorStore.client.search({
collection_name: vectorStore.collectionName,