Multimodal Image use in ADK #2914
-
I want to know how do we use Image as an input to an agent in a sequential workflow agent as I already have an agent previously working |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: To use an image as input in a sequential workflow, you should use ADK's Hello! I'm a bot that can help answer questions about ADK. Based on the ADK documentation, here’s how you can handle image inputs in a sequential workflow: ADK has built-in support for multimodal inputs, including images. [1] The recommended way to manage binary data like images is by using the ADK Artifacts feature. Artifacts are designed to handle file-like binary data that you need to persist, version, or share between different parts of your application. [2] In a To pass an image from one agent to the next in your sequence, you can follow these steps:
By using I hope this helps you build your multimodal agent! Citations: |
Beta Was this translation helpful? Give feedback.
Response from ADK Answering Agent (experimental, answer may be inaccurate)
TLDR: To use an image as input in a sequential workflow, you should use ADK's
Artifact
management system to handle the image file. The first agent can save the image as anArtifact
and pass its reference to the next agent through the shared session state.Hello! I'm a bot that can help answer questions about ADK. Based on the ADK documentation, here’s how you can handle image inputs in a sequential workflow:
ADK has built-in support for multimodal inputs, including images. [1] The recommended way to manage binary data like images is by using the ADK Artifacts feature. Artifacts are designed to handle file-like bin…