mirror of
https://github.com/langgenius/dify.git
synced 2026-09-08 10:56:13 +08:00
fix: avoid returning unused vectors in TiDB on Qdrant search (#39744)
(cherry picked from commit 0d6b2fc40c)
This commit is contained in:
parent
03ffee0cb4
commit
9860f802ab
@ -356,7 +356,7 @@ class TidbOnQdrantVector(BaseVector):
|
||||
query_filter=filter,
|
||||
limit=kwargs.get("top_k", 4),
|
||||
with_payload=True,
|
||||
with_vectors=True,
|
||||
with_vectors=False,
|
||||
score_threshold=kwargs.get("score_threshold", 0.0),
|
||||
)
|
||||
docs = []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user