Skip to content

Commit a6cd59f

Browse files
meili-bors[bot]meili-botsanders41curquiza
authored
Merge #928 #932
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._ 932: Update version for the next release (v0.31.0) r=curquiza a=meili-bot _This PR is auto-generated._ The automated script updates the version of meilisearch-python to a new version: "v0.31.0" --- Part of the work of #928 --- This version introduces features released on Meilisearch v1.7.0 🎉 Check out the changelog of [Meilisearch v1.7.0](https://github.com/meilisearch/meilisearch/releases/tag/v1.7.0) for more information on the changes. ## ⚠️ Breaking changes * Related to the experimental `vectorStore` feature: `dimensions` field is now required when using OpenAI models. ## 🐛 Bug Fixes * Make embedders deseralize to correct type (#927) sanders41 ## ⚙️ Maintenance/misc * Update author (#931) `@curquiza` Co-authored-by: meili-bot <[email protected]> Co-authored-by: Paul Sanders <[email protected]> Co-authored-by: Clémentine U. - curqui <[email protected]>
3 parents 12a7e7f + bd4513d + 0bc2cb0 commit a6cd59f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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

meilisearch/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
__version__ = "0.30.0"
3+
__version__ = "0.31.0"
44

55

66
def qualified_version() -> str:

0 commit comments

Comments
 (0)