Better support for nested/complex structured output schemas #788
jhammarstedt
started this conversation in
General
Replies: 1 comment
-
Could you share what's specific with your pydantic model? E.g. how many layer does it have or whether it has special fields that the API doesn't understand? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
One big drawback of ADK or the gemini API is that the structured output answers are very limited to simple pydantic models. I have a nested output model that works fine through openai's api but gemini complains it's too complex which implies that I have to make the output a json string instead (even when I simplifying quite a bit)
Is this being worked on addressing?
Beta Was this translation helpful? Give feedback.
All reactions