Support structured output and tool use for Gemini models #84
Replies: 4 comments 4 replies
-
Could you see if this can address your need: https://google.github.io/adk-docs/agents/llm-agents/#structuring-data-input_schema-output_schema-output_key ? If not, could you explain a bit with an example of the ideal behaviour? |
Beta Was this translation helpful? Give feedback.
-
I am moving from openai adk to google sdk and this the biggest minus point for google adk. in openai sdk you can get stcrutured out to mater if you use tools or not and gives whole lot stability the flow as you always get deterministic output. output shchema should always work regardless if you use tool or not. |
Beta Was this translation helpful? Give feedback.
-
Hi, we are looking into how to address this limitation. Stay tuned. |
Beta Was this translation helpful? Give feedback.
-
any progress on this @hangfei ? :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This might be more of a gemini related opinion. But I think the concept of structured output is extremely powerful for building stable and consistent workflows. It allows for clearly defined datamodels, if you're using Gemini, and then having to add another agent that cannot use tools but should just fit the output to a structured datamodel feels suboptimal, and many of the other providers support this
Beta Was this translation helpful? Give feedback.
All reactions