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

Feature/pods 1356 rewrite embeddings generation to allow multiple models #1

Merged
merged 4 commits into from
Jun 19, 2024

Conversation

kdutia
Copy link
Member

@kdutia kdutia commented Jun 18, 2024

In this PR

Enables multiple embeddings models to be specified in config. This change will be followed by a PR in rag-search-indexer to use these multiple embeddings in one Vespa index.

Also updates the sentence-transformers dependency.

How this is tested

Tests are updated. Ones that use s3 are skipped for now as we'll only be running this locally for RAG.

Copy link

linear bot commented Jun 18, 2024

@kdutia kdutia changed the title Feature/pods 1356 rewrite indexer to use vespa Feature/pods 1356 rewrite embeddings generation to allow multiple models Jun 18, 2024
@kdutia kdutia requested a review from mpjuhasz June 18, 2024 17:51
@kdutia kdutia marked this pull request as ready for review June 18, 2024 17:53
Copy link

@mpjuhasz mpjuhasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good -- a few minor comments, mostly for other PRs.

src/config.py Show resolved Hide resolved
cli/text2embeddings.py Show resolved Hide resolved
cli/test/test_text2embeddings.py Show resolved Hide resolved
@kdutia kdutia merged commit 19bdf68 into main Jun 19, 2024
2 checks passed
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