From c38ab54048bd15fa977a99c0c6f0e21832f1a3a8 Mon Sep 17 00:00:00 2001
From: zahid-syed <zahid.s2618@gmail.com>
Date: Thu, 21 Mar 2024 16:23:24 -0400
Subject: [PATCH] attempt to fix pytest type errors for qdrant index

---
 semantic_router/index/qdrant.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/semantic_router/index/qdrant.py b/semantic_router/index/qdrant.py
index b423fb1e..7e4acb2c 100644
--- a/semantic_router/index/qdrant.py
+++ b/semantic_router/index/qdrant.py
@@ -234,9 +234,7 @@ class QdrantIndex(BaseIndex):
                 must=[
                     models.FieldCondition(
                         key=SR_ROUTE_PAYLOAD_KEY,
-                        match=models.MatchKeyword(
-                            keyword=route_filter,
-                        ),
+                        match=models.MatchValue(value=route_filter),
                     )
                 ]
             )
-- 
GitLab