Oh wow, it supports directly specifying a Pydantic model as an output schema that it will adhere to for structured JSON output. That’s fantastic!
https://github.com/googleapis/python-genai?tab=readme-ov-fil...
https://github.com/googleapis/python-genai?tab=readme-ov-fil...