Skip to content

Commit

Permalink
Merge #928 #932
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
4 people authored Mar 11, 2024
3 parents 12a7e7f + bd4513d + 0bc2cb0 commit a6cd59f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions meilisearch/models/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class TypoTolerance(CamelBase):
class OpenAiEmbedder(CamelBase):
source: str = "openAi"
model: Optional[str] = None # Defaults to text-embedding-ada-002
dimensions: Optional[int] = None # Uses the model default
api_key: Optional[str] = None # Can be provided through a CLI option or environment variable
document_template: Optional[str] = None

Expand Down
2 changes: 1 addition & 1 deletion meilisearch/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

__version__ = "0.30.0"
__version__ = "0.31.0"


def qualified_version() -> str:
Expand Down

0 comments on commit a6cd59f

Please sign in to comment.