design: Add 0004-multimodal-i2t proposal#674
Open
sangminwoo wants to merge 5 commits intostrands-agents:mainfrom
Open
design: Add 0004-multimodal-i2t proposal#674sangminwoo wants to merge 5 commits intostrands-agents:mainfrom
sangminwoo wants to merge 5 commits intostrands-agents:mainfrom
Conversation
afarntrog
reviewed
Mar 19, 2026
afarntrog
previously approved these changes
Apr 1, 2026
Author
|
Hi @afarntrog, this PR is ready for the final review. I've updated the design doc to reflect your comments: 1/ added support for remote URIs/URLs and 2/ broadened the multimodality class to accommodate future media types. Would appreciate an approval when you get a chance so we can get this merged. |
7 tasks
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.
Description
Add design doc for multimodal image-to-text evaluation support in strands-evals SDK.
Introduces
MultimodalOutputEvaluatorextendingOutputEvaluatorto enable MLLM-as-a-Judge evaluation for multimodal tasks, starting with image/document-to-text. The evaluator constructs multimodal prompts using strands SDK ContentBlock format and supports both reference-free and reference-based evaluation with automatic rubric selection across four dimensions: Overall Quality (P0), Correctness (P0), Faithfulness (P1), and Instruction Following (P1).Key design decisions:
OutputEvaluatorwith sameAgent.__call__invocation pattern (accepts bothstrandlist[ContentBlock])_select_rubric()whenexpected_outputis providedInputT=MultimodalInput(TypedDict) carries{"media": ImageData/AnyMediaData, "instruction": str}(modality-generic naming for future extensibility)ImageDatasupports file paths, base64, data URLs, HTTP URLs (auto-fetched viaurllib.request), S3 URIs (auto-fetched viaboto3), bytes, and PIL ImagesRelated Issues
Type of Change
Checklist
npm run devBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.