MeiliSearch/crates
meili-bors[bot] c63c25a9a2
Merge #5355
5355: Support fetching the pooling method from the model configuration r=Kerollmops a=dureuill

# Pull Request

## Related issue
Fixes #5354 

## What does this PR do?
- Fetches the pooling configuration from the model repository
- Use a pooling method that depends on the pooling configuration of that model.
- Allow overriding the pooling method with a new huggingFace embedder parameter `pooling`
  - for backward-compatibility with Meilisearch v1.13
  - for compatibility with embedders that exhibit the same behavior as Meilisearch v1.13
- Handle the default value of that new parameter
   - for compatibility, when importing a db/a dump, it should be set to `forceMean`
   - when (re)set from the settings for an embedder, it should be set to `useModel`


Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2025-02-27 14:55:13 +00:00
..
benchmarks Fix functions calls to use the new mixed system 2025-02-03 10:34:06 +01:00
build-info Upgrade compatible dependencies 2025-01-08 13:52:14 +01:00
dump Merge #5355 2025-02-27 14:55:13 +00:00
file-store Upgrade incompatible dependencies 2025-01-08 15:58:03 +01:00
filter-parser Fix insta to 1.39 2025-01-08 15:18:08 +01:00
flatten-serde-json Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
fuzzers Fix the tests to use the new replace/update documents 2025-02-03 10:34:07 +01:00
index-scheduler Merge #5355 2025-02-27 14:55:13 +00:00
json-depth-checker Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00
meili-snap Upgrade compatible dependencies 2025-01-08 13:52:14 +01:00
meilisearch Merge #5355 2025-02-27 14:55:13 +00:00
meilisearch-auth Upgrade incompatible dependencies 2025-01-08 15:58:03 +01:00
meilisearch-types Rename callTrace into progressTrace 2025-02-25 10:09:03 +01:00
meilitool Remove unsafes 2025-02-12 10:46:45 +01:00
milli Merge #5355 2025-02-27 14:55:13 +00:00
permissive-json-pointer Add indices field to _matchesPosition to specify where in an array a match comes from (#5005) 2024-11-20 01:00:43 +01:00
tracing-trace Upgrade compatible dependencies 2025-01-08 13:52:14 +01:00
xtask Put the Ollama tests under a feature 2025-02-06 17:27:47 +01:00