From e63a3d255496bfd8fe3e1ef1a3c8c314677b6613 Mon Sep 17 00:00:00 2001 From: zahid-syed Date: Wed, 20 Mar 2024 17:39:52 -0400 Subject: [PATCH] added filter to qdrant_index --- semantic_router/index/qdrant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semantic_router/index/qdrant.py b/semantic_router/index/qdrant.py index 10c97019..afaaa04c 100644 --- a/semantic_router/index/qdrant.py +++ b/semantic_router/index/qdrant.py @@ -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]