-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[ML] VoyageAI Integration - Clean Version #137519
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
fzowl
wants to merge
30
commits into
elastic:main
Choose a base branch
from
voyage-ai:voyageai-integration-v2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- embeddings works, tested - initial rerank code What's missing: - unit and integration tests - rerank request/response mapping and verification
- embeddings works, tested - rerank works, tested (https://www.elastic.co/search-labs/blog/elasticsearch-cohere-rerank) What's missing: - unit and integration tests
- embeddings works, tested - rerank works, tested (https://www.elastic.co/search-labs/blog/elasticsearch-cohere-rerank) What's missing: - unit and integration tests
Moving dimensions to ServiceSettings
c480404 to
3c2400a
Compare
- Add text, multimodal, and contextual embeddings support - Add rerank functionality - All code in services/voyageai directory - Includes comprehensive test coverage - Removed 3 files from external/voyageai directory - Removed 3 files from external/http/sender directory - All VoyageAI code now in services/voyageai directory only
3c2400a to
c2e11ea
Compare
- Add text, multimodal, and contextual embeddings support - Add rerank functionality - All code in services/voyageai directory - Includes comprehensive test coverage - Removed test-voyageai-e2e.sh script - All VoyageAI code now properly organized in services/voyageai only
370aba7 to
72f6dd3
Compare
- Add text, multimodal, and contextual embeddings support - Add rerank functionality - All code in services/voyageai directory - Includes comprehensive test coverage - Removed test-voyageai-e2e.sh script - Deleted ALL voyageai files from external directory (22 files) - All VoyageAI code now properly organized in services/voyageai only
* Fix irregular spaces * Update analysis-keyword-repeat-tokenfilter.md * Update search-suggesters.md * Update search-profile.md
- Add multimodal embeddings support with VoyageAIMultimodalEmbeddings* classes - Add contextual embeddings support with VoyageAIContextualEmbeddings* classes - Refactor text embeddings: move to embeddings/text subdirectory for better organization - Remove old embedding classes from embeddings root directory - Update action creators and visitors to handle new embedding types - Update imports in InferenceNamedWriteablesProvider - Add corresponding request/response entities for multimodal and contextual embeddings - Update unit tests for all new and modified components
- Move text embeddings test files to text/ subdirectory - Fix package declarations in test files - Update VoyageAIEmbeddingsResponseEntityTests to use correct API methods - Change .service() to .getService() and add .getConfigurations() - NOTE: Additional test import fixes needed for full compilation
- Update all VoyageAI test imports to use embeddings/text package - Fix VoyageAIMultimodalEmbeddingsTaskSettings constructor calls (add truncation param) - Fix VoyageAIMultimodalEmbeddingsServiceSettings constructor calls (add embeddingType param) - Update test files: VoyageAIServiceTests, VoyageAIActionCreatorTests, VoyageAIEmbeddingsActionTests - Update test files: VoyageAIEmbeddingsRequestTests, VoyageAIRequestTests - Update test files: VoyageAIMultimodalEmbeddingsTaskSettingsTests, VoyageAIMultimodalEmbeddingsModelTests - Update test files: VoyageAIMultimodalEmbeddingsRequestTests Remaining: 3 compilation errors to fix
|
@davidkyle Can you please take a look? |
|
Pinging @elastic/ml-core (Team:ML) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>enhancement
external-contributor
Pull request authored by a developer outside the Elasticsearch team
:ml
Machine learning
Team:ML
Meta label for the ML team
v9.3.0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR contains the cleaned up VoyageAI integration with the following improvements:
Testing: