mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-08-29 10:56:40 +00:00
Use random_sample
instead of ndarray
for random array (#3083)
This commit is contained in:
parent
149224fe3a
commit
b03de53716
@ -24,7 +24,7 @@ class TestOpenSearchDocumentStore:
|
|||||||
|
|
||||||
# Constants
|
# Constants
|
||||||
|
|
||||||
query_emb = np.ndarray(shape=(2, 2), dtype=float)
|
query_emb = np.random.random_sample(size=(2, 2))
|
||||||
index_name = "myindex"
|
index_name = "myindex"
|
||||||
|
|
||||||
# Fixtures
|
# Fixtures
|
||||||
|
Loading…
x
Reference in New Issue
Block a user