From e0972d853db01f915902f39664593a8b078105f6 Mon Sep 17 00:00:00 2001 From: James Briggs <35938317+jamescalam@users.noreply.github.com> Date: Sat, 11 Jan 2025 07:26:39 +0000 Subject: [PATCH] fix: threshold --- tests/unit/test_router.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/test_router.py b/tests/unit/test_router.py index 21880bad..4c4b4f45 100644 --- a/tests/unit/test_router.py +++ b/tests/unit/test_router.py @@ -865,6 +865,7 @@ def test_query_with_vector(self, routes, index_cls, encoder_cls, router_cls): auto_sync="local", aggregation="max", ) + route_layer.score_threshold = 0.1 # create vectors vector = encoder(["hello"]) if router_cls is HybridRouter: