adjusted threshold

Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
Francisco Javier Arceo 2025-06-30 14:38:43 -04:00
parent bc902afd78
commit cf5998fc47

View file

@ -163,12 +163,11 @@ def test_insert_chunks_with_precomputed_embeddings(client_with_empty_registry, e
# expect this test to fail # expect this test to fail
@pytest.mark.xfail(reason="This test is expected to fail.")
def test_query_returns_valid_object_when_identical_to_embedding_in_vdb( def test_query_returns_valid_object_when_identical_to_embedding_in_vdb(
client_with_empty_registry, embedding_model_id, embedding_dimension client_with_empty_registry, embedding_model_id, embedding_dimension
): ):
vector_io_provider_params_dict = { vector_io_provider_params_dict = {
"inline::milvus": {"score_threshold": 3.0}, "inline::milvus": {"score_threshold": 0.0},
} }
vector_db_id = "test_precomputed_embeddings_db" vector_db_id = "test_precomputed_embeddings_db"
client_with_empty_registry.vector_dbs.register( client_with_empty_registry.vector_dbs.register(