Skip to content
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

Merged
merged 2 commits into from
Jan 15, 2024
Merged

Conversation

brunoocasali
Copy link
Member

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.

return $this->http->get(self::PATH.'/'.$this->uid.'/settings/embedders');
}

public function updateEmbedders(array $embedders): array
Copy link
Collaborator

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

Copy link
Member

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?

Copy link
Collaborator

@norkunas norkunas Jan 15, 2024

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 :)

Copy link
Collaborator

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?

@curquiza curquiza merged commit 264620e into bump-meilisearch-v1.6.0 Jan 15, 2024
10 checks passed
@curquiza curquiza deleted the hybrid-search branch January 15, 2024 12:25
@curquiza curquiza added the enhancement New feature or request label Jan 15, 2024
meili-bors bot added a commit that referenced this pull request Jan 15, 2024
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants