[Feature][Transform] Support single/batch mode vectorization using Amazon Titan & cohere embedding model#9120
Merged
Hisoka-X merged 43 commits intoapache:devfrom Jun 3, 2025
SEZ9:dev
Merged
[Feature][Transform] Support single/batch mode vectorization using Amazon Titan & cohere embedding model#9120Hisoka-X merged 43 commits intoapache:devfrom SEZ9:dev
Hisoka-X merged 43 commits intoapache:devfrom
SEZ9:dev
Conversation
init bedrock model files
init parameters and configuration
test complete
Collaborator
Author
|
updated doc both |
Contributor
|
Whether Amazon e2e tests are missing |
Contributor
|
Please update |
Collaborator
Author
|
updated EmbeddingTransformFactory ,add Amazon model config |
Collaborator
Author
|
updated Amazon e2e tests in |
corgy-w
reviewed
Apr 8, 2025
Comment on lines
+51
to
+58
| .conditional( | ||
| EmbeddingTransformConfig.MODEL_PROVIDER, | ||
| ModelProvider.AMAZON, | ||
| EmbeddingTransformConfig.API_KEY, | ||
| EmbeddingTransformConfig.SECRET_KEY, | ||
| EmbeddingTransformConfig.AWS_REGION, | ||
| EmbeddingTransformConfig.MODEL, | ||
| EmbeddingTransformConfig.DIMENSION) |
Collaborator
Author
There was a problem hiding this comment.
AWS region is a required parameter when calling the Amazon model.
Collaborator
Author
Member
|
Waiting for ci passed |
Collaborator
Author
Hisoka-X
approved these changes
Jun 3, 2025
dybyte
pushed a commit
to dybyte/seatunnel
that referenced
this pull request
Jul 23, 2025
…azon Titan & cohere embedding model (apache#9120)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Purpose of this pull request
Does this PR introduce any user-facing change?
Description
Add support for Amazon Titan model in the embedding model_provider configuration;
Implement batch inference support in the embedding process, and send data to the model API in batches at one time;
Support successful detection of batch sending and perform fault tolerance.
Usage Scenario
In large-scale text vectorization and storage in vector databases, users need to vectorize text data efficiently and at low cost and store it in vector databases. For example:
User's reviews analysis scenario, it is necessary to transfer millions or tens of millions of rows of data at one time for vectorization.
Image search scenario, users often have hundreds of thousands or millions of images vectorized into the database for subsequent vector approximation retrieval
How was this patch tested?
Check list
New License Guide
release-note.