The solution: Structured output with pydantic
View the PDF before continuing.
This exercise is part of the course
Google: Optimize Agent Behavior
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise