Skip to content

Commit 53f062a

Browse files
meili-bors[bot]meili-botsanders41curquiza
authored
Merge #928
928: Changes related to the next Meilisearch release (v1.7.0) r=curquiza a=meili-bot Related to this issue: meilisearch/integration-guides#296 This PR: - gathers the changes related to the next Meilisearch release (v1.7.0) so that this package is ready when the official release is out. - should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases). - might eventually contain test failures until the Meilisearch v1.7.0 is out. ⚠️ This PR should NOT be merged until the next release of Meilisearch (v1.7.0) is out. _This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._ Co-authored-by: meili-bot <74670311+meili-bot@users.noreply.github.com> Co-authored-by: Paul Sanders <psanders1@gmail.com> Co-authored-by: Clémentine U. - curqui <clementine@meilisearch.com>
2 parents 12a7e7f + 0976c8a commit 53f062a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

meilisearch/models/index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class TypoTolerance(CamelBase):
5151
class OpenAiEmbedder(CamelBase):
5252
source: str = "openAi"
5353
model: Optional[str] = None # Defaults to text-embedding-ada-002
54+
dimensions: Optional[int] = None # Uses the model default
5455
api_key: Optional[str] = None # Can be provided through a CLI option or environment variable
5556
document_template: Optional[str] = None
5657

0 commit comments

Comments
 (0)