@maxim_mazurok/gapi.client.firebaseml-v2beta 0.0.20250324 → 0.0.20250412

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.
Files changed (2) hide show
  1. package/index.d.ts +26 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://firebaseml.googleapis.com/$discovery/rest?version=v2beta
12
- // Revision: 20250324
12
+ // Revision: 20250412
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -138,7 +138,7 @@ declare namespace gapi.client {
138
138
  mimeType?: string;
139
139
  }
140
140
  interface GoogleCloudAiplatformV1beta1FunctionCall {
141
- /** Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details. */
141
+ /** Optional. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details. */
142
142
  args?: {[P in string]: any};
143
143
  /** Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`. */
144
144
  id?: string;
@@ -268,6 +268,8 @@ declare namespace gapi.client {
268
268
  stopSequences?: string[];
269
269
  /** Optional. Controls the randomness of predictions. */
270
270
  temperature?: number;
271
+ /** Optional. Config for thinking features. An error will be returned if this field is set for models that don't support thinking. */
272
+ thinkingConfig?: GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig;
271
273
  /** Optional. If specified, top-k sampling will be used. */
272
274
  topK?: number;
273
275
  /** Optional. If specified, nucleus sampling will be used. */
@@ -288,9 +290,13 @@ declare namespace gapi.client {
288
290
  modelRoutingPreference?: string;
289
291
  }
290
292
  interface GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode {
291
- /** The model name to use. Only the public LLM models are accepted. e.g. 'gemini-1.5-pro-001'. */
293
+ /** The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). */
292
294
  modelName?: string;
293
295
  }
296
+ interface GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig {
297
+ /** Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true. */
298
+ thinkingBudget?: number;
299
+ }
294
300
  interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {
295
301
  /** Specifies the dynamic retrieval configuration for the given source. */
296
302
  dynamicRetrievalConfig?: GoogleCloudAiplatformV1beta1DynamicRetrievalConfig;
@@ -302,6 +308,8 @@ declare namespace gapi.client {
302
308
  web?: GoogleCloudAiplatformV1beta1GroundingChunkWeb;
303
309
  }
304
310
  interface GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext {
311
+ /** Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool. */
312
+ ragChunk?: GoogleCloudAiplatformV1beta1RagChunk;
305
313
  /** Text of the attribution. */
306
314
  text?: string;
307
315
  /** Title of the attribution. */
@@ -387,6 +395,18 @@ declare namespace gapi.client {
387
395
  /** The name of the preset voice to use. */
388
396
  voiceName?: string;
389
397
  }
398
+ interface GoogleCloudAiplatformV1beta1RagChunk {
399
+ /** If populated, represents where the chunk starts and ends in the document. */
400
+ pageSpan?: GoogleCloudAiplatformV1beta1RagChunkPageSpan;
401
+ /** The content of the chunk. */
402
+ text?: string;
403
+ }
404
+ interface GoogleCloudAiplatformV1beta1RagChunkPageSpan {
405
+ /** Page where chunk starts in the document. Inclusive. 1-indexed. */
406
+ firstPage?: number;
407
+ /** Page where chunk ends in the document. Inclusive. 1-indexed. */
408
+ lastPage?: number;
409
+ }
390
410
  interface GoogleCloudAiplatformV1beta1RagRetrievalConfig {
391
411
  /** Optional. Config for filters. */
392
412
  filter?: GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter;
@@ -416,7 +436,7 @@ declare namespace gapi.client {
416
436
  rankService?: GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService;
417
437
  }
418
438
  interface GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker {
419
- /** Optional. The model name used for ranking. Format: `gemini-1.5-pro` */
439
+ /** Optional. The model name used for ranking. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). */
420
440
  modelName?: string;
421
441
  }
422
442
  interface GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService {
@@ -526,6 +546,8 @@ declare namespace gapi.client {
526
546
  text?: string;
527
547
  }
528
548
  interface GoogleCloudAiplatformV1beta1SpeechConfig {
549
+ /** Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization. */
550
+ languageCode?: string;
529
551
  /** The configuration for the speaker to use. */
530
552
  voiceConfig?: GoogleCloudAiplatformV1beta1VoiceConfig;
531
553
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firebaseml-v2beta",
3
- "version": "0.0.20250324",
3
+ "version": "0.0.20250412",
4
4
  "description": "TypeScript typings for Firebase ML API v2beta",
5
5
  "repository": {
6
6
  "type": "git",