Skip to content

Commit

Permalink
chore: fix redbox tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nboyse committed Feb 17, 2025
1 parent fff44ec commit 0ddd962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbox-core/tests/test_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def test_ingest_from_loader(
metadata=metadata,
)

mapping = {"properties": {"embedding": {"type": "dense_vector", "dims": 1024}}}
mapping = {"properties": {"embedding": {"type": "knn_vector", "dimension": 1024}}}

es_client.indices.create(index="my_index", body={"mappings": mapping})

Expand Down

0 comments on commit 0ddd962

Please sign in to comment.