Support Amazon Nova Multimodal Embeddings in BedrockVectorizer
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
調査の方向性
Start by locating BedrockVectorizer and its tests, then read the Nova embeddings schema linked in the issue for the exact text and image field names. Implement model ID based routing while preserving Titan request bodies and responses, and cover Nova parsing, option overrides, embed_many, and Titan regressions with mocked client tests. Done means the requested API test and updates to the API reference and vectorizers guide are also in place.
索引モデルが issue の本文から書いたものです。
説明
Summary
Let BedrockVectorizer call Amazon Nova Multimodal Embeddings for text and image input. Nova uses a different request and response schema from Titan, which is all the vectorizer speaks today.
Nova takes exactly one modality per request, so it cannot support MultimodalInput (#885). The default capability check rejects it.
Current state
BedrockVectorizer._serialize_request_bodybuilds Titan's body ({"inputText": ...}or{"inputImage": ...}) and readsresponse_body["embedding"].- The "Attempted to embed image with text model" error depends on the
inputImagekey being in the body. - The vectorizer is sync-only, and the default model is
amazon.titan-embed-text-v2:0.
Provider facts (AWS docs, 2026-12-02)
- Model ID:
amazon.nova-2-multimodal-embeddings-v1:0. - Request:
schemaVersion: "nova-multimodal-embed-v1"andtaskType: "SINGLE_EMBEDDING", plussingleEmbeddingParams. That object holdsembeddingPurpose(for exampleGENERIC_INDEXorGENERIC_RETRIEVAL),embeddingDimension, and exactly one oftext,image,videooraudio. - Response: an
embeddingsarray of{embeddingType, embedding}objects. A text or image request returns one entry. - Dimensions: 256, 384, 1024 or 3072, with 3072 the default.
- Limits:
- inline payload 25 MB after base64 encoding;
- text 8,192 characters inline;
- images PNG, JPEG, WEBP or GIF.
- Input longer than the sync limits needs the async API and S3.
- The field names inside the
textandimageobjects are not reproduced here. Take them from the schema page.
Design
- Request routing: choose the request schema from the model ID. Models starting with
amazon.novause the Nova body and response parser, and everything else keeps the Titan path unchanged. Split_serialize_request_bodyand response parsing into one implementation per schema. - Accepted items on Nova:
str,PIL.Image.ImageandPathto an image, as on Titan. - Embedding purpose: add an
embedding_purposeconstructor argument, defaulting toGENERIC_INDEX, that can be overridden per call so queries can useGENERIC_RETRIEVAL. - Dimensions: add an
embedding_dimensionconstructor argument. It setsdimsand is fixed for the vectorizer's lifetime. - Errors: the image-with-text-model error should work for both schemas. Nova inputs over the sync limits surface the provider error.
Out of scope
- Video and audio input.
- The async and segmented embedding APIs, and S3 input.
- An async client for
BedrockVectorizer. MultimodalInput(Nova does not support it).
Definition of done
- Text and image embedding work on
amazon.nova-2-multimodal-embeddings-v1:0, as single items and insideembed_many. - Titan request bodies and results are byte-for-byte unchanged.
- Unit tests: the Nova request body and response parsing against a mocked client, Titan regression tests,
embedding_purposeoverrides, andembedding_dimensionsettingdims. - An integration test marked as an API test.
- Docs: the API reference and the vectorizers guide.
References
- 主要言語
- Python
- スター
- 435
- フォーク
- 123
- 平均マージ
- 8日 1時間
- マージ済み PR(30日)
- 39
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
redis/redis-vl-python のほかの issue
-
SearchIndex.drop_keys does not validate cluster hash-tag co-location (inconsistent with drop_documents)対応中かも @Hashim1999164 が 47 日前に担当しました。 オープンbug good first issue index
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
redis/redis-vl-python#601 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
Add image embedding to the Cohere vectorizer (Embed v4 and v5)対応中かも @rahulsjha が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
redis/redis-vl-python#888 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
redis/redis-vl-python#887 ·
メンテナーはふだん 4 日以内に返信
-
GoogleGenAIVectorizer.embed_many fails on gemini-embedding-2 for batches of more than one input対応中かも @pcbeingused33 が 2 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
redis/redis-vl-python#886 ·
メンテナーはふだん 4 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
redis/redis-vl-python#885 ·
メンテナーはふだん 4 日以内に返信
redis/redis-vl-python の issue をすべて見る
似ている issue
-
[Resource]: Spaicelyオープンresource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
hesreallyhim/awesome-claude-code#3875 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
bvis/aegis-hass#725 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.x対応中かも @NimaVaziri が今日担当しました。 オープンPytorch
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NVIDIA/TensorRT-LLM#23406 ·
メンテナーはふだん 1 日以内に返信