Skip to content

Commit

Permalink
fix: Fix parameter type mismatch issue when using Milvus (#1449)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsRuner authored Apr 26, 2024
1 parent a5666b3 commit 26eb200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbgpt/storage/vector_store/milvus_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def similar_search_with_scores(
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
Expand Down

0 comments on commit 26eb200

Please sign in to comment.