@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240925 → 0.0.20241007
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 +227 -19
- 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: 20241007
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -45,6 +45,8 @@ declare namespace gapi.client {
|
|
|
45
45
|
image?: string;
|
|
46
46
|
/** RAI scores for generated image. */
|
|
47
47
|
imageRaiScores?: CloudAiLargeModelsVisionImageRAIScores;
|
|
48
|
+
/** Image size. The size of the image. Can be self reported, or computed from the image bytes. */
|
|
49
|
+
imageSize?: CloudAiLargeModelsVisionImageImageSize;
|
|
48
50
|
/** RAI info for image. */
|
|
49
51
|
raiInfo?: CloudAiLargeModelsVisionRaiInfo;
|
|
50
52
|
/** Semantic filter info for image. */
|
|
@@ -54,6 +56,11 @@ declare namespace gapi.client {
|
|
|
54
56
|
/** Path to another storage (typically Google Cloud Storage). */
|
|
55
57
|
uri?: string;
|
|
56
58
|
}
|
|
59
|
+
interface CloudAiLargeModelsVisionImageImageSize {
|
|
60
|
+
channels?: number;
|
|
61
|
+
height?: number;
|
|
62
|
+
width?: number;
|
|
63
|
+
}
|
|
57
64
|
interface CloudAiLargeModelsVisionImageRAIScores {
|
|
58
65
|
/** Agile watermark score for image. */
|
|
59
66
|
agileWatermarkDetectionScore?: number;
|
|
@@ -1103,6 +1110,8 @@ declare namespace gapi.client {
|
|
|
1103
1110
|
persistentResourceId?: string;
|
|
1104
1111
|
/** The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations */
|
|
1105
1112
|
protectedArtifactLocationId?: string;
|
|
1113
|
+
/** Optional. Configuration for PSC-I for CustomJob. */
|
|
1114
|
+
pscInterfaceConfig?: GoogleCloudAiplatformV1beta1PscInterfaceConfig;
|
|
1106
1115
|
/** Optional. A list of names for the reserved ip ranges under the VPC network that can be used for this job. If set, we will deploy the job within the provided ip ranges. Otherwise, the job will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. */
|
|
1107
1116
|
reservedIpRanges?: string[];
|
|
1108
1117
|
/** Scheduling options for a CustomJob. */
|
|
@@ -1539,6 +1548,12 @@ declare namespace gapi.client {
|
|
|
1539
1548
|
/** A list of double values. */
|
|
1540
1549
|
values?: number[];
|
|
1541
1550
|
}
|
|
1551
|
+
interface GoogleCloudAiplatformV1beta1DynamicRetrievalConfig {
|
|
1552
|
+
/** Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used. */
|
|
1553
|
+
dynamicThreshold?: number;
|
|
1554
|
+
/** The mode of the predictor to be used in dynamic retrieval. */
|
|
1555
|
+
mode?: string;
|
|
1556
|
+
}
|
|
1542
1557
|
interface GoogleCloudAiplatformV1beta1EncryptionSpec {
|
|
1543
1558
|
/** Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. The key needs to be in the same region as where the compute resource is created. */
|
|
1544
1559
|
kmsKeyName?: string;
|
|
@@ -2527,6 +2542,8 @@ declare namespace gapi.client {
|
|
|
2527
2542
|
syncSummary?: GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary;
|
|
2528
2543
|
}
|
|
2529
2544
|
interface GoogleCloudAiplatformV1beta1FeatureViewSyncConfig {
|
|
2545
|
+
/** Optional. If true, syncs the FeatureView in a continuous manner to Online Store. */
|
|
2546
|
+
continuous?: boolean;
|
|
2530
2547
|
/** Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *". */
|
|
2531
2548
|
cron?: string;
|
|
2532
2549
|
}
|
|
@@ -2816,6 +2833,8 @@ declare namespace gapi.client {
|
|
|
2816
2833
|
raiMediaFilteredReasons?: string[];
|
|
2817
2834
|
}
|
|
2818
2835
|
interface GoogleCloudAiplatformV1beta1GenerationConfig {
|
|
2836
|
+
/** Optional. If enabled, audio timestamp will be included in the request to the model. */
|
|
2837
|
+
audioTimestamp?: boolean;
|
|
2819
2838
|
/** Optional. Number of candidates to generate. */
|
|
2820
2839
|
candidateCount?: number;
|
|
2821
2840
|
/** Optional. Frequency penalties. */
|
|
@@ -2881,7 +2900,10 @@ declare namespace gapi.client {
|
|
|
2881
2900
|
/** Required. The type of the Google Drive resource. */
|
|
2882
2901
|
resourceType?: string;
|
|
2883
2902
|
}
|
|
2884
|
-
interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {
|
|
2903
|
+
interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {
|
|
2904
|
+
/** Specifies the dynamic retrieval configuration for the given source. */
|
|
2905
|
+
dynamicRetrievalConfig?: GoogleCloudAiplatformV1beta1DynamicRetrievalConfig;
|
|
2906
|
+
}
|
|
2885
2907
|
interface GoogleCloudAiplatformV1beta1GroundednessInput {
|
|
2886
2908
|
/** Required. Groundedness instance. */
|
|
2887
2909
|
instance?: GoogleCloudAiplatformV1beta1GroundednessInstance;
|
|
@@ -2929,6 +2951,8 @@ declare namespace gapi.client {
|
|
|
2929
2951
|
groundingChunks?: GoogleCloudAiplatformV1beta1GroundingChunk[];
|
|
2930
2952
|
/** Optional. List of grounding support. */
|
|
2931
2953
|
groundingSupports?: GoogleCloudAiplatformV1beta1GroundingSupport[];
|
|
2954
|
+
/** Optional. Output only. Retrieval metadata. */
|
|
2955
|
+
retrievalMetadata?: GoogleCloudAiplatformV1beta1RetrievalMetadata;
|
|
2932
2956
|
/** Optional. Queries executed by the retrieval tools. */
|
|
2933
2957
|
retrievalQueries?: string[];
|
|
2934
2958
|
/** Optional. Google search entry for the following-up web searches. */
|
|
@@ -3631,9 +3655,9 @@ declare namespace gapi.client {
|
|
|
3631
3655
|
interface GoogleCloudAiplatformV1beta1LogprobsResultCandidate {
|
|
3632
3656
|
/** The candidate's log probability. */
|
|
3633
3657
|
logProbability?: number;
|
|
3634
|
-
/** The candidate
|
|
3658
|
+
/** The candidate's token string value. */
|
|
3635
3659
|
token?: string;
|
|
3636
|
-
/** The candidate
|
|
3660
|
+
/** The candidate's token id value. */
|
|
3637
3661
|
tokenId?: number;
|
|
3638
3662
|
}
|
|
3639
3663
|
interface GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates {
|
|
@@ -4976,6 +5000,14 @@ declare namespace gapi.client {
|
|
|
4976
5000
|
/** Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. */
|
|
4977
5001
|
videoMetadata?: GoogleCloudAiplatformV1beta1VideoMetadata;
|
|
4978
5002
|
}
|
|
5003
|
+
interface GoogleCloudAiplatformV1beta1PartnerModelTuningSpec {
|
|
5004
|
+
/** Hyperparameters for tuning. The accepted hyper_parameters and their valid range of values will differ depending on the base model. */
|
|
5005
|
+
hyperParameters?: {[P in string]: any};
|
|
5006
|
+
/** Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
5007
|
+
trainingDatasetUri?: string;
|
|
5008
|
+
/** Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
5009
|
+
validationDatasetUri?: string;
|
|
5010
|
+
}
|
|
4979
5011
|
interface GoogleCloudAiplatformV1beta1PauseModelDeploymentMonitoringJobRequest {}
|
|
4980
5012
|
interface GoogleCloudAiplatformV1beta1PauseScheduleRequest {}
|
|
4981
5013
|
interface GoogleCloudAiplatformV1beta1PersistentDiskSpec {
|
|
@@ -5039,14 +5071,16 @@ declare namespace gapi.client {
|
|
|
5039
5071
|
name?: string;
|
|
5040
5072
|
/** The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the Pipeline Job's workload should be peered. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. Private services access must already be configured for the network. Pipeline job will apply the network configuration to the Google Cloud resources being launched, if applied, such as Vertex AI Training or Dataflow job. If left unspecified, the workload is not peered with any network. */
|
|
5041
5073
|
network?: string;
|
|
5042
|
-
/**
|
|
5074
|
+
/** Optional. The original pipeline job id if this pipeline job is a rerun of a previous pipeline job. */
|
|
5043
5075
|
originalPipelineJobId?: string;
|
|
5044
5076
|
/** The spec of the pipeline. */
|
|
5045
5077
|
pipelineSpec?: {[P in string]: any};
|
|
5046
|
-
/**
|
|
5078
|
+
/** Optional. The rerun configs for each task in the pipeline job. By default, the rerun will: 1. Use the same input artifacts as the original run. 2. Use the same input parameters as the original run. 3. Skip all the tasks that are already succeeded in the original run. 4. Rerun all the tasks that are not succeeded in the original run. By providing this field, users can override the default behavior and specify the rerun config for each task. */
|
|
5047
5079
|
pipelineTaskRerunConfigs?: GoogleCloudAiplatformV1beta1PipelineTaskRerunConfig[];
|
|
5048
5080
|
/** Optional. Whether to do component level validations before job creation. */
|
|
5049
5081
|
preflightValidations?: boolean;
|
|
5082
|
+
/** Optional. Configuration for PSC-I for PipelineJob. */
|
|
5083
|
+
pscInterfaceConfig?: GoogleCloudAiplatformV1beta1PscInterfaceConfig;
|
|
5050
5084
|
/** A list of names for the reserved ip ranges under the VPC network that can be used for this Pipeline Job's workload. If set, we will deploy the Pipeline Job's workload within the provided ip ranges. Otherwise, the job will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. */
|
|
5051
5085
|
reservedIpRanges?: string[];
|
|
5052
5086
|
/** Runtime config of the pipeline. */
|
|
@@ -5163,27 +5197,27 @@ declare namespace gapi.client {
|
|
|
5163
5197
|
job?: string;
|
|
5164
5198
|
}
|
|
5165
5199
|
interface GoogleCloudAiplatformV1beta1PipelineTaskRerunConfig {
|
|
5166
|
-
/**
|
|
5200
|
+
/** Optional. The runtime input of the task overridden by the user. */
|
|
5167
5201
|
inputs?: GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigInputs;
|
|
5168
|
-
/**
|
|
5202
|
+
/** Optional. Whether to skip downstream tasks. Default value is False. */
|
|
5169
5203
|
skipDownstreamTasks?: boolean;
|
|
5170
|
-
/**
|
|
5204
|
+
/** Optional. Whether to skip this task. Default value is False. */
|
|
5171
5205
|
skipTask?: boolean;
|
|
5172
|
-
/**
|
|
5206
|
+
/** Optional. The system generated ID of the task. Retrieved from original run. */
|
|
5173
5207
|
taskId?: string;
|
|
5174
|
-
/**
|
|
5208
|
+
/** Optional. The name of the task. */
|
|
5175
5209
|
taskName?: string;
|
|
5176
5210
|
}
|
|
5177
5211
|
interface GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigArtifactList {
|
|
5178
|
-
/**
|
|
5212
|
+
/** Optional. A list of artifact metadata. */
|
|
5179
5213
|
artifacts?: GoogleCloudAiplatformV1beta1RuntimeArtifact[];
|
|
5180
5214
|
}
|
|
5181
5215
|
interface GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigInputs {
|
|
5182
|
-
/**
|
|
5216
|
+
/** Optional. Input artifacts. */
|
|
5183
5217
|
artifacts?: {
|
|
5184
5218
|
[P in string]: GoogleCloudAiplatformV1beta1PipelineTaskRerunConfigArtifactList;
|
|
5185
5219
|
};
|
|
5186
|
-
/**
|
|
5220
|
+
/** Optional. Input parameters. */
|
|
5187
5221
|
parameterValues?: {[P in string]: any};
|
|
5188
5222
|
}
|
|
5189
5223
|
interface GoogleCloudAiplatformV1beta1PipelineTemplateMetadata {
|
|
@@ -6057,6 +6091,10 @@ declare namespace gapi.client {
|
|
|
6057
6091
|
/** Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. */
|
|
6058
6092
|
vertexRagStore?: GoogleCloudAiplatformV1beta1VertexRagStore;
|
|
6059
6093
|
}
|
|
6094
|
+
interface GoogleCloudAiplatformV1beta1RetrievalMetadata {
|
|
6095
|
+
/** Optional. Score indicating how likely information from Google Search could help answer the prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most likely. This score is only populated when Google Search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger Google Search. */
|
|
6096
|
+
googleSearchDynamicRetrievalScore?: number;
|
|
6097
|
+
}
|
|
6060
6098
|
interface GoogleCloudAiplatformV1beta1RetrieveContextsRequest {
|
|
6061
6099
|
/** Required. Single RAG retrieve query. */
|
|
6062
6100
|
query?: GoogleCloudAiplatformV1beta1RagQuery;
|
|
@@ -6300,7 +6338,7 @@ declare namespace gapi.client {
|
|
|
6300
6338
|
default?: any;
|
|
6301
6339
|
/** Optional. The description of the data. */
|
|
6302
6340
|
description?: string;
|
|
6303
|
-
/** Optional. Possible values of the element of
|
|
6341
|
+
/** Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:["101", "201", "301"]} */
|
|
6304
6342
|
enum?: string[];
|
|
6305
6343
|
/** Optional. Example of the object. Will only populated when the object is the root. */
|
|
6306
6344
|
example?: any;
|
|
@@ -6779,6 +6817,22 @@ declare namespace gapi.client {
|
|
|
6779
6817
|
/** Error status. This will be serialized into the enum name e.g. "NOT_FOUND". */
|
|
6780
6818
|
status?: string;
|
|
6781
6819
|
}
|
|
6820
|
+
interface GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfig {
|
|
6821
|
+
/** If set, skip finding claim attributions (i.e not generate grounding citation). */
|
|
6822
|
+
disableAttribution?: boolean;
|
|
6823
|
+
/** The sources for the grounding checking. */
|
|
6824
|
+
sources?: GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfigSourceEntry[];
|
|
6825
|
+
}
|
|
6826
|
+
interface GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfigSourceEntry {
|
|
6827
|
+
/** The uri of the Vertex AI Search data source. Deprecated. Use vertex_ai_search_datastore instead. */
|
|
6828
|
+
enterpriseDatastore?: string;
|
|
6829
|
+
/** The grounding text passed inline with the Predict API. It can support up to 1 million bytes. */
|
|
6830
|
+
inlineContext?: string;
|
|
6831
|
+
/** The type of the grounding checking source. */
|
|
6832
|
+
type?: string;
|
|
6833
|
+
/** The uri of the Vertex AI Search data source. */
|
|
6834
|
+
vertexAiSearchDatastore?: string;
|
|
6835
|
+
}
|
|
6782
6836
|
interface GoogleCloudAiplatformV1beta1SchemaPredictParamsImageClassificationPredictionParams {
|
|
6783
6837
|
/** The Model only returns predictions with at least this confidence score. Default value is 0.0 */
|
|
6784
6838
|
confidenceThreshold?: number;
|
|
@@ -6950,6 +7004,62 @@ declare namespace gapi.client {
|
|
|
6950
7004
|
/** The topmost coordinate of the bounding box. */
|
|
6951
7005
|
yMin?: number;
|
|
6952
7006
|
}
|
|
7007
|
+
interface GoogleCloudAiplatformV1beta1SchemaPromptApiSchema {
|
|
7008
|
+
/** The Schema version that represents changes to the API behavior. */
|
|
7009
|
+
apiSchemaVersion?: string;
|
|
7010
|
+
/** A list of execution instances for constructing a ready-to-use prompt. */
|
|
7011
|
+
executions?: GoogleCloudAiplatformV1beta1SchemaPromptInstancePromptExecution[];
|
|
7012
|
+
/** Multimodal prompt which embeds preambles to prompt string. */
|
|
7013
|
+
multimodalPrompt?: GoogleCloudAiplatformV1beta1SchemaPromptSpecMultimodalPrompt;
|
|
7014
|
+
/** The prompt variation that stores preambles in separate fields. */
|
|
7015
|
+
structuredPrompt?: GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt;
|
|
7016
|
+
}
|
|
7017
|
+
interface GoogleCloudAiplatformV1beta1SchemaPromptInstancePromptExecution {
|
|
7018
|
+
/** Maps variable names to their value. */
|
|
7019
|
+
arguments?: {
|
|
7020
|
+
[P in string]: GoogleCloudAiplatformV1beta1SchemaPromptInstanceVariableValue;
|
|
7021
|
+
};
|
|
7022
|
+
}
|
|
7023
|
+
interface GoogleCloudAiplatformV1beta1SchemaPromptInstanceVariableValue {
|
|
7024
|
+
/** The parts of the variable value. */
|
|
7025
|
+
partList?: GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList;
|
|
7026
|
+
}
|
|
7027
|
+
interface GoogleCloudAiplatformV1beta1SchemaPromptSpecMultimodalPrompt {
|
|
7028
|
+
/** The prompt message. */
|
|
7029
|
+
promptMessage?: GoogleCloudAiplatformV1beta1SchemaPromptSpecPromptMessage;
|
|
7030
|
+
}
|
|
7031
|
+
interface GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList {
|
|
7032
|
+
/** A list of elements that can be part of a prompt. */
|
|
7033
|
+
parts?: GoogleCloudAiplatformV1beta1Part[];
|
|
7034
|
+
}
|
|
7035
|
+
interface GoogleCloudAiplatformV1beta1SchemaPromptSpecPromptMessage {
|
|
7036
|
+
/** The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. */
|
|
7037
|
+
contents?: GoogleCloudAiplatformV1beta1Content[];
|
|
7038
|
+
/** Generation config. */
|
|
7039
|
+
generationConfig?: GoogleCloudAiplatformV1beta1GenerationConfig;
|
|
7040
|
+
/** The model name. */
|
|
7041
|
+
model?: string;
|
|
7042
|
+
/** Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
|
|
7043
|
+
safetySettings?: GoogleCloudAiplatformV1beta1SafetySetting[];
|
|
7044
|
+
/** 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. */
|
|
7045
|
+
systemInstruction?: GoogleCloudAiplatformV1beta1Content;
|
|
7046
|
+
/** Tool config. This config is shared for all tools provided in the request. */
|
|
7047
|
+
toolConfig?: GoogleCloudAiplatformV1beta1ToolConfig;
|
|
7048
|
+
/** 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. */
|
|
7049
|
+
tools?: GoogleCloudAiplatformV1beta1Tool[];
|
|
7050
|
+
}
|
|
7051
|
+
interface GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt {
|
|
7052
|
+
/** Preamble: The context of the prompt. */
|
|
7053
|
+
context?: GoogleCloudAiplatformV1beta1Content;
|
|
7054
|
+
/** Preamble: A set of examples for expected model response. */
|
|
7055
|
+
examples?: GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList[];
|
|
7056
|
+
/** Preamble: The input prefixes before each example input. */
|
|
7057
|
+
inputPrefixes?: string[];
|
|
7058
|
+
/** Preamble: The output prefixes before each example output. */
|
|
7059
|
+
outputPrefixes?: string[];
|
|
7060
|
+
/** The prompt message. */
|
|
7061
|
+
promptMessage?: GoogleCloudAiplatformV1beta1SchemaPromptSpecPromptMessage;
|
|
7062
|
+
}
|
|
6953
7063
|
interface GoogleCloudAiplatformV1beta1SchemaTablesDatasetMetadata {
|
|
6954
7064
|
inputConfig?: GoogleCloudAiplatformV1beta1SchemaTablesDatasetMetadataInputConfig;
|
|
6955
7065
|
}
|
|
@@ -6989,6 +7099,44 @@ declare namespace gapi.client {
|
|
|
6989
7099
|
/** The segment of the text content. */
|
|
6990
7100
|
textSegment?: GoogleCloudAiplatformV1beta1SchemaTextSegment;
|
|
6991
7101
|
}
|
|
7102
|
+
interface GoogleCloudAiplatformV1beta1SchemaTextPromptDatasetMetadata {
|
|
7103
|
+
/** Number of candidates. */
|
|
7104
|
+
candidateCount?: string;
|
|
7105
|
+
/** The Google Cloud Storage URI that stores the prompt data. */
|
|
7106
|
+
gcsUri?: string;
|
|
7107
|
+
/** Grounding checking configuration. */
|
|
7108
|
+
groundingConfig?: GoogleCloudAiplatformV1beta1SchemaPredictParamsGroundingConfig;
|
|
7109
|
+
/** Whether the prompt dataset has prompt variable. */
|
|
7110
|
+
hasPromptVariable?: boolean;
|
|
7111
|
+
/** Whether or not the user has enabled logit probabilities in the model parameters. */
|
|
7112
|
+
logprobs?: boolean;
|
|
7113
|
+
/** Value of the maximum number of tokens generated set when the dataset was saved. */
|
|
7114
|
+
maxOutputTokens?: string;
|
|
7115
|
+
/** User-created prompt note. Note size limit is 2KB. */
|
|
7116
|
+
note?: string;
|
|
7117
|
+
/** The API schema of the prompt to support both UI and SDK usages. */
|
|
7118
|
+
promptApiSchema?: GoogleCloudAiplatformV1beta1SchemaPromptApiSchema;
|
|
7119
|
+
/** Type of the prompt dataset. */
|
|
7120
|
+
promptType?: string;
|
|
7121
|
+
/** Seeding enables model to return a deterministic response on a best effort basis. Determinism isn't guaranteed. This field determines whether or not seeding is enabled. */
|
|
7122
|
+
seedEnabled?: boolean;
|
|
7123
|
+
/** The actual value of the seed. */
|
|
7124
|
+
seedValue?: string;
|
|
7125
|
+
/** Customized stop sequences. */
|
|
7126
|
+
stopSequences?: string[];
|
|
7127
|
+
/** The content of the prompt dataset system instruction. */
|
|
7128
|
+
systemInstruction?: string;
|
|
7129
|
+
/** The Google Cloud Storage URI that stores the system instruction, starting with gs://. */
|
|
7130
|
+
systemInstructionGcsUri?: string;
|
|
7131
|
+
/** Temperature value used for sampling set when the dataset was saved. This value is used to tune the degree of randomness. */
|
|
7132
|
+
temperature?: number;
|
|
7133
|
+
/** The content of the prompt dataset. */
|
|
7134
|
+
text?: string;
|
|
7135
|
+
/** Top K value set when the dataset was saved. This value determines how many candidates with highest probability from the vocab would be selected for each decoding step. */
|
|
7136
|
+
topK?: string;
|
|
7137
|
+
/** Top P value set when the dataset was saved. Given topK tokens for decoding, top candidates will be selected until the sum of their probabilities is topP. */
|
|
7138
|
+
topP?: number;
|
|
7139
|
+
}
|
|
6992
7140
|
interface GoogleCloudAiplatformV1beta1SchemaTextSegment {
|
|
6993
7141
|
/** The text content in the segment for output only. */
|
|
6994
7142
|
content?: string;
|
|
@@ -8431,7 +8579,7 @@ declare namespace gapi.client {
|
|
|
8431
8579
|
/** 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 128 function declarations can be provided. */
|
|
8432
8580
|
functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];
|
|
8433
8581
|
/** Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search. */
|
|
8434
|
-
googleSearchRetrieval?:
|
|
8582
|
+
googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
|
|
8435
8583
|
/** 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. */
|
|
8436
8584
|
retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
|
|
8437
8585
|
}
|
|
@@ -8523,7 +8671,7 @@ declare namespace gapi.client {
|
|
|
8523
8671
|
toolParameterKvMatchMetricValues?: GoogleCloudAiplatformV1beta1ToolParameterKVMatchMetricValue[];
|
|
8524
8672
|
}
|
|
8525
8673
|
interface GoogleCloudAiplatformV1beta1ToolParameterKVMatchSpec {
|
|
8526
|
-
/** Optional. Whether to use
|
|
8674
|
+
/** Optional. Whether to use STRICT string match on parameter values. */
|
|
8527
8675
|
useStrictStringMatch?: boolean;
|
|
8528
8676
|
}
|
|
8529
8677
|
interface GoogleCloudAiplatformV1beta1ToolUseExample {
|
|
@@ -8667,6 +8815,8 @@ declare namespace gapi.client {
|
|
|
8667
8815
|
labels?: {[P in string]: string};
|
|
8668
8816
|
/** Output only. Identifier. Resource name of a TuningJob. Format: `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` */
|
|
8669
8817
|
name?: string;
|
|
8818
|
+
/** Tuning Spec for open sourced and third party Partner models. */
|
|
8819
|
+
partnerModelTuningSpec?: GoogleCloudAiplatformV1beta1PartnerModelTuningSpec;
|
|
8670
8820
|
/** Output only. The resource name of the PipelineJob associated with the TuningJob. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`. */
|
|
8671
8821
|
pipelineJob?: string;
|
|
8672
8822
|
/** Output only. Time when the TuningJob for the first time entered the `JOB_STATE_RUNNING` state. */
|
|
@@ -15608,6 +15758,64 @@ declare namespace gapi.client {
|
|
|
15608
15758
|
}): Request<GoogleLongrunningOperation>;
|
|
15609
15759
|
}
|
|
15610
15760
|
interface FeaturesResource {
|
|
15761
|
+
/** Creates a batch of Features in a given FeatureGroup. */
|
|
15762
|
+
batchCreate(request: {
|
|
15763
|
+
/** V1 error format. */
|
|
15764
|
+
'$.xgafv'?: string;
|
|
15765
|
+
/** OAuth access token. */
|
|
15766
|
+
access_token?: string;
|
|
15767
|
+
/** Data format for response. */
|
|
15768
|
+
alt?: string;
|
|
15769
|
+
/** JSONP */
|
|
15770
|
+
callback?: string;
|
|
15771
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15772
|
+
fields?: string;
|
|
15773
|
+
/** 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. */
|
|
15774
|
+
key?: string;
|
|
15775
|
+
/** OAuth 2.0 token for the current user. */
|
|
15776
|
+
oauth_token?: string;
|
|
15777
|
+
/** Required. The resource name of the EntityType/FeatureGroup to create the batch of Features under. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}` */
|
|
15778
|
+
parent: string;
|
|
15779
|
+
/** Returns response with indentations and line breaks. */
|
|
15780
|
+
prettyPrint?: boolean;
|
|
15781
|
+
/** 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. */
|
|
15782
|
+
quotaUser?: string;
|
|
15783
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15784
|
+
upload_protocol?: string;
|
|
15785
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15786
|
+
uploadType?: string;
|
|
15787
|
+
/** Request body */
|
|
15788
|
+
resource: GoogleCloudAiplatformV1beta1BatchCreateFeaturesRequest;
|
|
15789
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15790
|
+
batchCreate(
|
|
15791
|
+
request: {
|
|
15792
|
+
/** V1 error format. */
|
|
15793
|
+
'$.xgafv'?: string;
|
|
15794
|
+
/** OAuth access token. */
|
|
15795
|
+
access_token?: string;
|
|
15796
|
+
/** Data format for response. */
|
|
15797
|
+
alt?: string;
|
|
15798
|
+
/** JSONP */
|
|
15799
|
+
callback?: string;
|
|
15800
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15801
|
+
fields?: string;
|
|
15802
|
+
/** 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. */
|
|
15803
|
+
key?: string;
|
|
15804
|
+
/** OAuth 2.0 token for the current user. */
|
|
15805
|
+
oauth_token?: string;
|
|
15806
|
+
/** Required. The resource name of the EntityType/FeatureGroup to create the batch of Features under. Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}` */
|
|
15807
|
+
parent: string;
|
|
15808
|
+
/** Returns response with indentations and line breaks. */
|
|
15809
|
+
prettyPrint?: boolean;
|
|
15810
|
+
/** 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. */
|
|
15811
|
+
quotaUser?: string;
|
|
15812
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15813
|
+
upload_protocol?: string;
|
|
15814
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15815
|
+
uploadType?: string;
|
|
15816
|
+
},
|
|
15817
|
+
body: GoogleCloudAiplatformV1beta1BatchCreateFeaturesRequest
|
|
15818
|
+
): Request<GoogleLongrunningOperation>;
|
|
15611
15819
|
/** Creates a new Feature in a given FeatureGroup. */
|
|
15612
15820
|
create(request: {
|
|
15613
15821
|
/** V1 error format. */
|
|
@@ -29291,7 +29499,7 @@ declare namespace gapi.client {
|
|
|
29291
29499
|
prettyPrint?: boolean;
|
|
29292
29500
|
/** 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. */
|
|
29293
29501
|
quotaUser?: string;
|
|
29294
|
-
/**
|
|
29502
|
+
/** Optional. Mask specifying which fields to update. */
|
|
29295
29503
|
updateMask?: string;
|
|
29296
29504
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
29297
29505
|
upload_protocol?: string;
|
|
@@ -29322,7 +29530,7 @@ declare namespace gapi.client {
|
|
|
29322
29530
|
prettyPrint?: boolean;
|
|
29323
29531
|
/** 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. */
|
|
29324
29532
|
quotaUser?: string;
|
|
29325
|
-
/**
|
|
29533
|
+
/** Optional. Mask specifying which fields to update. */
|
|
29326
29534
|
updateMask?: string;
|
|
29327
29535
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
29328
29536
|
upload_protocol?: string;
|