MeiliSearch/meilisearch/src
meili-bors[bot] 34dfea72cc
Merge #4509
4509: Rest embedder r=ManyTheFish a=dureuill

Fixes #4531 

See [Usage page](https://meilisearch.notion.site/v1-8-AI-search-API-usage-135552d6e85a4a52bc7109be82aeca42?pvs=25#e6f58c3b742c4effb4ddc625ce12ee16)

### Implementation changes

- Remove tokio, futures, reqwests
- Add a new `milli::vector::rest::Embedder` embedder
- Update OpenAI and Ollama embedders to use the REST embedder internally
- Make Embedder::embed a sync method
- Add the new embedder source as described in the usage


Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2024-03-27 09:27:46 +00:00
..
analytics implements a first version of the cutoff without settings 2024-03-19 10:28:21 +01:00
extractors add an experimental cli parameter to allow specifying your task id 2024-02-26 13:58:03 +01:00
routes Check validity of the URL setting 2024-03-25 11:23:16 +01:00
error.rs Change error messages and fix tests 2024-02-08 15:04:06 +01:00
lib.rs Factor vergen stuff to a build-info crate 2024-03-05 10:11:43 +01:00
main.rs Merge branch 'main' into tmp-release-v1.7.0 2024-03-11 15:39:51 +01:00
metrics.rs Merge #4530 2024-03-25 12:23:31 +00:00
middleware.rs feat: add status code label to prometheus http request counter 2024-03-25 10:49:40 +05:30
option.rs Merge branch 'main' into tmp-release-v1.7.0 2024-03-11 15:39:51 +01:00
search.rs fix the facet search 2024-03-19 15:07:06 +01:00