Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Buried in the announcement is the real gem — they’re releasing a new SDK that actually looks like it follows modern best practices. Could be a game-changer for usability.

They’ve had OpenAI-compatible endpoints for a while, but it’s never been clear how serious they were about supporting them long-term. Nice to see another option showing up. For reference, their main repo (not kidding) recommends setting up a Kubernetes cluster and a GCP bucket to submit batch requests.

[1]https://github.com/googleapis/python-genai



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.


its interesting that just as the LLM hype appears to be simmering down, DeepMind is making big strides. I'm more excited by this than any of OpenAI's announcements.


I looked carefully at the SDK earlier today - it does look very nice, but it is also a work in progress.




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

Search: