@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.
@@ -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 phrases used for speech adaptation, which biases the ASR model to improve recognition of these specific terms. */
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.12.0'; // x-release-please-version
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';