googleapis/python-genai
View on GitHub ↗ ★ 4,054 Python
Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications.
13 mentions on Hacker News by 12 people: 3 stories, 10 comments · first 2024-12-11 · latest 2026-02-06
20082026
-
Not so fast! Check this out https://github.com/googleapis/python-genai/issues/460 In my experience, you can only use Gemini structured outputs for the most trivial of schemas. No integer literals, no discriminated unions and many more…
comment by roflcopter69 · 2026-02-06 · in GPT-5.3-Codex -
…//platform.openai.com/docs/guides/structured-outputs#s... . You guys closed this issue for no reason: https://github.com/googleapis/python-genai/issues/660 Other than that, good work! I love how fast the Gemini models are. The current API…
comment by msp26 · 2025-12-11 · in Getting a Gemini API key is an exercise in frustration -
…[2]: https://ai.google.dev/api/generate-content#ThinkingConfig [3]: https://github.com/googleapis/python-genai/blob/157b16b8df40...
comment by Deathmax · 2025-05-04 · in Google Gemini has the worst LLM API -
lemming, this is super helpful, thank you. We provide the genai SDK ( https://github.com/googleapis/python-genai ) to reduce the learning curve in 4 languages (GA: Python, Go Preview: Node.JS, Java). The SDK works for all Gemini APIs…
comment by chrisheecho · 2025-05-04 · in Google Gemini has the worst LLM API -
…to test out Gemini easily with basic inference but not as a replacement library for the genai sdk ( https://github.com/googleapis/python-genai ). We recommend using th genai SDK for working with Gemini.
comment by chrisheecho · 2025-05-04 · in Google Gemini has the worst LLM API -
…I build from the API definitions at https://github.com/googleapis/googleapis , which according to https://github.com/googleapis/python-genai/issues/345 should be the right place. But neither the AI Studio nor the Vertex definitions even…
comment by lemming · 2025-04-17 · in Gemini 2.5 Flash -
They removed the docs and support for it https://github.com/googleapis/python-genai/commit/af3b339a9d... . You can see the thoughts in AI Studio UI as per https://ai.google.dev/gemini-api/docs/thinking#debugging-and... .
comment by phillypham · 2025-04-17 · in Gemini 2.5 Flash -
I spotted something interesting in the Python API library code: https://github.com/googleapis/python-genai/blob/473bf4b6b5a6... class ThinkingConfig(_common.BaseModel): """The thinking features configuration.""" include_thoughts:…
comment by simonw · 2025-04-17 · in Gemini 2.5 Flash -
▲ 4
Gemini Flash 2.0 Thinking Experimentalstory by convexstrictly · 2024-12-19 · 3 comments
-
▲ 1
Googleapis/Python-GenAI: Google Gen AI Python SDKstory by ulrischa · 2024-12-13 · 0 comments
-
…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...
comment by redrix · 2024-12-12 · in Gemini 2.0: our new AI model for the agentic era -
▲ 2
Google Gen AI Python SDKstory by quantisan · 2024-12-11 · 0 comments
-
…kidding) recommends setting up a Kubernetes cluster and a GCP bucket to submit batch requests. [1] https://github.com/googleapis/python-genai
comment by serjester · 2024-12-11 · in Gemini 2.0: our new AI model for the agentic era