Skip to content

Commit

Permalink
added filter to qdrant_index
Browse files Browse the repository at this point in the history
  • Loading branch information
zahid-syed committed Mar 20, 2024
1 parent 7dd6eab commit e63a3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion semantic_router/index/qdrant.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def query(
query_vector=vector,
limit=top_k,
with_payload=True,
filter=filter,
query_filter=filter,
)
scores = [result.score for result in results]
route_names = [result.payload[SR_ROUTE_PAYLOAD_KEY] for result in results]
Expand Down

0 comments on commit e63a3d2

Please sign in to comment.