diff --git a/test/document_stores/test_opensearch.py b/test/document_stores/test_opensearch.py index 84051256f..319396548 100644 --- a/test/document_stores/test_opensearch.py +++ b/test/document_stores/test_opensearch.py @@ -24,7 +24,7 @@ class TestOpenSearchDocumentStore: # Constants - query_emb = np.ndarray(shape=(2, 2), dtype=float) + query_emb = np.random.random_sample(size=(2, 2)) index_name = "myindex" # Fixtures