Skip to content

Commit

Permalink
Fix elastic
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Jun 3, 2024
1 parent c0ce4d2 commit 558a9b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion integrations/elasticsearch/tests/test_bm25_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def test_run():
fuzziness="AUTO",
top_k=10,
scale_score=False,
filter_policy="replace",
)
assert len(res) == 1
assert len(res["documents"]) == 1
Expand Down
2 changes: 2 additions & 0 deletions integrations/elasticsearch/tests/test_embedding_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def test_to_dict(_mock_elasticsearch_client):
},
"filters": {},
"top_k": 10,
"filter_policy": "replace",
"num_candidates": None,
},
}
Expand All @@ -54,6 +55,7 @@ def test_from_dict(_mock_elasticsearch_client):
},
"filters": {},
"top_k": 10,
"filter_policy": "replace",
"num_candidates": None,
},
}
Expand Down

0 comments on commit 558a9b9

Please sign in to comment.