@google/genai 0.14.1 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -5
- package/dist/genai.d.ts +1009 -16
- package/dist/index.js +5183 -2470
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5182 -2471
- package/dist/index.mjs.map +1 -1
- package/dist/node/index.js +9813 -7101
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +14542 -0
- package/dist/node/index.mjs.map +1 -0
- package/dist/node/node.d.ts +1009 -16
- package/dist/web/index.mjs +9816 -7105
- package/dist/web/index.mjs.map +1 -1
- package/dist/web/web.d.ts +1009 -16
- package/package.json +12 -5
package/README.md
CHANGED
|
@@ -266,16 +266,26 @@ or the user. The SDK will throw an exception if you try this.
|
|
|
266
266
|
|
|
267
267
|
## Preview Launch
|
|
268
268
|
|
|
269
|
-
The SDK is curently in a preview launch stage, per
|
|
269
|
+
The SDK is curently in a preview launch stage, per
|
|
270
|
+
[Google's launch stages](https://cloud.google.com/products?hl=en#section-22)
|
|
271
|
+
this means:
|
|
270
272
|
|
|
271
|
-
> At Preview, products or features are ready for testing by customers.
|
|
273
|
+
> At Preview, products or features are ready for testing by customers.
|
|
274
|
+
> Preview offerings are often publicly announced, but are not necessarily
|
|
275
|
+
> feature-complete, and no SLAs or technical support commitments are provided
|
|
276
|
+
> for these. Unless stated otherwise by Google, Preview offerings are intended
|
|
277
|
+
> for use in test environments only. The average Preview stage lasts about six
|
|
278
|
+
> months.
|
|
272
279
|
|
|
273
280
|
## How is this different from the other Google AI SDKs
|
|
274
|
-
This SDK (`@google/genai`) is Google Deepmind’s "vanilla" SDK for its generative
|
|
281
|
+
This SDK (`@google/genai`) is Google Deepmind’s "vanilla" SDK for its generative
|
|
282
|
+
AI offerings, and is where Google Deepmind adds new AI features.
|
|
275
283
|
|
|
276
284
|
Models hosted either on the [Vertex AI platform](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview) or the [Gemini Developer platform](https://ai.google.dev/gemini-api/docs) are accessible through this SDK.
|
|
277
285
|
|
|
278
|
-
Other SDKs may be offering additional AI frameworks on top of this SDK, or may
|
|
286
|
+
Other SDKs may be offering additional AI frameworks on top of this SDK, or may
|
|
287
|
+
be targeting specific project environments (like Firebase).
|
|
279
288
|
|
|
280
|
-
The `@google/generative_language` and `@google-cloud/vertexai` SDKs are previous
|
|
289
|
+
The `@google/generative_language` and `@google-cloud/vertexai` SDKs are previous
|
|
290
|
+
iterations of this SDK and are no longer receiving new Gemini 2.0+ features.
|
|
281
291
|
|