Skip to content

Commit

Permalink
fix: Fix [object Object] sent to milvus on search (#3336)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ortes authored Oct 12, 2024
1 parent a5d4b55 commit d002096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/nodes/vectorstores/Milvus/Milvus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d002096

Please sign in to comment.