Hacker GitHub

← All repos

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

Mentions per year 13 mentions · busiest year 2025 (7)
20082026
  1. 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
  2. …//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…
  3. …[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
  4. 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
  5. …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
  6. …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
  7. 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
  8. 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
  9. ▲ 4
    Gemini Flash 2.0 Thinking Experimental
    story by convexstrictly · 2024-12-19 · 3 comments
  10. ▲ 1
    Googleapis/Python-GenAI: Google Gen AI Python SDK
    story by ulrischa · 2024-12-13 · 0 comments
  11. …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...
  12. ▲ 2
    Google Gen AI Python SDK
    story by quantisan · 2024-12-11 · 0 comments
  13. …kidding) recommends setting up a Kubernetes cluster and a GCP bucket to submit batch requests. [1] https://github.com/googleapis/python-genai