Skip to content

Add composite embedders and pooling for hf models #1104

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nnethercott
Copy link

Pull Request

Related issue

Fixes #1099

What does this PR do?

  • Adds a new embedder of type CompositeEmbedder, adds pooling: PoolingOpt to HuggingFaceEmbedders
  • Adds a new pytest fixture enabling the experimental feature "compositeEmbedders" and a basic test to make the client can configure a composite embedder through a POST to /indexes/{index_uid}/settings/embedders

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

@nnethercott nnethercott force-pushed the add-composite-embeds-add-pool-hf branch from 9416155 to f75e2dc Compare May 2, 2025 15:01
@nnethercott nnethercott changed the title Add composite embedders add pooling for hf models Add composite embedders and pooling for hf models May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v1.14] Add composite embedders and pooling for huggingface embedders (experimental)
1 participant