Skip to content

Commit

Permalink
Add new_embedders fixture
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Sanders <[email protected]>
  • Loading branch information
CaroFG and sanders41 authored Feb 7, 2024
1 parent 68c4004 commit 318eff1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/settings/test_settings_embedders.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

from meilisearch.models.index import Embedders

NEW_EMBEDDERS = {
"default": {
"source": "userProvided",
"dimensions": 1,
@pytest.fixture
def new_embedders():
return {
"default": {
"source": "userProvided",
"dimensions": 1,
}
}
}


@pytest.mark.usefixtures("enable_vector_search")
Expand Down

0 comments on commit 318eff1

Please sign in to comment.