googleapis

python-genai

googleapis

Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications.

AI 简介

Google Gen AI Python SDK 是一个用于在 Python 应用中集成 Google 生成式 AI 模型(如 Gemini)的官方软件开发工具包。它提供统一客户端接口,支持 Gemini Developer API 和 Vertex AI 上的 Gemini 企业级服务,内置 Pydantic 类型支持、环境变量配置、多后端适配(API Key 或 Vertex AI 项目凭证),并兼容字典与类型化参数两种调用方式。适用于需要快速接入 Gemini 系列大模型的 Python 开发场景,如智能对话、内容生成、RAG 应用及企业级 AI 服务集成。

Python
Apache License 2.0
3.8k
Stars
936
Forks
230
Watchers
192
Issues

Star 增长

今日0
近 7 天0
近 30 天+15
综合评分62.42
默认分支main