@google/genai
在全部 npm 包 中按周下载量排名第 5(共 203)
[](https://www.npmjs.com/package/@google/genai) [](https://www.npmjs.com/package/@google/genai)
项目介绍
The Google Gen AI JavaScript SDK is designed for TypeScript and JavaScript developers to build applications powered by Gemini. The SDK supports both the Gemini Developer API and Gemini Enterprise Agent Platform.
Upcoming Breaking Change to Automatic Function Calling (AFC): We will introduce a breaking change to the Automatic Function Calling (AFC) feature in the next major version. Specifically, users will not be able to invoke AFC from direct calls to Models.generatecontent or its stream variants. Instead, users should invoke AFC from chats modules.
The Google Gen AI SDK is designed to work with Gemini 2.0+ features.
API Key Security: Avoid exposing API keys in client-side code. Use…
最新指标
| 周下载量 | 18.0M | 2026-09-12 |
|---|