Replies: 9 comments
-
one use case using markdown image tag with link to the image |
Beta Was this translation helpful? Give feedback.
-
You are asking about generated images from code executors. Could you check the artifact tab and see if your image is there? For now the |
Beta Was this translation helpful? Give feedback.
-
Can you share the code for generating images? @Tyrooon I am not sure how to pass the image to the agent, to be able to show it on UI. |
Beta Was this translation helpful? Give feedback.
-
If you want to upload an image, just click on the attachment button in the input box |
Beta Was this translation helpful? Give feedback.
-
it would be nice to have this feature in place. Even if you upload an image, and then you ask the agent to show it it would say something like:
|
Beta Was this translation helpful? Give feedback.
-
I added |
Beta Was this translation helpful? Give feedback.
-
I have another problem. When I use the attachment button to upload an image, ADK will pass the image to LLM directly. How can I just pass the attachment to my dictionary? |
Beta Was this translation helpful? Give feedback.
-
@Tyrooon can you please share the code which is able to display image in the adk web. I am trying with the img src tag but still its not working |
Beta Was this translation helpful? Give feedback.
-
@Tyrooon you can add a callback to read teh uploaded image and put it in wherever you want it to be. I think the generated artifact will display in adk web automatically. Displaying of external images may be restricted due to security vulnerability. I will move this issue to discussions if you want to continue the discussion. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I use the
adk web
command to launch the agent through the web UI and ask the agent to help me write Python code. I use matplotlib to draw and display the image, the image can be successfully generated but the web UI cannot display it. May I ask if this is not supported by the web UI or if I need to enable additional parameters?Beta Was this translation helpful? Give feedback.
All reactions