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

[v1.11.0] Apply changes (breaking or not) about AI-powered search #1714

Open
6 tasks
curquiza opened this issue Sep 23, 2024 · 0 comments
Open
6 tasks

[v1.11.0] Apply changes (breaking or not) about AI-powered search #1714

curquiza opened this issue Sep 23, 2024 · 0 comments
Labels
good first issue Good for newcomers Meilisearch bump Changes related to the Meilisearch bump version

Comments

@curquiza
Copy link
Member

Related to meilisearch/integration-guides#303

Explanation of the feature

Usage:

Breaking:

  • When using the semantic or the hybrid search, hybrid.embedder is now a mandatory parameter in GET and POST /indexes/{:indexUid}/search
  • As a consequence, it is now mandatory to pass hybrid even for full-vector search (with only vector and not q)
  • embedder is now a mandatory parameter in GET and POST /indexes/{:indexUid}/similar
  • Ignore non-zero semanticRatio when vector is passed but not q: a semantic search will be performed.
  • The default model for OpenAI is now text-embedding-3-small instead of text-embedding-ada-002.

Changes:

  • A new sub setting in embedders setting to enable binary quantization and speed up indexing speed.
  • Limit the maximum length of a rendered document template: when the source of an embedder is set to huggingFace, openAi, rest or ollama, then documentTemplateMaxBytes is now available as an optional parameter. This parameter describes the number of bytes in which the rendered document template text should fit when trying to embed a document. Longer texts are truncated to fit.

TODO

  • Breaking changes section (see above)
    • Ensure the breaking changes are applied in the code base
    • Fix tests failing due to the of breaking changes
  • Ensure we can enable binary quantization: add the binaryQuantized to in the embedders settings (refer to usage page)
  • Ensure the documentTemplateMaxBytes parameter can be used with huggingFace, openAi, rest or ollama models
  • Add tests for the new added features

⚠️ Make PRs pointing to bump-meilisearch-v1.11.0 and NOT main. Please do 1 PR for all of these changes, and not several.

@curquiza curquiza added good first issue Good for newcomers Meilisearch bump Changes related to the Meilisearch bump version labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Meilisearch bump Changes related to the Meilisearch bump version
Projects
None yet
Development

No branches or pull requests

1 participant