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 support for Text Embeddings Inference (TEI). #82

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

Conversation

jpuerto
Copy link

@jpuerto jpuerto commented Mar 17, 2024

  • Update dependencies as previous version used is too old and fails with latest TEI docker images.
  • Allows to use TEI by configuring an HTTP request value in model.

I had to limit the chunk-size to 510, not sure if that affects the quality of the embeddings. There should be a way to increase this size in the TEI service because ATM it is using 512 as limit and I did not found how to change it.

src/initialize.py Outdated Show resolved Hide resolved
Co-authored-by: Darío López Padial <[email protected]>
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.

2 participants