Skip to content

Commit

Permalink
fix: threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Jan 11, 2025
1 parent 6a24533 commit e0972d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/test_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e0972d8

Please sign in to comment.