fix: Fix parameter type mismatch issue when using Milvus (#1449)

This commit is contained in:
2024-04-26 09:54:36 +08:00 committed by GitHub
parent a5666b3120
commit 26eb2000bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -450,7 +450,7 @@ class MilvusStore(VectorStoreBase):
metadata=doc.metadata,
content=doc.content,
score=score,
chunk_id=id,
chunk_id=str(id),
)
for doc, score, id in docs_and_scores
if score >= score_threshold