Hacker News new | past | comments | ask | show | jobs | submit login

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...




FYI all the LLM Python SDKs that support structured output can use Pydantic for the schema—at least all the ones I can think of.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: