-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hybrid search for v1.6.0 #608
Conversation
return $this->http->get(self::PATH.'/'.$this->uid.'/settings/embedders'); | ||
} | ||
|
||
public function updateEmbedders(array $embedders): array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$embedders
structure should be defined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@norkunas we don't have the time to do it for this PR, can we open a PR for the community to update it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, but I can't find anywhere docs about this :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@curquiza from https://www.meilisearch.com/docs/learn/experimental/vector_search and https://github.com/meilisearch/meilisearch/releases/tag/v1.6.0 I understand that structure should be like: array<non-empty-string, array{source: non-empty-string, apiKey?: non-empty-string, model?: non-empty-string, documentTemplate?: non-empty-string, dimensions: positive-int}>
can you confirm?
609: Update version for the next release (v1.6.0) r=brunoocasali a=meili-bot _This PR is auto-generated._ The automated script updates the version of meilisearch-php to a new version: "v1.6.0" **CHANGELOG:** --- ## 🚀 Enhancements * Add support for the new setting: `proximityPrecision` (#606) brunoocasali ```php $client->index('books')->getProximityPrecision(); $client->index('books')->updateProximityPrecision('byAttribute'); $client->index('books')->resetProximityPrecision(); ``` ## 🧪 Experimental enhancement - Hybrid and vector search⚠️ This is about an experimental feature of Meilisearch. Activate the [`vectorStore` experimental feature to use it](https://www.meilisearch.com/docs/reference/api/experimental_features#configure-experimental-features) * Add support for the `embedders` settings & Add support for the `hybrid` parameter during search (#608) brunoocasali ```js $client->index('books')->getEmbedders(); $client->index('books')->updateEmbedders(['default' => ['source' => 'userProvided', 'dimensions' => 1]]); $client->index('books')->resetEmbedders(); ``` ## ⚙️ Maintenance/misc * Declare ``@throws`` in HandlesTasks delegate (#599) `@norkunas` Thanks again to `@norkunas,` `@brunoocasali!` 🎉 Co-authored-by: meili-bot <74670311+meili-bot@users.noreply.github.com>
Adds hybrid search to PHP SDK.
There is a commented test that should be reverted as soon as the related issue is fixed on the engine.