generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 62
Labels
area:protocolsItems associated with agent protocols such as the streamed event payloads.Items associated with agent protocols such as the streamed event payloads.milestone:v1Item associated with the release of Strands TypeScript SDK V1.Item associated with the release of Strands TypeScript SDK V1.
Description
Summary
Add support for missing content block input types (e.g., ImageContent) to enable multimodal agent interactions.
Usage
⚠️ Agent-generated example - This is a preliminary API sketch and has not been finalized.
import { Agent, ImageContent, TextContent } from '@strands-agents/sdk'
const agent = new Agent({ model })
const result = await agent.invoke([
new TextContent('What is in this image?'),
new ImageContent({
source: {
type: 'base64',
mediaType: 'image/png',
data: base64ImageData,
},
}),
])Documentation
https://strandsagents.com/latest/documentation/docs/user-guide/concepts/agents/prompts/
Reference
https://github.com/strands-agents/sdk-python/blob/main/src/strands/types/content.py
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:protocolsItems associated with agent protocols such as the streamed event payloads.Items associated with agent protocols such as the streamed event payloads.milestone:v1Item associated with the release of Strands TypeScript SDK V1.Item associated with the release of Strands TypeScript SDK V1.
Type
Projects
Status
Design