From 14afd60c730180def2dded41d8030c4db477cd90 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Wed, 31 Jan 2024 14:54:13 +0100 Subject: [PATCH] fix tests --- integrations/pgvector/tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/pgvector/tests/conftest.py b/integrations/pgvector/tests/conftest.py index 34260f409..743e8de14 100644 --- a/integrations/pgvector/tests/conftest.py +++ b/integrations/pgvector/tests/conftest.py @@ -7,7 +7,7 @@ def document_store(request): connection_string = "postgresql://postgres:postgres@localhost:5432/postgres" table_name = f"haystack_{request.node.name}" embedding_dimension = 768 - vector_function = "cosine_distance" + vector_function = "cosine_similarity" recreate_table = True search_strategy = "exact_nearest_neighbor"