@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250728 → 0.0.20250806
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/index.d.ts +326 -22
- 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:
|
|
12
|
+
// Revision: 20250806
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -277,10 +277,6 @@ declare namespace gapi.client {
|
|
|
277
277
|
interface GoogleCloudAiplatformV1beta1AssembleDataRequest {
|
|
278
278
|
/** Optional. The read config for the dataset. */
|
|
279
279
|
geminiRequestReadConfig?: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig;
|
|
280
|
-
/** Optional. Config for assembling templates with a Gemini API structure. */
|
|
281
|
-
geminiTemplateConfig?: GoogleCloudAiplatformV1beta1GeminiTemplateConfig;
|
|
282
|
-
/** Optional. The column name in the underlying table that contains already fully assembled requests. If this field is set, the original request will be copied to the output table. */
|
|
283
|
-
requestColumnName?: string;
|
|
284
280
|
}
|
|
285
281
|
interface GoogleCloudAiplatformV1beta1AssessDataRequest {
|
|
286
282
|
/** Optional. Configuration for the batch prediction resource usage assessment. */
|
|
@@ -289,10 +285,6 @@ declare namespace gapi.client {
|
|
|
289
285
|
batchPredictionValidationAssessmentConfig?: GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig;
|
|
290
286
|
/** Optional. The Gemini request read config for the dataset. */
|
|
291
287
|
geminiRequestReadConfig?: GoogleCloudAiplatformV1beta1GeminiRequestReadConfig;
|
|
292
|
-
/** Optional. Config for assembling templates with a Gemini API structure to assess assembled data. */
|
|
293
|
-
geminiTemplateConfig?: GoogleCloudAiplatformV1beta1GeminiTemplateConfig;
|
|
294
|
-
/** Optional. The column name in the underlying table that contains already fully assembled requests. */
|
|
295
|
-
requestColumnName?: string;
|
|
296
288
|
/** Optional. Configuration for the tuning resource usage assessment. */
|
|
297
289
|
tuningResourceUsageAssessmentConfig?: GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig;
|
|
298
290
|
/** Optional. Configuration for the tuning validation assessment. */
|
|
@@ -425,7 +417,7 @@ declare namespace gapi.client {
|
|
|
425
417
|
samplingCount?: number;
|
|
426
418
|
}
|
|
427
419
|
interface GoogleCloudAiplatformV1beta1AutoscalingMetricSpec {
|
|
428
|
-
/** Required. The resource metric name. Supported metrics: * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `aiplatform.googleapis.com/prediction/online/cpu/utilization` */
|
|
420
|
+
/** Required. The resource metric name. Supported metrics: * For Online Prediction: * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `aiplatform.googleapis.com/prediction/online/cpu/utilization` * `aiplatform.googleapis.com/prediction/online/request_count` */
|
|
429
421
|
metricName?: string;
|
|
430
422
|
/** The target resource utilization in percentage (1% - 100%) for the given metric; once the real usage deviates from the target by a certain percentage, the machine replicas change. The default value is 60 (representing 60%) if not provided. */
|
|
431
423
|
target?: number;
|
|
@@ -471,10 +463,14 @@ declare namespace gapi.client {
|
|
|
471
463
|
tensorboardTimeSeries?: GoogleCloudAiplatformV1beta1TensorboardTimeSeries[];
|
|
472
464
|
}
|
|
473
465
|
interface GoogleCloudAiplatformV1beta1BatchDedicatedResources {
|
|
466
|
+
/** Optional. Immutable. If set, use DWS resource to schedule the deployment workload. reference: (https://cloud.google.com/blog/products/compute/introducing-dynamic-workload-scheduler) */
|
|
467
|
+
flexStart?: GoogleCloudAiplatformV1beta1FlexStart;
|
|
474
468
|
/** Required. Immutable. The specification of a single machine. */
|
|
475
469
|
machineSpec?: GoogleCloudAiplatformV1beta1MachineSpec;
|
|
476
470
|
/** Immutable. The maximum number of machine replicas the batch operation may be scaled to. The default value is 10. */
|
|
477
471
|
maxReplicaCount?: number;
|
|
472
|
+
/** Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). */
|
|
473
|
+
spot?: boolean;
|
|
478
474
|
/** Immutable. The number of machine replicas used at the start of the batch operation. If not set, Vertex AI decides starting number, not greater than max_replica_count */
|
|
479
475
|
startingReplicaCount?: number;
|
|
480
476
|
}
|
|
@@ -1413,6 +1409,10 @@ declare namespace gapi.client {
|
|
|
1413
1409
|
right?: number;
|
|
1414
1410
|
}
|
|
1415
1411
|
interface GoogleCloudAiplatformV1beta1DatasetStats {
|
|
1412
|
+
/** Output only. A partial sample of the indices (starting from 1) of the dropped examples. */
|
|
1413
|
+
droppedExampleIndices?: string[];
|
|
1414
|
+
/** Output only. For each index in `dropped_example_indices`, the user-facing reason why the example was dropped. */
|
|
1415
|
+
droppedExampleReasons?: string[];
|
|
1416
1416
|
/** Output only. Number of billable characters in the tuning dataset. */
|
|
1417
1417
|
totalBillableCharacterCount?: string;
|
|
1418
1418
|
/** Output only. Number of tuning characters in the tuning dataset. */
|
|
@@ -1529,6 +1529,8 @@ declare namespace gapi.client {
|
|
|
1529
1529
|
deployedIndexAuthConfig?: GoogleCloudAiplatformV1beta1DeployedIndexAuthConfig;
|
|
1530
1530
|
/** Optional. The deployment group can be no longer than 64 characters (eg: 'test', 'prod'). If not set, we will use the 'default' deployment group. Creating `deployment_groups` with `reserved_ip_ranges` is a recommended practice when the peered network has multiple peering ranges. This creates your deployments from predictable IP spaces for easier traffic administration. Also, one deployment_group (except 'default') can only be used with the same reserved_ip_ranges which means if the deployment_group has been used with reserved_ip_ranges: [a, b, c], using it with [a, b] or [d, e] is disallowed. Note: we only support up to 5 deployment groups(not including 'default'). */
|
|
1531
1531
|
deploymentGroup?: string;
|
|
1532
|
+
/** Optional. The deployment tier that the index is deployed to. DEPLOYMENT_TIER_UNSPECIFIED defaults to PERFORMANCE. */
|
|
1533
|
+
deploymentTier?: string;
|
|
1532
1534
|
/** The display name of the DeployedIndex. If not provided upon creation, the Index's display_name is used. */
|
|
1533
1535
|
displayName?: string;
|
|
1534
1536
|
/** Optional. If true, private endpoint's access logs are sent to Cloud Logging. These logs are like standard server access logs, containing information like timestamp and latency for each MatchRequest. Note that logs may incur a cost, especially if the deployed index receives a high queries per second rate (QPS). Estimate your costs before enabling this option. */
|
|
@@ -1717,10 +1719,14 @@ declare namespace gapi.client {
|
|
|
1717
1719
|
systemLabels?: {[P in string]: string};
|
|
1718
1720
|
}
|
|
1719
1721
|
interface GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig {
|
|
1720
|
-
/** Optional.
|
|
1722
|
+
/** Optional. By default, if dedicated endpoint is enabled, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set to true, the dedicated endpoint will be disabled and the deployed model will be exposed through the shared DNS {region}-aiplatform.googleapis.com. */
|
|
1723
|
+
dedicatedEndpointDisabled?: boolean;
|
|
1724
|
+
/** Optional. Deprecated. Use dedicated_endpoint_disabled instead. If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. */
|
|
1721
1725
|
dedicatedEndpointEnabled?: boolean;
|
|
1722
1726
|
/** Optional. The user-specified display name of the endpoint. If not set, a default name will be used. */
|
|
1723
1727
|
endpointDisplayName?: string;
|
|
1728
|
+
/** Optional. Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the first character is a letter, this value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number, this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros. When using HTTP/JSON, this field is populated based on a query string argument, such as `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI or the body. */
|
|
1729
|
+
endpointUserId?: string;
|
|
1724
1730
|
}
|
|
1725
1731
|
interface GoogleCloudAiplatformV1beta1DeployRequestModelConfig {
|
|
1726
1732
|
/** Optional. Whether the user accepts the End User License Agreement (EULA) for the model. */
|
|
@@ -1871,7 +1877,10 @@ declare namespace gapi.client {
|
|
|
1871
1877
|
/** Output only. Timestamp when this Endpoint was last updated. */
|
|
1872
1878
|
updateTime?: string;
|
|
1873
1879
|
}
|
|
1874
|
-
interface GoogleCloudAiplatformV1beta1EnterpriseWebSearch {
|
|
1880
|
+
interface GoogleCloudAiplatformV1beta1EnterpriseWebSearch {
|
|
1881
|
+
/** Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. */
|
|
1882
|
+
excludeDomains?: string[];
|
|
1883
|
+
}
|
|
1875
1884
|
interface GoogleCloudAiplatformV1beta1EntityIdSelector {
|
|
1876
1885
|
/** Source of Csv */
|
|
1877
1886
|
csvSource?: GoogleCloudAiplatformV1beta1CsvSource;
|
|
@@ -1954,6 +1963,14 @@ declare namespace gapi.client {
|
|
|
1954
1963
|
/** Required. Config for evaluation output. */
|
|
1955
1964
|
outputConfig?: GoogleCloudAiplatformV1beta1OutputConfig;
|
|
1956
1965
|
}
|
|
1966
|
+
interface GoogleCloudAiplatformV1beta1EvaluateDatasetRun {
|
|
1967
|
+
/** Output only. The checkpoint id used in the evaluation run. Only populated when evaluating checkpoints. */
|
|
1968
|
+
checkpointId?: string;
|
|
1969
|
+
/** Output only. The error of the evaluation run if any. */
|
|
1970
|
+
error?: GoogleRpcStatus;
|
|
1971
|
+
/** Output only. The operation ID of the evaluation run. Format: `projects/{project}/locations/{location}/operations/{operation_id}`. */
|
|
1972
|
+
operationName?: string;
|
|
1973
|
+
}
|
|
1957
1974
|
interface GoogleCloudAiplatformV1beta1EvaluateInstancesRequest {
|
|
1958
1975
|
/** Optional. Autorater config used for evaluation. */
|
|
1959
1976
|
autoraterConfig?: GoogleCloudAiplatformV1beta1AutoraterConfig;
|
|
@@ -2088,6 +2105,14 @@ declare namespace gapi.client {
|
|
|
2088
2105
|
/** Results for trajectory single tool use metric. */
|
|
2089
2106
|
trajectorySingleToolUseResults?: GoogleCloudAiplatformV1beta1TrajectorySingleToolUseResults;
|
|
2090
2107
|
}
|
|
2108
|
+
interface GoogleCloudAiplatformV1beta1EvaluationConfig {
|
|
2109
|
+
/** Optional. Autorater config for evaluation. */
|
|
2110
|
+
autoraterConfig?: GoogleCloudAiplatformV1beta1AutoraterConfig;
|
|
2111
|
+
/** Required. The metrics used for evaluation. */
|
|
2112
|
+
metrics?: GoogleCloudAiplatformV1beta1Metric[];
|
|
2113
|
+
/** Required. Config for evaluation output. */
|
|
2114
|
+
outputConfig?: GoogleCloudAiplatformV1beta1OutputConfig;
|
|
2115
|
+
}
|
|
2091
2116
|
interface GoogleCloudAiplatformV1beta1EvaluationDataset {
|
|
2092
2117
|
/** BigQuery source holds the dataset. */
|
|
2093
2118
|
bigquerySource?: GoogleCloudAiplatformV1beta1BigQuerySource;
|
|
@@ -3387,6 +3412,18 @@ declare namespace gapi.client {
|
|
|
3387
3412
|
/** Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. */
|
|
3388
3413
|
tools?: GoogleCloudAiplatformV1beta1Tool[];
|
|
3389
3414
|
}
|
|
3415
|
+
interface GoogleCloudAiplatformV1beta1GeminiPreferenceExample {
|
|
3416
|
+
/** List of completions for a given prompt. */
|
|
3417
|
+
completions?: GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion[];
|
|
3418
|
+
/** Multi-turn contents that represents the Prompt. */
|
|
3419
|
+
contents?: GoogleCloudAiplatformV1beta1Content[];
|
|
3420
|
+
}
|
|
3421
|
+
interface GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion {
|
|
3422
|
+
/** Single turn completion for the given prompt. */
|
|
3423
|
+
completion?: GoogleCloudAiplatformV1beta1Content;
|
|
3424
|
+
/** The score for the given completion. */
|
|
3425
|
+
score?: number;
|
|
3426
|
+
}
|
|
3390
3427
|
interface GoogleCloudAiplatformV1beta1GeminiRequestReadConfig {
|
|
3391
3428
|
/** Optional. Column name in the dataset table that contains already fully assembled Gemini requests. */
|
|
3392
3429
|
assembledRequestColumnName?: string;
|
|
@@ -3430,6 +3467,8 @@ declare namespace gapi.client {
|
|
|
3430
3467
|
generationConfig?: GoogleCloudAiplatformV1beta1GenerationConfig;
|
|
3431
3468
|
/** Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. */
|
|
3432
3469
|
labels?: {[P in string]: string};
|
|
3470
|
+
/** Optional. Settings for prompt and response sanitization using the Model Armor service. If supplied, safety_settings must not be supplied. */
|
|
3471
|
+
modelArmorConfig?: GoogleCloudAiplatformV1beta1ModelArmorConfig;
|
|
3433
3472
|
/** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
|
|
3434
3473
|
safetySettings?: GoogleCloudAiplatformV1beta1SafetySetting[];
|
|
3435
3474
|
/** Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph. */
|
|
@@ -3488,6 +3527,8 @@ declare namespace gapi.client {
|
|
|
3488
3527
|
interface GoogleCloudAiplatformV1beta1GenerateMemoriesRequest {
|
|
3489
3528
|
/** Defines a direct source of content as the source content from which to generate memories. */
|
|
3490
3529
|
directContentsSource?: GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource;
|
|
3530
|
+
/** Defines a direct source of memories that should be uploaded to Memory Bank. This is similar to `CreateMemory`, but it allows for consolidation between these new memories and existing memories for the same scope. */
|
|
3531
|
+
directMemoriesSource?: GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource;
|
|
3491
3532
|
/** Optional. If true, generated memories will not be consolidated with existing memories; all generated memories will be added as new memories regardless of whether they are duplicates of or contradictory to existing memories. By default, memory consolidation is enabled. */
|
|
3492
3533
|
disableConsolidation?: boolean;
|
|
3493
3534
|
/** Optional. The scope of the memories that should be generated. Memories will be consolidated across memories with the same scope. Must be provided unless the scope is defined in the source content. If `scope` is provided, it will override the scope defined in the source content. Scope values cannot contain the wildcard character '*'. */
|
|
@@ -3503,6 +3544,14 @@ declare namespace gapi.client {
|
|
|
3503
3544
|
/** Required. A single piece of content from which to generate memories. */
|
|
3504
3545
|
content?: GoogleCloudAiplatformV1beta1Content;
|
|
3505
3546
|
}
|
|
3547
|
+
interface GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource {
|
|
3548
|
+
/** Required. The direct memories to upload to Memory Bank. At most 5 direct memories are allowed per request. */
|
|
3549
|
+
directMemories?: GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory[];
|
|
3550
|
+
}
|
|
3551
|
+
interface GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory {
|
|
3552
|
+
/** Required. The fact to consolidate with existing memories. */
|
|
3553
|
+
fact?: string;
|
|
3554
|
+
}
|
|
3506
3555
|
interface GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource {
|
|
3507
3556
|
/** Optional. End time (exclusive) of the time range. If not set, the end time is unbounded. */
|
|
3508
3557
|
endTime?: string;
|
|
@@ -3702,6 +3751,8 @@ declare namespace gapi.client {
|
|
|
3702
3751
|
review?: string;
|
|
3703
3752
|
}
|
|
3704
3753
|
interface GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext {
|
|
3754
|
+
/** Output only. The full document name for the referenced Vertex AI Search document. */
|
|
3755
|
+
documentName?: string;
|
|
3705
3756
|
/** Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool. */
|
|
3706
3757
|
ragChunk?: GoogleCloudAiplatformV1beta1RagChunk;
|
|
3707
3758
|
/** Text of the attribution. */
|
|
@@ -4582,12 +4633,16 @@ declare namespace gapi.client {
|
|
|
4582
4633
|
description?: string;
|
|
4583
4634
|
/** Optional. Display name of the Memory. */
|
|
4584
4635
|
displayName?: string;
|
|
4636
|
+
/** Optional. Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what `expiration` was sent on input. */
|
|
4637
|
+
expireTime?: string;
|
|
4585
4638
|
/** Required. Semantic knowledge extracted from the source content. */
|
|
4586
4639
|
fact?: string;
|
|
4587
4640
|
/** Identifier. The resource name of the Memory. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` */
|
|
4588
4641
|
name?: string;
|
|
4589
4642
|
/** Required. Immutable. The scope of the Memory. Memories are isolated within their scope. The scope is defined when creating or generating memories. Scope values cannot contain the wildcard character '*'. */
|
|
4590
4643
|
scope?: {[P in string]: string};
|
|
4644
|
+
/** Optional. Input only. The TTL for this resource. The expiration time is computed: now + TTL. */
|
|
4645
|
+
ttl?: string;
|
|
4591
4646
|
/** Output only. Timestamp when this Memory was most recently updated. */
|
|
4592
4647
|
updateTime?: string;
|
|
4593
4648
|
}
|
|
@@ -4843,6 +4898,12 @@ declare namespace gapi.client {
|
|
|
4843
4898
|
/** Output only. Timestamp when this version was most recently updated. */
|
|
4844
4899
|
versionUpdateTime?: string;
|
|
4845
4900
|
}
|
|
4901
|
+
interface GoogleCloudAiplatformV1beta1ModelArmorConfig {
|
|
4902
|
+
/** Optional. The name of the Model Armor template to use for prompt sanitization. */
|
|
4903
|
+
promptTemplateName?: string;
|
|
4904
|
+
/** Optional. The name of the Model Armor template to use for response sanitization. */
|
|
4905
|
+
responseTemplateName?: string;
|
|
4906
|
+
}
|
|
4846
4907
|
interface GoogleCloudAiplatformV1beta1ModelBaseModelSource {
|
|
4847
4908
|
/** Information about the base model of Genie models. */
|
|
4848
4909
|
genieSource?: GoogleCloudAiplatformV1beta1GenieSource;
|
|
@@ -5912,6 +5973,14 @@ declare namespace gapi.client {
|
|
|
5912
5973
|
/** Optional. Post startup script config. */
|
|
5913
5974
|
postStartupScriptConfig?: GoogleCloudAiplatformV1beta1PostStartupScriptConfig;
|
|
5914
5975
|
}
|
|
5976
|
+
interface GoogleCloudAiplatformV1beta1OptimizePromptRequest {
|
|
5977
|
+
/** Required. The content to optimize. */
|
|
5978
|
+
content?: GoogleCloudAiplatformV1beta1Content;
|
|
5979
|
+
}
|
|
5980
|
+
interface GoogleCloudAiplatformV1beta1OptimizePromptResponse {
|
|
5981
|
+
/** Output only. The optimized prompt content. */
|
|
5982
|
+
content?: GoogleCloudAiplatformV1beta1Content;
|
|
5983
|
+
}
|
|
5915
5984
|
interface GoogleCloudAiplatformV1beta1OutputConfig {
|
|
5916
5985
|
/** Cloud storage destination for evaluation output. */
|
|
5917
5986
|
gcsDestination?: GoogleCloudAiplatformV1beta1GcsDestination;
|
|
@@ -6373,12 +6442,62 @@ declare namespace gapi.client {
|
|
|
6373
6442
|
/** Immutable. Points to a YAML file stored on Google Cloud Storage describing the format of a single prediction produced by this Model, which are returned via PredictResponse.predictions, ExplainResponse.explanations, and BatchPredictionJob.output_config. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). AutoML Models always have this field populated by Vertex AI. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access. */
|
|
6374
6443
|
predictionSchemaUri?: string;
|
|
6375
6444
|
}
|
|
6445
|
+
interface GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats {
|
|
6446
|
+
/** Output only. A partial sample of the indices (starting from 1) of the dropped examples. */
|
|
6447
|
+
droppedExampleIndices?: string[];
|
|
6448
|
+
/** Output only. For each index in `dropped_example_indices`, the user-facing reason why the example was dropped. */
|
|
6449
|
+
droppedExampleReasons?: string[];
|
|
6450
|
+
/** Output only. Dataset distributions for scores. */
|
|
6451
|
+
scoresDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
|
|
6452
|
+
/** Output only. Dataset distributions for scores variance per example. */
|
|
6453
|
+
scoreVariancePerExampleDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
|
|
6454
|
+
/** Output only. Number of billable tokens in the tuning dataset. */
|
|
6455
|
+
totalBillableTokenCount?: string;
|
|
6456
|
+
/** Output only. Number of examples in the tuning dataset. */
|
|
6457
|
+
tuningDatasetExampleCount?: string;
|
|
6458
|
+
/** Output only. Number of tuning steps for this Tuning Job. */
|
|
6459
|
+
tuningStepCount?: string;
|
|
6460
|
+
/** Output only. Sample user examples in the training dataset. */
|
|
6461
|
+
userDatasetExamples?: GoogleCloudAiplatformV1beta1GeminiPreferenceExample[];
|
|
6462
|
+
/** Output only. Dataset distributions for the user input tokens. */
|
|
6463
|
+
userInputTokenDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
|
|
6464
|
+
/** Output only. Dataset distributions for the user output tokens. */
|
|
6465
|
+
userOutputTokenDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
|
|
6466
|
+
}
|
|
6467
|
+
interface GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters {
|
|
6468
|
+
/** Optional. Adapter size for preference optimization. */
|
|
6469
|
+
adapterSize?: string;
|
|
6470
|
+
/** Optional. Weight for KL Divergence regularization. */
|
|
6471
|
+
beta?: number;
|
|
6472
|
+
/** Optional. Number of complete passes the model makes over the entire training dataset during training. */
|
|
6473
|
+
epochCount?: string;
|
|
6474
|
+
/** Optional. Multiplier for adjusting the default learning rate. */
|
|
6475
|
+
learningRateMultiplier?: number;
|
|
6476
|
+
}
|
|
6477
|
+
interface GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec {
|
|
6478
|
+
/** Optional. Evaluation Config for Preference Optimization Job. */
|
|
6479
|
+
evaluationConfig?: GoogleCloudAiplatformV1beta1EvaluationConfig;
|
|
6480
|
+
/** Optional. Hyperparameters for Preference Optimization. */
|
|
6481
|
+
hyperParameters?: GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters;
|
|
6482
|
+
/** Required. Cloud Storage path to file containing training dataset for preference optimization tuning. The dataset must be formatted as a JSONL file. */
|
|
6483
|
+
trainingDatasetUri?: string;
|
|
6484
|
+
/** Optional. Cloud Storage path to file containing validation dataset for preference optimization tuning. The dataset must be formatted as a JSONL file. */
|
|
6485
|
+
validationDatasetUri?: string;
|
|
6486
|
+
}
|
|
6376
6487
|
interface GoogleCloudAiplatformV1beta1Presets {
|
|
6377
6488
|
/** The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries. If your model does not precisely fit one of these types, it is okay to choose the closest type. */
|
|
6378
6489
|
modality?: string;
|
|
6379
6490
|
/** Preset option controlling parameters for speed-precision trade-off when querying for examples. If omitted, defaults to `PRECISE`. */
|
|
6380
6491
|
query?: string;
|
|
6381
6492
|
}
|
|
6493
|
+
interface GoogleCloudAiplatformV1beta1PreTunedModel {
|
|
6494
|
+
/** Output only. The name of the base model this PreTunedModel was tuned from. */
|
|
6495
|
+
baseModel?: string;
|
|
6496
|
+
/** Optional. The source checkpoint id. If not specified, the default checkpoint will be used. */
|
|
6497
|
+
checkpointId?: string;
|
|
6498
|
+
/** The resource name of the Model. E.g., a model resource name with a specified version id or alias: `projects/{project}/locations/{location}/models/{model}@{version_id}` `projects/{project}/locations/{location}/models/{model}@{alias}` Or, omit the version id to use the default version: `projects/{project}/locations/{location}/models/{model}` */
|
|
6499
|
+
tunedModelName?: string;
|
|
6500
|
+
}
|
|
6382
6501
|
interface GoogleCloudAiplatformV1beta1PrivateEndpoints {
|
|
6383
6502
|
/** Output only. Http(s) path to send explain requests. */
|
|
6384
6503
|
explainHttpUri?: string;
|
|
@@ -6900,7 +7019,7 @@ declare namespace gapi.client {
|
|
|
6900
7019
|
name?: string;
|
|
6901
7020
|
/** Optional. Immutable. The embedding model config of the RagCorpus. */
|
|
6902
7021
|
ragEmbeddingModelConfig?: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig;
|
|
6903
|
-
/** Output only. Number of RagFiles in the RagCorpus. */
|
|
7022
|
+
/** Output only. Number of RagFiles in the RagCorpus. NOTE: This field is not populated in the response of VertexRagDataService.ListRagCorpora. */
|
|
6904
7023
|
ragFilesCount?: number;
|
|
6905
7024
|
/** Optional. Immutable. The Vector DB config of the RagCorpus. */
|
|
6906
7025
|
ragVectorDbConfig?: GoogleCloudAiplatformV1beta1RagVectorDbConfig;
|
|
@@ -7322,8 +7441,18 @@ declare namespace gapi.client {
|
|
|
7322
7441
|
serviceAccount?: string;
|
|
7323
7442
|
}
|
|
7324
7443
|
interface GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec {
|
|
7444
|
+
/** Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. */
|
|
7445
|
+
containerConcurrency?: number;
|
|
7325
7446
|
/** Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. */
|
|
7326
7447
|
env?: GoogleCloudAiplatformV1beta1EnvVar[];
|
|
7448
|
+
/** Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100. */
|
|
7449
|
+
maxInstances?: number;
|
|
7450
|
+
/** Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1. */
|
|
7451
|
+
minInstances?: number;
|
|
7452
|
+
/** Optional. Configuration for PSC-I. */
|
|
7453
|
+
pscInterfaceConfig?: GoogleCloudAiplatformV1beta1PscInterfaceConfig;
|
|
7454
|
+
/** Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * The only supported values for CPU are '1', '2', '4', and '8'. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits */
|
|
7455
|
+
resourceLimits?: {[P in string]: string};
|
|
7327
7456
|
/** Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent. */
|
|
7328
7457
|
secretEnv?: GoogleCloudAiplatformV1beta1SecretEnvVar[];
|
|
7329
7458
|
}
|
|
@@ -7354,6 +7483,36 @@ declare namespace gapi.client {
|
|
|
7354
7483
|
progressMessage?: string;
|
|
7355
7484
|
}
|
|
7356
7485
|
interface GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest {}
|
|
7486
|
+
interface GoogleCloudAiplatformV1beta1RecommendSpecRequest {
|
|
7487
|
+
/** Optional. If true, check machine availability for the recommended regions. Only return the machine spec in regions where the machine is available. */
|
|
7488
|
+
checkMachineAvailability?: boolean;
|
|
7489
|
+
/** Optional. If true, check user quota for the recommended regions. Returns all the machine spec in regions they are available, and also the user quota state for each machine type in each region. */
|
|
7490
|
+
checkUserQuota?: boolean;
|
|
7491
|
+
/** Required. The Google Cloud Storage URI of the custom model, storing weights and config files (which can be used to infer the base model). */
|
|
7492
|
+
gcsUri?: string;
|
|
7493
|
+
}
|
|
7494
|
+
interface GoogleCloudAiplatformV1beta1RecommendSpecResponse {
|
|
7495
|
+
/** Output only. The base model used to finetune the custom model. */
|
|
7496
|
+
baseModel?: string;
|
|
7497
|
+
/** Output only. Recommendations of deployment options for the given custom weights model. */
|
|
7498
|
+
recommendations?: GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation[];
|
|
7499
|
+
/** Output only. The machine and model container specs. */
|
|
7500
|
+
specs?: GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec[];
|
|
7501
|
+
}
|
|
7502
|
+
interface GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec {
|
|
7503
|
+
/** Output only. The model container spec. */
|
|
7504
|
+
containerSpec?: GoogleCloudAiplatformV1beta1ModelContainerSpec;
|
|
7505
|
+
/** Output only. The machine spec. */
|
|
7506
|
+
machineSpec?: GoogleCloudAiplatformV1beta1MachineSpec;
|
|
7507
|
+
}
|
|
7508
|
+
interface GoogleCloudAiplatformV1beta1RecommendSpecResponseRecommendation {
|
|
7509
|
+
/** The region for the deployment spec (machine). */
|
|
7510
|
+
region?: string;
|
|
7511
|
+
/** Output only. The machine and model container specs. */
|
|
7512
|
+
spec?: GoogleCloudAiplatformV1beta1RecommendSpecResponseMachineAndModelContainerSpec;
|
|
7513
|
+
/** Output only. The user accelerator quota state. */
|
|
7514
|
+
userQuotaState?: string;
|
|
7515
|
+
}
|
|
7357
7516
|
interface GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest {
|
|
7358
7517
|
/** The resource names of the child Contexts. */
|
|
7359
7518
|
childContexts?: string[];
|
|
@@ -10033,6 +10192,8 @@ declare namespace gapi.client {
|
|
|
10033
10192
|
userOutputTokenDistribution?: GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution;
|
|
10034
10193
|
}
|
|
10035
10194
|
interface GoogleCloudAiplatformV1beta1SupervisedTuningSpec {
|
|
10195
|
+
/** Optional. Evaluation Config for Tuning Job. */
|
|
10196
|
+
evaluationConfig?: GoogleCloudAiplatformV1beta1EvaluationConfig;
|
|
10036
10197
|
/** Optional. If set to true, disable intermediate checkpoints for SFT and only the last checkpoint will be exported. Otherwise, enable intermediate checkpoints for SFT. Default is false. */
|
|
10037
10198
|
exportLastCheckpointOnly?: boolean;
|
|
10038
10199
|
/** Optional. Hyperparameters for SFT. */
|
|
@@ -10236,16 +10397,14 @@ declare namespace gapi.client {
|
|
|
10236
10397
|
interface GoogleCloudAiplatformV1beta1Tool {
|
|
10237
10398
|
/** Optional. CodeExecution tool type. Enables the model to execute code as part of generation. */
|
|
10238
10399
|
codeExecution?: any;
|
|
10239
|
-
/** Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations. */
|
|
10240
|
-
computerUse?: GoogleCloudAiplatformV1beta1ToolComputerUse;
|
|
10241
10400
|
/** Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance. */
|
|
10242
|
-
enterpriseWebSearch?:
|
|
10401
|
+
enterpriseWebSearch?: GoogleCloudAiplatformV1beta1EnterpriseWebSearch;
|
|
10243
10402
|
/** Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 512 function declarations can be provided. */
|
|
10244
10403
|
functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];
|
|
10245
10404
|
/** Optional. GoogleMaps tool type. Tool to support Google Maps in Model. */
|
|
10246
10405
|
googleMaps?: GoogleCloudAiplatformV1beta1GoogleMaps;
|
|
10247
10406
|
/** Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. */
|
|
10248
|
-
googleSearch?:
|
|
10407
|
+
googleSearch?: GoogleCloudAiplatformV1beta1ToolGoogleSearch;
|
|
10249
10408
|
/** Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search. */
|
|
10250
10409
|
googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
|
|
10251
10410
|
/** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
|
|
@@ -10281,17 +10440,16 @@ declare namespace gapi.client {
|
|
|
10281
10440
|
}
|
|
10282
10441
|
interface GoogleCloudAiplatformV1beta1ToolCallValidSpec {}
|
|
10283
10442
|
interface GoogleCloudAiplatformV1beta1ToolCodeExecution {}
|
|
10284
|
-
interface GoogleCloudAiplatformV1beta1ToolComputerUse {
|
|
10285
|
-
/** Required. The environment being operated. */
|
|
10286
|
-
environment?: string;
|
|
10287
|
-
}
|
|
10288
10443
|
interface GoogleCloudAiplatformV1beta1ToolConfig {
|
|
10289
10444
|
/** Optional. Function calling config. */
|
|
10290
10445
|
functionCallingConfig?: GoogleCloudAiplatformV1beta1FunctionCallingConfig;
|
|
10291
10446
|
/** Optional. Retrieval config. */
|
|
10292
10447
|
retrievalConfig?: GoogleCloudAiplatformV1beta1RetrievalConfig;
|
|
10293
10448
|
}
|
|
10294
|
-
interface GoogleCloudAiplatformV1beta1ToolGoogleSearch {
|
|
10449
|
+
interface GoogleCloudAiplatformV1beta1ToolGoogleSearch {
|
|
10450
|
+
/** Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"]. */
|
|
10451
|
+
excludeDomains?: string[];
|
|
10452
|
+
}
|
|
10295
10453
|
interface GoogleCloudAiplatformV1beta1ToolNameMatchInput {
|
|
10296
10454
|
/** Required. Repeated tool name match instances. */
|
|
10297
10455
|
instances?: GoogleCloudAiplatformV1beta1ToolNameMatchInstance[];
|
|
@@ -10618,6 +10776,8 @@ declare namespace gapi.client {
|
|
|
10618
10776
|
interface GoogleCloudAiplatformV1beta1TuningDataStats {
|
|
10619
10777
|
/** Output only. Statistics for distillation. */
|
|
10620
10778
|
distillationDataStats?: GoogleCloudAiplatformV1beta1DistillationDataStats;
|
|
10779
|
+
/** Output only. Statistics for preference optimization. */
|
|
10780
|
+
preferenceOptimizationDataStats?: GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats;
|
|
10621
10781
|
/** The SFT Tuning data stats. */
|
|
10622
10782
|
supervisedTuningDataStats?: GoogleCloudAiplatformV1beta1SupervisedTuningDataStats;
|
|
10623
10783
|
}
|
|
@@ -10638,6 +10798,8 @@ declare namespace gapi.client {
|
|
|
10638
10798
|
endTime?: string;
|
|
10639
10799
|
/** Output only. Only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. */
|
|
10640
10800
|
error?: GoogleRpcStatus;
|
|
10801
|
+
/** Output only. Evaluation runs for the Tuning Job. */
|
|
10802
|
+
evaluateDatasetRuns?: GoogleCloudAiplatformV1beta1EvaluateDatasetRun[];
|
|
10641
10803
|
/** Output only. The Experiment associated with this TuningJob. */
|
|
10642
10804
|
experiment?: string;
|
|
10643
10805
|
/** Optional. The labels with user-defined metadata to organize TuningJob and generated resources such as Model and Endpoint. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. */
|
|
@@ -10650,6 +10812,10 @@ declare namespace gapi.client {
|
|
|
10650
10812
|
partnerModelTuningSpec?: GoogleCloudAiplatformV1beta1PartnerModelTuningSpec;
|
|
10651
10813
|
/** Output only. The resource name of the PipelineJob associated with the TuningJob. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`. */
|
|
10652
10814
|
pipelineJob?: string;
|
|
10815
|
+
/** Tuning Spec for Preference Optimization. */
|
|
10816
|
+
preferenceOptimizationSpec?: GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec;
|
|
10817
|
+
/** The pre-tuned model for continuous tuning. */
|
|
10818
|
+
preTunedModel?: GoogleCloudAiplatformV1beta1PreTunedModel;
|
|
10653
10819
|
/** Output only. Reserved for future use. */
|
|
10654
10820
|
satisfiesPzi?: boolean;
|
|
10655
10821
|
/** Output only. Reserved for future use. */
|
|
@@ -10668,8 +10834,12 @@ declare namespace gapi.client {
|
|
|
10668
10834
|
tunedModelDisplayName?: string;
|
|
10669
10835
|
/** Output only. The tuning data statistics associated with this TuningJob. */
|
|
10670
10836
|
tuningDataStats?: GoogleCloudAiplatformV1beta1TuningDataStats;
|
|
10837
|
+
/** Output only. The detail state of the tuning job (while the overall `JobState` is running). */
|
|
10838
|
+
tuningJobState?: string;
|
|
10671
10839
|
/** Output only. Time when the TuningJob was most recently updated. */
|
|
10672
10840
|
updateTime?: string;
|
|
10841
|
+
/** Tuning Spec for Veo Tuning. */
|
|
10842
|
+
veoTuningSpec?: GoogleCloudAiplatformV1beta1VeoTuningSpec;
|
|
10673
10843
|
}
|
|
10674
10844
|
interface GoogleCloudAiplatformV1beta1UndeployIndexOperationMetadata {
|
|
10675
10845
|
/** The operation generic information. */
|
|
@@ -10869,6 +11039,22 @@ declare namespace gapi.client {
|
|
|
10869
11039
|
/** A string value. */
|
|
10870
11040
|
stringValue?: string;
|
|
10871
11041
|
}
|
|
11042
|
+
interface GoogleCloudAiplatformV1beta1VeoHyperParameters {
|
|
11043
|
+
/** Optional. Number of complete passes the model makes over the entire training dataset during training. */
|
|
11044
|
+
epochCount?: string;
|
|
11045
|
+
/** Optional. Multiplier for adjusting the default learning rate. */
|
|
11046
|
+
learningRateMultiplier?: number;
|
|
11047
|
+
/** Optional. The tuning task. Either I2V or T2V. */
|
|
11048
|
+
tuningTask?: string;
|
|
11049
|
+
}
|
|
11050
|
+
interface GoogleCloudAiplatformV1beta1VeoTuningSpec {
|
|
11051
|
+
/** Optional. Hyperparameters for Veo. */
|
|
11052
|
+
hyperParameters?: GoogleCloudAiplatformV1beta1VeoHyperParameters;
|
|
11053
|
+
/** Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset. */
|
|
11054
|
+
trainingDatasetUri?: string;
|
|
11055
|
+
/** Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset. */
|
|
11056
|
+
validationDatasetUri?: string;
|
|
11057
|
+
}
|
|
10872
11058
|
interface GoogleCloudAiplatformV1beta1VertexAISearch {
|
|
10873
11059
|
/** Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` */
|
|
10874
11060
|
datastore?: string;
|
|
@@ -10914,6 +11100,8 @@ declare namespace gapi.client {
|
|
|
10914
11100
|
interface GoogleCloudAiplatformV1beta1VideoMetadata {
|
|
10915
11101
|
/** Optional. The end offset of the video. */
|
|
10916
11102
|
endOffset?: string;
|
|
11103
|
+
/** Optional. The frame rate of the video sent to the model. If not specified, the default value will be 1.0. The fps range is (0.0, 24.0]. */
|
|
11104
|
+
fps?: number;
|
|
10917
11105
|
/** Optional. The start offset of the video. */
|
|
10918
11106
|
startOffset?: string;
|
|
10919
11107
|
}
|
|
@@ -39715,6 +39903,64 @@ declare namespace gapi.client {
|
|
|
39715
39903
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
39716
39904
|
uploadType?: string;
|
|
39717
39905
|
}): Request<GoogleCloudAiplatformV1beta1ListTuningJobsResponse>;
|
|
39906
|
+
/** Optimizes a prompt. */
|
|
39907
|
+
optimizePrompt(request: {
|
|
39908
|
+
/** V1 error format. */
|
|
39909
|
+
'$.xgafv'?: string;
|
|
39910
|
+
/** OAuth access token. */
|
|
39911
|
+
access_token?: string;
|
|
39912
|
+
/** Data format for response. */
|
|
39913
|
+
alt?: string;
|
|
39914
|
+
/** JSONP */
|
|
39915
|
+
callback?: string;
|
|
39916
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
39917
|
+
fields?: string;
|
|
39918
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
39919
|
+
key?: string;
|
|
39920
|
+
/** OAuth 2.0 token for the current user. */
|
|
39921
|
+
oauth_token?: string;
|
|
39922
|
+
/** Required. The resource name of the Location to optimize the prompt in. Format: `projects/{project}/locations/{location}` */
|
|
39923
|
+
parent: string;
|
|
39924
|
+
/** Returns response with indentations and line breaks. */
|
|
39925
|
+
prettyPrint?: boolean;
|
|
39926
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
39927
|
+
quotaUser?: string;
|
|
39928
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
39929
|
+
upload_protocol?: string;
|
|
39930
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
39931
|
+
uploadType?: string;
|
|
39932
|
+
/** Request body */
|
|
39933
|
+
resource: GoogleCloudAiplatformV1beta1OptimizePromptRequest;
|
|
39934
|
+
}): Request<GoogleCloudAiplatformV1beta1OptimizePromptResponse>;
|
|
39935
|
+
optimizePrompt(
|
|
39936
|
+
request: {
|
|
39937
|
+
/** V1 error format. */
|
|
39938
|
+
'$.xgafv'?: string;
|
|
39939
|
+
/** OAuth access token. */
|
|
39940
|
+
access_token?: string;
|
|
39941
|
+
/** Data format for response. */
|
|
39942
|
+
alt?: string;
|
|
39943
|
+
/** JSONP */
|
|
39944
|
+
callback?: string;
|
|
39945
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
39946
|
+
fields?: string;
|
|
39947
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
39948
|
+
key?: string;
|
|
39949
|
+
/** OAuth 2.0 token for the current user. */
|
|
39950
|
+
oauth_token?: string;
|
|
39951
|
+
/** Required. The resource name of the Location to optimize the prompt in. Format: `projects/{project}/locations/{location}` */
|
|
39952
|
+
parent: string;
|
|
39953
|
+
/** Returns response with indentations and line breaks. */
|
|
39954
|
+
prettyPrint?: boolean;
|
|
39955
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
39956
|
+
quotaUser?: string;
|
|
39957
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
39958
|
+
upload_protocol?: string;
|
|
39959
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
39960
|
+
uploadType?: string;
|
|
39961
|
+
},
|
|
39962
|
+
body: GoogleCloudAiplatformV1beta1OptimizePromptRequest,
|
|
39963
|
+
): Request<GoogleCloudAiplatformV1beta1OptimizePromptResponse>;
|
|
39718
39964
|
/** Rebase a TunedModel. */
|
|
39719
39965
|
rebaseTunedModel(request: {
|
|
39720
39966
|
/** V1 error format. */
|
|
@@ -40213,6 +40459,64 @@ declare namespace gapi.client {
|
|
|
40213
40459
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
40214
40460
|
uploadType?: string;
|
|
40215
40461
|
}): Request<GoogleCloudLocationListLocationsResponse>;
|
|
40462
|
+
/** Gets a Model's spec recommendations. This API is called by UI, SDK, and internal. */
|
|
40463
|
+
recommendSpec(request: {
|
|
40464
|
+
/** V1 error format. */
|
|
40465
|
+
'$.xgafv'?: string;
|
|
40466
|
+
/** OAuth access token. */
|
|
40467
|
+
access_token?: string;
|
|
40468
|
+
/** Data format for response. */
|
|
40469
|
+
alt?: string;
|
|
40470
|
+
/** JSONP */
|
|
40471
|
+
callback?: string;
|
|
40472
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
40473
|
+
fields?: string;
|
|
40474
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
40475
|
+
key?: string;
|
|
40476
|
+
/** OAuth 2.0 token for the current user. */
|
|
40477
|
+
oauth_token?: string;
|
|
40478
|
+
/** Required. The resource name of the Location from which to recommend specs. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
|
|
40479
|
+
parent: string;
|
|
40480
|
+
/** Returns response with indentations and line breaks. */
|
|
40481
|
+
prettyPrint?: boolean;
|
|
40482
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
40483
|
+
quotaUser?: string;
|
|
40484
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
40485
|
+
upload_protocol?: string;
|
|
40486
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
40487
|
+
uploadType?: string;
|
|
40488
|
+
/** Request body */
|
|
40489
|
+
resource: GoogleCloudAiplatformV1beta1RecommendSpecRequest;
|
|
40490
|
+
}): Request<GoogleCloudAiplatformV1beta1RecommendSpecResponse>;
|
|
40491
|
+
recommendSpec(
|
|
40492
|
+
request: {
|
|
40493
|
+
/** V1 error format. */
|
|
40494
|
+
'$.xgafv'?: string;
|
|
40495
|
+
/** OAuth access token. */
|
|
40496
|
+
access_token?: string;
|
|
40497
|
+
/** Data format for response. */
|
|
40498
|
+
alt?: string;
|
|
40499
|
+
/** JSONP */
|
|
40500
|
+
callback?: string;
|
|
40501
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
40502
|
+
fields?: string;
|
|
40503
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
40504
|
+
key?: string;
|
|
40505
|
+
/** OAuth 2.0 token for the current user. */
|
|
40506
|
+
oauth_token?: string;
|
|
40507
|
+
/** Required. The resource name of the Location from which to recommend specs. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
|
|
40508
|
+
parent: string;
|
|
40509
|
+
/** Returns response with indentations and line breaks. */
|
|
40510
|
+
prettyPrint?: boolean;
|
|
40511
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
40512
|
+
quotaUser?: string;
|
|
40513
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
40514
|
+
upload_protocol?: string;
|
|
40515
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
40516
|
+
uploadType?: string;
|
|
40517
|
+
},
|
|
40518
|
+
body: GoogleCloudAiplatformV1beta1RecommendSpecRequest,
|
|
40519
|
+
): Request<GoogleCloudAiplatformV1beta1RecommendSpecResponse>;
|
|
40216
40520
|
/** Retrieves relevant contexts for a query. */
|
|
40217
40521
|
retrieveContexts(request: {
|
|
40218
40522
|
/** V1 error format. */
|