@google/genai 2.12.0 → 2.13.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/dist/genai.d.ts +136 -9
- package/dist/index.cjs +19 -8
- package/dist/index.mjs +19 -8
- package/dist/index.mjs.map +1 -1
- package/dist/node/index.cjs +19 -8
- package/dist/node/index.mjs +19 -8
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/node.d.ts +136 -9
- package/dist/tokenizer/node.mjs.map +1 -1
- package/dist/vertex_internal/index.cjs +1 -1
- package/dist/vertex_internal/index.cjs.map +1 -1
- package/dist/vertex_internal/index.d.ts +3 -1
- package/dist/vertex_internal/index.js +1 -1
- package/dist/vertex_internal/index.js.map +1 -1
- package/dist/web/index.mjs +19 -8
- package/dist/web/index.mjs.map +1 -1
- package/dist/web/web.d.ts +136 -9
- package/package.json +1 -1
|
@@ -404,7 +404,9 @@ declare interface AudioTranscriptionConfig {
|
|
|
404
404
|
languageAuto?: LanguageAuto;
|
|
405
405
|
/** Specifies one or more languages in the audio. Do not use together with LanguageAuto. */
|
|
406
406
|
languageHints?: LanguageHints;
|
|
407
|
-
/** A list of
|
|
407
|
+
/** A list of custom vocabulary phrases, which biases the ASR model to improve recognition of these specific terms. */
|
|
408
|
+
customVocabulary?: string[];
|
|
409
|
+
/** Deprecated. A list of phrases used for speech adaptation, which biases the ASR model to improve recognition of these specific terms. */
|
|
408
410
|
adaptationPhrases?: string[];
|
|
409
411
|
}
|
|
410
412
|
|
|
@@ -2286,7 +2286,7 @@ const CONTENT_TYPE_HEADER = 'Content-Type';
|
|
|
2286
2286
|
const SERVER_TIMEOUT_HEADER = 'X-Server-Timeout';
|
|
2287
2287
|
const USER_AGENT_HEADER = 'User-Agent';
|
|
2288
2288
|
const GOOGLE_API_CLIENT_HEADER = 'x-goog-api-client';
|
|
2289
|
-
const SDK_VERSION = '2.
|
|
2289
|
+
const SDK_VERSION = '2.13.0'; // x-release-please-version
|
|
2290
2290
|
const LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION}`;
|
|
2291
2291
|
const VERTEX_AI_API_DEFAULT_VERSION = 'v1beta1';
|
|
2292
2292
|
const GOOGLE_AI_API_DEFAULT_VERSION = 'v1beta';
|