@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20241210 → 0.0.20241214

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 +15 -3
  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://aiplatform.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20241210
12
+ // Revision: 20241214
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1605,11 +1605,11 @@ declare namespace gapi.client {
1605
1605
  baseTeacherModel?: string;
1606
1606
  /** Optional. Hyperparameters for Distillation. */
1607
1607
  hyperParameters?: GoogleCloudAiplatformV1beta1DistillationHyperParameters;
1608
- /** Required. Deprecated. A path in a Cloud Storage bucket, which will be treated as the root output directory of the distillation pipeline. It is used by the system to generate the paths of output artifacts. */
1608
+ /** Deprecated. A path in a Cloud Storage bucket, which will be treated as the root output directory of the distillation pipeline. It is used by the system to generate the paths of output artifacts. */
1609
1609
  pipelineRootDirectory?: string;
1610
1610
  /** The student model that is being tuned, e.g., "google/gemma-2b-1.1-it". Deprecated. Use base_model instead. */
1611
1611
  studentModel?: string;
1612
- /** Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
1612
+ /** Deprecated. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
1613
1613
  trainingDatasetUri?: string;
1614
1614
  /** The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`. */
1615
1615
  tunedTeacherModelSource?: string;
@@ -5282,6 +5282,8 @@ declare namespace gapi.client {
5282
5282
  inlineData?: GoogleCloudAiplatformV1beta1Blob;
5283
5283
  /** Optional. Text part (can be code). */
5284
5284
  text?: string;
5285
+ /** Optional. Indicates if the part is thought from the model. */
5286
+ thought?: boolean;
5285
5287
  /** Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. */
5286
5288
  videoMetadata?: GoogleCloudAiplatformV1beta1VideoMetadata;
5287
5289
  }
@@ -6167,6 +6169,8 @@ declare namespace gapi.client {
6167
6169
  advancedParser?: GoogleCloudAiplatformV1beta1RagFileParsingConfigAdvancedParser;
6168
6170
  /** The Layout Parser to use for RagFiles. */
6169
6171
  layoutParser?: GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser;
6172
+ /** The LLM Parser to use for RagFiles. */
6173
+ llmParser?: GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser;
6170
6174
  /** Whether to use advanced PDF parsing. */
6171
6175
  useAdvancedPdfParsing?: boolean;
6172
6176
  }
@@ -6180,6 +6184,14 @@ declare namespace gapi.client {
6180
6184
  /** The full resource name of a Document AI processor or processor version. The processor must have type `LAYOUT_PARSER_PROCESSOR`. If specified, the `additional_config.parse_as_scanned_pdf` field must be false. Format: * `projects/{project_id}/locations/{location}/processors/{processor_id}` * `projects/{project_id}/locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}` */
6181
6185
  processorName?: string;
6182
6186
  }
6187
+ interface GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser {
6188
+ /** The prompt to use for parsing. If not specified, a default prompt will be used. */
6189
+ customParsingPrompt?: string;
6190
+ /** The maximum number of requests the job is allowed to make to the LLM model per minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If unspecified, a default value of 5000 QPM would be used. */
6191
+ maxParsingRequestsPerMin?: number;
6192
+ /** The name of a LLM model used for parsing. Format: `gemini-1.5-pro-002` */
6193
+ modelName?: string;
6194
+ }
6183
6195
  interface GoogleCloudAiplatformV1beta1RagFileTransformationConfig {
6184
6196
  /** Specifies the chunking config for RagFiles. */
6185
6197
  ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20241210",
3
+ "version": "0.0.20241214",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",