@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240501 → 0.0.20240510
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 +374 -841
- 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: 20240510
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -28,10 +28,6 @@ declare namespace gapi.client {
|
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace aiplatform {
|
|
31
|
-
interface CloudAiLargeModelsVisionEmbedVideoResponse {
|
|
32
|
-
/** The embedding vector for the video. */
|
|
33
|
-
videoEmbeddings?: any[];
|
|
34
|
-
}
|
|
35
31
|
interface CloudAiLargeModelsVisionFilteredText {
|
|
36
32
|
/** Confidence level */
|
|
37
33
|
category?: string;
|
|
@@ -80,10 +76,6 @@ declare namespace gapi.client {
|
|
|
80
76
|
/** Video */
|
|
81
77
|
video?: CloudAiLargeModelsVisionVideo;
|
|
82
78
|
}
|
|
83
|
-
interface CloudAiLargeModelsVisionMediaGenerateContentResponse {
|
|
84
|
-
/** Response to the user's request. */
|
|
85
|
-
response?: CloudAiNlLlmProtoServiceGenerateMultiModalResponse;
|
|
86
|
-
}
|
|
87
79
|
interface CloudAiLargeModelsVisionNamedBoundingBox {
|
|
88
80
|
classes?: string[];
|
|
89
81
|
entities?: string[];
|
|
@@ -99,22 +91,6 @@ declare namespace gapi.client {
|
|
|
99
91
|
/** List of rai scores mapping to the rai categories. Rounded to 1 decimal place. */
|
|
100
92
|
scores?: number[];
|
|
101
93
|
}
|
|
102
|
-
interface CloudAiLargeModelsVisionReasonVideoResponse {
|
|
103
|
-
/** Generated text responses. The generated responses for different segments within the same video. */
|
|
104
|
-
responses?: CloudAiLargeModelsVisionReasonVideoResponseTextResponse[];
|
|
105
|
-
}
|
|
106
|
-
interface CloudAiLargeModelsVisionReasonVideoResponseTextResponse {
|
|
107
|
-
/** Partition of the caption's video in time. This field is intended for video captioning. To represent the start time and end time of the caption's video. */
|
|
108
|
-
relativeTemporalPartition?: CloudAiLargeModelsVisionRelativeTemporalPartition;
|
|
109
|
-
/** Text information */
|
|
110
|
-
text?: string;
|
|
111
|
-
}
|
|
112
|
-
interface CloudAiLargeModelsVisionRelativeTemporalPartition {
|
|
113
|
-
/** End time offset of the partition. */
|
|
114
|
-
endOffset?: string;
|
|
115
|
-
/** Start time offset of the partition. */
|
|
116
|
-
startOffset?: string;
|
|
117
|
-
}
|
|
118
94
|
interface CloudAiLargeModelsVisionSemanticFilterResponse {
|
|
119
95
|
/** Class labels of the bounding boxes that failed the semantic filtering. Bounding box coordinates. */
|
|
120
96
|
namedBoundingBoxes?: CloudAiLargeModelsVisionNamedBoundingBox[];
|
|
@@ -127,225 +103,6 @@ declare namespace gapi.client {
|
|
|
127
103
|
/** Raw bytes. */
|
|
128
104
|
video?: string;
|
|
129
105
|
}
|
|
130
|
-
interface CloudAiNlLlmProtoServiceCandidate {
|
|
131
|
-
/** Source attribution of the generated content. */
|
|
132
|
-
citationMetadata?: CloudAiNlLlmProtoServiceCitationMetadata;
|
|
133
|
-
/** Content of the candidate. */
|
|
134
|
-
content?: CloudAiNlLlmProtoServiceContent;
|
|
135
|
-
/** A string that describes the filtering behavior in more detail. Only filled when reason is set. */
|
|
136
|
-
finishMessage?: string;
|
|
137
|
-
/** The reason why the model stopped generating tokens. */
|
|
138
|
-
finishReason?: string;
|
|
139
|
-
/** Grounding metadata. Combine with the facts list from response to generate grounding citations for this choice. */
|
|
140
|
-
groundingMetadata?: LearningGenaiRootGroundingMetadata;
|
|
141
|
-
/** Index of the candidate. */
|
|
142
|
-
index?: number;
|
|
143
|
-
/** Safety ratings of the generated content. */
|
|
144
|
-
safetyRatings?: CloudAiNlLlmProtoServiceSafetyRating[];
|
|
145
|
-
}
|
|
146
|
-
interface CloudAiNlLlmProtoServiceCitation {
|
|
147
|
-
/** End index into the content. */
|
|
148
|
-
endIndex?: number;
|
|
149
|
-
/** License of the attribution. */
|
|
150
|
-
license?: string;
|
|
151
|
-
/** Publication date of the attribution. */
|
|
152
|
-
publicationDate?: GoogleTypeDate;
|
|
153
|
-
/** Start index into the content. */
|
|
154
|
-
startIndex?: number;
|
|
155
|
-
/** Title of the attribution. */
|
|
156
|
-
title?: string;
|
|
157
|
-
/** Url reference of the attribution. */
|
|
158
|
-
uri?: string;
|
|
159
|
-
}
|
|
160
|
-
interface CloudAiNlLlmProtoServiceCitationMetadata {
|
|
161
|
-
/** List of citations. */
|
|
162
|
-
citations?: CloudAiNlLlmProtoServiceCitation[];
|
|
163
|
-
}
|
|
164
|
-
interface CloudAiNlLlmProtoServiceContent {
|
|
165
|
-
/** The parts of the message. */
|
|
166
|
-
parts?: CloudAiNlLlmProtoServicePart[];
|
|
167
|
-
/** The role of the current conversation participant. */
|
|
168
|
-
role?: string;
|
|
169
|
-
}
|
|
170
|
-
interface CloudAiNlLlmProtoServiceFact {
|
|
171
|
-
/** Query that is used to retrieve this fact. */
|
|
172
|
-
query?: string;
|
|
173
|
-
/** If present, the summary/snippet of the fact. */
|
|
174
|
-
summary?: string;
|
|
175
|
-
/** If present, it refers to the title of this fact. */
|
|
176
|
-
title?: string;
|
|
177
|
-
/** If present, this URL links to the webpage of the fact. */
|
|
178
|
-
url?: string;
|
|
179
|
-
}
|
|
180
|
-
interface CloudAiNlLlmProtoServiceFunctionCall {
|
|
181
|
-
/** The function parameters and values in JSON format. */
|
|
182
|
-
args?: {[P in string]: any};
|
|
183
|
-
/** Required. The name of the function to call. */
|
|
184
|
-
name?: string;
|
|
185
|
-
}
|
|
186
|
-
interface CloudAiNlLlmProtoServiceFunctionResponse {
|
|
187
|
-
/** Required. The name of the function to call. */
|
|
188
|
-
name?: string;
|
|
189
|
-
/** Required. The function response in JSON object format. */
|
|
190
|
-
response?: {[P in string]: any};
|
|
191
|
-
}
|
|
192
|
-
interface CloudAiNlLlmProtoServiceGenerateMultiModalResponse {
|
|
193
|
-
/** Possible candidate responses to the conversation up until this point. */
|
|
194
|
-
candidates?: CloudAiNlLlmProtoServiceCandidate[];
|
|
195
|
-
/** Debug information containing message metadata. Clients should not consume this field, and this is only populated for Flow Runner path. */
|
|
196
|
-
debugMetadata?: CloudAiNlLlmProtoServiceMessageMetadata;
|
|
197
|
-
/** External facts retrieved for factuality/grounding. */
|
|
198
|
-
facts?: CloudAiNlLlmProtoServiceFact[];
|
|
199
|
-
/** Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations. */
|
|
200
|
-
promptFeedback?: CloudAiNlLlmProtoServicePromptFeedback;
|
|
201
|
-
/** Billable prediction metrics. */
|
|
202
|
-
reportingMetrics?: IntelligenceCloudAutomlXpsReportingMetrics;
|
|
203
|
-
/** Usage metadata about the response(s). */
|
|
204
|
-
usageMetadata?: CloudAiNlLlmProtoServiceUsageMetadata;
|
|
205
|
-
}
|
|
206
|
-
interface CloudAiNlLlmProtoServiceMessageMetadata {
|
|
207
|
-
/** Factuality-related debug metadata. */
|
|
208
|
-
factualityDebugMetadata?: LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata;
|
|
209
|
-
/** Filter metadata of the input messages. */
|
|
210
|
-
inputFilterInfo?: LearningServingLlmMessageMetadata;
|
|
211
|
-
/** This score is generated by the router model to decide which model to use */
|
|
212
|
-
modelRoutingDecision?: LearningGenaiRootRoutingDecision;
|
|
213
|
-
/** Filter metadata of the output messages. */
|
|
214
|
-
outputFilterInfo?: LearningServingLlmMessageMetadata[];
|
|
215
|
-
}
|
|
216
|
-
interface CloudAiNlLlmProtoServicePart {
|
|
217
|
-
/** Document metadata. The metadata should only be used by the Cloud LLM when supporting document mime types. It will only be populated when this image input part is converted from a document input part. */
|
|
218
|
-
documentMetadata?: CloudAiNlLlmProtoServicePartDocumentMetadata;
|
|
219
|
-
/** URI-based data. */
|
|
220
|
-
fileData?: CloudAiNlLlmProtoServicePartFileData;
|
|
221
|
-
/** Function call data. */
|
|
222
|
-
functionCall?: CloudAiNlLlmProtoServiceFunctionCall;
|
|
223
|
-
/** Function response data. */
|
|
224
|
-
functionResponse?: CloudAiNlLlmProtoServiceFunctionResponse;
|
|
225
|
-
/** Inline bytes data */
|
|
226
|
-
inlineData?: CloudAiNlLlmProtoServicePartBlob;
|
|
227
|
-
/** Metadata provides extra info for building the LM Root request. Note: High enough tag number for internal only fields. */
|
|
228
|
-
lmRootMetadata?: CloudAiNlLlmProtoServicePartLMRootMetadata;
|
|
229
|
-
/** Text input. */
|
|
230
|
-
text?: string;
|
|
231
|
-
/** Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. */
|
|
232
|
-
videoMetadata?: CloudAiNlLlmProtoServicePartVideoMetadata;
|
|
233
|
-
}
|
|
234
|
-
interface CloudAiNlLlmProtoServicePartBlob {
|
|
235
|
-
/** Inline data. */
|
|
236
|
-
data?: string;
|
|
237
|
-
/** The mime type corresponding to this input. */
|
|
238
|
-
mimeType?: string;
|
|
239
|
-
/** Original file data where the blob comes from. */
|
|
240
|
-
originalFileData?: CloudAiNlLlmProtoServicePartFileData;
|
|
241
|
-
}
|
|
242
|
-
interface CloudAiNlLlmProtoServicePartDocumentMetadata {
|
|
243
|
-
/** The original document blob. */
|
|
244
|
-
originalDocumentBlob?: CloudAiNlLlmProtoServicePartBlob;
|
|
245
|
-
/** The (1-indexed) page number of the image in the original document. The first page carries the original document content and mime type. */
|
|
246
|
-
pageNumber?: number;
|
|
247
|
-
}
|
|
248
|
-
interface CloudAiNlLlmProtoServicePartFileData {
|
|
249
|
-
/** Inline data. */
|
|
250
|
-
fileUri?: string;
|
|
251
|
-
/** The mime type corresponding to this input. */
|
|
252
|
-
mimeType?: string;
|
|
253
|
-
}
|
|
254
|
-
interface CloudAiNlLlmProtoServicePartLMRootMetadata {
|
|
255
|
-
/** Chunk id that will be used when mapping the part to the LM Root's chunk. */
|
|
256
|
-
chunkId?: string;
|
|
257
|
-
}
|
|
258
|
-
interface CloudAiNlLlmProtoServicePartVideoMetadata {
|
|
259
|
-
/** The end offset of the video. */
|
|
260
|
-
endOffset?: string;
|
|
261
|
-
/** The start offset of the video. */
|
|
262
|
-
startOffset?: string;
|
|
263
|
-
}
|
|
264
|
-
interface CloudAiNlLlmProtoServicePromptFeedback {
|
|
265
|
-
/** Blocked reason. */
|
|
266
|
-
blockReason?: string;
|
|
267
|
-
/** A readable block reason message. */
|
|
268
|
-
blockReasonMessage?: string;
|
|
269
|
-
/** Safety ratings. */
|
|
270
|
-
safetyRatings?: CloudAiNlLlmProtoServiceSafetyRating[];
|
|
271
|
-
}
|
|
272
|
-
interface CloudAiNlLlmProtoServiceRaiResult {
|
|
273
|
-
/** Recitation result from Aida recitation checker. */
|
|
274
|
-
aidaRecitationResult?: LanguageLabsAidaTrustRecitationProtoRecitationResult;
|
|
275
|
-
/** Use `triggered_blocklist`. */
|
|
276
|
-
blocked?: boolean;
|
|
277
|
-
/** The error codes indicate which RAI filters block the response. */
|
|
278
|
-
errorCodes?: number[];
|
|
279
|
-
/** Whether the text should be filtered and not shown to the end user. This is determined based on a combination of `triggered_recitation`, `triggered_blocklist`, `language_filter_result`, and `triggered_safety_filter`. */
|
|
280
|
-
filtered?: boolean;
|
|
281
|
-
/** Language filter result from SAFT LangId. */
|
|
282
|
-
languageFilterResult?: LearningGenaiRootLanguageFilterResult;
|
|
283
|
-
/** The RAI signals for the text. */
|
|
284
|
-
raiSignals?: CloudAiNlLlmProtoServiceRaiSignal[];
|
|
285
|
-
/** Translation request info during RAI for debugging purpose. Each TranslationRequestInfo corresponds to a request sent to the translation server. */
|
|
286
|
-
translationRequestInfos?: LearningGenaiRootTranslationRequestInfo[];
|
|
287
|
-
/** Whether the text triggered the blocklist. */
|
|
288
|
-
triggeredBlocklist?: boolean;
|
|
289
|
-
/** Whether the text should be blocked by the recitation result from Aida recitation checker. It is determined from aida_recitation_result. */
|
|
290
|
-
triggeredRecitation?: boolean;
|
|
291
|
-
/** Whether the text triggered the safety filter. Currently, this is due to CSAI triggering or one of four categories (derogatory, sexual, toxic, violent) having a score over the filter threshold. */
|
|
292
|
-
triggeredSafetyFilter?: boolean;
|
|
293
|
-
}
|
|
294
|
-
interface CloudAiNlLlmProtoServiceRaiSignal {
|
|
295
|
-
/** The confidence level for the RAI category. */
|
|
296
|
-
confidence?: string;
|
|
297
|
-
/** Whether the category is flagged as being present. Currently, this is set to true if score >= 0.5. */
|
|
298
|
-
flagged?: boolean;
|
|
299
|
-
/** The influential terms that could potentially block the response. */
|
|
300
|
-
influentialTerms?: CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm[];
|
|
301
|
-
/** The RAI category. */
|
|
302
|
-
raiCategory?: string;
|
|
303
|
-
/** The score for the category, in the range [0.0, 1.0]. */
|
|
304
|
-
score?: number;
|
|
305
|
-
}
|
|
306
|
-
interface CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm {
|
|
307
|
-
/** The beginning offset of the influential term. */
|
|
308
|
-
beginOffset?: number;
|
|
309
|
-
/** The confidence score of the influential term. */
|
|
310
|
-
confidence?: number;
|
|
311
|
-
/** The source of the influential term, prompt or response. */
|
|
312
|
-
source?: string;
|
|
313
|
-
/** The influential term. */
|
|
314
|
-
term?: string;
|
|
315
|
-
}
|
|
316
|
-
interface CloudAiNlLlmProtoServiceSafetyRating {
|
|
317
|
-
/** Indicates whether the content was filtered out because of this rating. */
|
|
318
|
-
blocked?: boolean;
|
|
319
|
-
/** Harm category. */
|
|
320
|
-
category?: string;
|
|
321
|
-
/** The influential terms that could potentially block the response. */
|
|
322
|
-
influentialTerms?: CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm[];
|
|
323
|
-
/** Harm probability levels in the content. */
|
|
324
|
-
probability?: string;
|
|
325
|
-
/** Harm probability score. */
|
|
326
|
-
probabilityScore?: number;
|
|
327
|
-
/** Harm severity levels in the content. */
|
|
328
|
-
severity?: string;
|
|
329
|
-
/** Harm severity score. */
|
|
330
|
-
severityScore?: number;
|
|
331
|
-
}
|
|
332
|
-
interface CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm {
|
|
333
|
-
/** The beginning offset of the influential term. */
|
|
334
|
-
beginOffset?: number;
|
|
335
|
-
/** The confidence score of the influential term. */
|
|
336
|
-
confidence?: number;
|
|
337
|
-
/** The source of the influential term, prompt or response. */
|
|
338
|
-
source?: string;
|
|
339
|
-
/** The influential term. */
|
|
340
|
-
term?: string;
|
|
341
|
-
}
|
|
342
|
-
interface CloudAiNlLlmProtoServiceUsageMetadata {
|
|
343
|
-
/** Number of tokens in the response(s). */
|
|
344
|
-
candidatesTokenCount?: number;
|
|
345
|
-
/** Number of tokens in the request. */
|
|
346
|
-
promptTokenCount?: number;
|
|
347
|
-
totalTokenCount?: number;
|
|
348
|
-
}
|
|
349
106
|
interface GoogleApiHttpBody {
|
|
350
107
|
/** The HTTP Content-Type header value specifying the content type of the body. */
|
|
351
108
|
contentType?: string;
|
|
@@ -808,6 +565,7 @@ declare namespace gapi.client {
|
|
|
808
565
|
interface GoogleCloudAiplatformV1beta1CancelNasJobRequest {}
|
|
809
566
|
interface GoogleCloudAiplatformV1beta1CancelPipelineJobRequest {}
|
|
810
567
|
interface GoogleCloudAiplatformV1beta1CancelTrainingPipelineRequest {}
|
|
568
|
+
interface GoogleCloudAiplatformV1beta1CancelTuningJobRequest {}
|
|
811
569
|
interface GoogleCloudAiplatformV1beta1Candidate {
|
|
812
570
|
/** Output only. Source attribution of the generated content. */
|
|
813
571
|
citationMetadata?: GoogleCloudAiplatformV1beta1CitationMetadata;
|
|
@@ -1268,6 +1026,8 @@ declare namespace gapi.client {
|
|
|
1268
1026
|
metadataArtifact?: string;
|
|
1269
1027
|
/** Required. Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/. */
|
|
1270
1028
|
metadataSchemaUri?: string;
|
|
1029
|
+
/** Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets. */
|
|
1030
|
+
modelReference?: string;
|
|
1271
1031
|
/** Output only. The resource name of the Dataset. */
|
|
1272
1032
|
name?: string;
|
|
1273
1033
|
/** All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotation_specs field will not be populated except for UI cases which will only use annotation_spec_count. In CreateDataset request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec. */
|
|
@@ -1286,6 +1046,8 @@ declare namespace gapi.client {
|
|
|
1286
1046
|
etag?: string;
|
|
1287
1047
|
/** Required. Output only. Additional information about the DatasetVersion. */
|
|
1288
1048
|
metadata?: any;
|
|
1049
|
+
/** Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions. */
|
|
1050
|
+
modelReference?: string;
|
|
1289
1051
|
/** Output only. The resource name of the DatasetVersion. */
|
|
1290
1052
|
name?: string;
|
|
1291
1053
|
/** Output only. Timestamp when this DatasetVersion was last updated. */
|
|
@@ -2134,7 +1896,7 @@ declare namespace gapi.client {
|
|
|
2134
1896
|
versionColumnName?: string;
|
|
2135
1897
|
}
|
|
2136
1898
|
interface GoogleCloudAiplatformV1beta1FeatureGroup {
|
|
2137
|
-
/** Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source
|
|
1899
|
+
/** Indicates that features for this group come from BigQuery Table/View. By default treats the source as a sparse time series source. The BigQuery source table or view must have at least one entity ID column and a column named `feature_timestamp`. */
|
|
2138
1900
|
bigQuery?: GoogleCloudAiplatformV1beta1FeatureGroupBigQuery;
|
|
2139
1901
|
/** Output only. Timestamp when this FeatureGroup was created. */
|
|
2140
1902
|
createTime?: string;
|
|
@@ -2696,6 +2458,8 @@ declare namespace gapi.client {
|
|
|
2696
2458
|
presencePenalty?: number;
|
|
2697
2459
|
/** Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */
|
|
2698
2460
|
responseMimeType?: string;
|
|
2461
|
+
/** Optional. Control Three levels of creativity in the model output. Default: RESPONSE_STYLE_BALANCED */
|
|
2462
|
+
responseStyle?: string;
|
|
2699
2463
|
/** Optional. Stop sequences. */
|
|
2700
2464
|
stopSequences?: string[];
|
|
2701
2465
|
/** Optional. Controls the randomness of predictions. */
|
|
@@ -2954,9 +2718,9 @@ declare namespace gapi.client {
|
|
|
2954
2718
|
namespace?: string;
|
|
2955
2719
|
}
|
|
2956
2720
|
interface GoogleCloudAiplatformV1beta1IndexDatapointSparseEmbedding {
|
|
2957
|
-
/**
|
|
2721
|
+
/** Required. The list of indexes for the embedding values of the sparse vector. */
|
|
2958
2722
|
dimensions?: string[];
|
|
2959
|
-
/**
|
|
2723
|
+
/** Required. The list of embedding values of the sparse vector. */
|
|
2960
2724
|
values?: number[];
|
|
2961
2725
|
}
|
|
2962
2726
|
interface GoogleCloudAiplatformV1beta1IndexEndpoint {
|
|
@@ -3383,6 +3147,12 @@ declare namespace gapi.client {
|
|
|
3383
3147
|
/** The Trials associated with the Study. */
|
|
3384
3148
|
trials?: GoogleCloudAiplatformV1beta1Trial[];
|
|
3385
3149
|
}
|
|
3150
|
+
interface GoogleCloudAiplatformV1beta1ListTuningJobsResponse {
|
|
3151
|
+
/** A token to retrieve the next page of results. Pass to ListTuningJobsRequest.page_token to obtain that page. */
|
|
3152
|
+
nextPageToken?: string;
|
|
3153
|
+
/** List of TuningJobs in the requested page. */
|
|
3154
|
+
tuningJobs?: GoogleCloudAiplatformV1beta1TuningJob[];
|
|
3155
|
+
}
|
|
3386
3156
|
interface GoogleCloudAiplatformV1beta1LookupStudyRequest {
|
|
3387
3157
|
/** Required. The user-defined display name of the Study */
|
|
3388
3158
|
displayName?: string;
|
|
@@ -4380,12 +4150,16 @@ declare namespace gapi.client {
|
|
|
4380
4150
|
interface GoogleCloudAiplatformV1beta1NearestNeighborSearchOperationMetadataContentValidationStats {
|
|
4381
4151
|
/** Number of records in this file we skipped due to validate errors. */
|
|
4382
4152
|
invalidRecordCount?: string;
|
|
4153
|
+
/** Number of sparse records in this file we skipped due to validate errors. */
|
|
4154
|
+
invalidSparseRecordCount?: string;
|
|
4383
4155
|
/** The detail information of the partial failures encountered for those invalid records that couldn't be parsed. Up to 50 partial errors will be reported. */
|
|
4384
4156
|
partialErrors?: GoogleCloudAiplatformV1beta1NearestNeighborSearchOperationMetadataRecordError[];
|
|
4385
4157
|
/** Cloud Storage URI pointing to the original file in user's bucket. */
|
|
4386
4158
|
sourceGcsUri?: string;
|
|
4387
4159
|
/** Number of records in this file that were successfully processed. */
|
|
4388
4160
|
validRecordCount?: string;
|
|
4161
|
+
/** Number of sparse records in this file that were successfully processed. */
|
|
4162
|
+
validSparseRecordCount?: string;
|
|
4389
4163
|
}
|
|
4390
4164
|
interface GoogleCloudAiplatformV1beta1NearestNeighborSearchOperationMetadataRecordError {
|
|
4391
4165
|
/** Empty if the embedding id is failed to parse. */
|
|
@@ -4450,12 +4224,14 @@ declare namespace gapi.client {
|
|
|
4450
4224
|
executionTimeout?: string;
|
|
4451
4225
|
/** The user email to run the execution as. Only supported by Colab runtimes. */
|
|
4452
4226
|
executionUser?: string;
|
|
4453
|
-
/** The
|
|
4227
|
+
/** The Cloud Storage url pointing to the ipynb file. Format: `gs://bucket/notebook_file.ipynb` */
|
|
4454
4228
|
gcsNotebookSource?: GoogleCloudAiplatformV1beta1NotebookExecutionJobGcsNotebookSource;
|
|
4455
|
-
/** The
|
|
4229
|
+
/** The Cloud Storage location to upload the result to. Format: `gs://bucket-name` */
|
|
4456
4230
|
gcsOutputUri?: string;
|
|
4457
4231
|
/** Output only. The state of the NotebookExecutionJob. */
|
|
4458
4232
|
jobState?: string;
|
|
4233
|
+
/** The labels with user-defined metadata to organize NotebookExecutionJobs. 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. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. */
|
|
4234
|
+
labels?: {[P in string]: string};
|
|
4459
4235
|
/** Output only. The resource name of this NotebookExecutionJob. Format: `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}` */
|
|
4460
4236
|
name?: string;
|
|
4461
4237
|
/** The NotebookRuntimeTemplate to source compute configuration from. */
|
|
@@ -4538,6 +4314,10 @@ declare namespace gapi.client {
|
|
|
4538
4314
|
runtimeState?: string;
|
|
4539
4315
|
/** Required. The user email of the NotebookRuntime. */
|
|
4540
4316
|
runtimeUser?: string;
|
|
4317
|
+
/** Output only. Reserved for future use. */
|
|
4318
|
+
satisfiesPzi?: boolean;
|
|
4319
|
+
/** Output only. Reserved for future use. */
|
|
4320
|
+
satisfiesPzs?: boolean;
|
|
4541
4321
|
/** Output only. The service account that the NotebookRuntime workload runs as. */
|
|
4542
4322
|
serviceAccount?: string;
|
|
4543
4323
|
/** Output only. Timestamp when this NotebookRuntime was most recently updated. */
|
|
@@ -7565,6 +7345,66 @@ declare namespace gapi.client {
|
|
|
7565
7345
|
/** Optional. Which version to use for evaluation. */
|
|
7566
7346
|
version?: number;
|
|
7567
7347
|
}
|
|
7348
|
+
interface GoogleCloudAiplatformV1beta1SupervisedHyperParameters {
|
|
7349
|
+
/** Optional. Adapter size for tuning. */
|
|
7350
|
+
adapterSize?: string;
|
|
7351
|
+
/** Optional. Number of complete passes the model makes over the entire training dataset during training. */
|
|
7352
|
+
epochCount?: string;
|
|
7353
|
+
/** Optional. Multiplier for adjusting the default learning rate. */
|
|
7354
|
+
learningRateMultiplier?: number;
|
|
7355
|
+
}
|
|
7356
|
+
interface GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution {
|
|
7357
|
+
/** Output only. Defines the histogram bucket. */
|
|
7358
|
+
buckets?: GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistributionDatasetBucket[];
|
|
7359
|
+
/** Output only. The maximum of the population values. */
|
|
7360
|
+
max?: number;
|
|
7361
|
+
/** Output only. The arithmetic mean of the values in the population. */
|
|
7362
|
+
mean?: number;
|
|
7363
|
+
/** Output only. The median of the values in the population. */
|
|
7364
|
+
median?: number;
|
|
7365
|
+
/** Output only. The minimum of the population values. */
|
|
7366
|
+
min?: number;
|
|
7367
|
+
/** Output only. The 5th percentile of the values in the population. */
|
|
7368
|
+
p5?: number;
|
|
7369
|
+
/** Output only. The 95th percentile of the values in the population. */
|
|
7370
|
+
p95?: number;
|
|
7371
|
+
/** Output only. Sum of a given population of values. */
|
|
7372
|
+
sum?: string;
|
|
7373
|
+
}
|
|
7374
|
+
interface GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistributionDatasetBucket {
|
|
7375
|
+
/** Output only. Number of values in the bucket. */
|
|
7376
|
+
count?: number;
|
|
7377
|
+
/** Output only. Left bound of the bucket. */
|
|
7378
|
+
left?: number;
|
|
7379
|
+
/** Output only. Right bound of the bucket. */
|
|
7380
|
+
right?: number;
|
|
7381
|
+
}
|
|
7382
|
+
interface GoogleCloudAiplatformV1beta1SupervisedTuningDataStats {
|
|
7383
|
+
/** Output only. Number of billable characters in the tuning dataset. */
|
|
7384
|
+
totalBillableCharacterCount?: string;
|
|
7385
|
+
/** Output only. Number of tuning characters in the tuning dataset. */
|
|
7386
|
+
totalTuningCharacterCount?: string;
|
|
7387
|
+
/** Output only. Number of examples in the tuning dataset. */
|
|
7388
|
+
tuningDatasetExampleCount?: string;
|
|
7389
|
+
/** Output only. Number of tuning steps for this Tuning Job. */
|
|
7390
|
+
tuningStepCount?: string;
|
|
7391
|
+
/** Output only. Sample user messages in the training dataset uri. */
|
|
7392
|
+
userDatasetExamples?: GoogleCloudAiplatformV1beta1Content[];
|
|
7393
|
+
/** Output only. Dataset distributions for the user input tokens. */
|
|
7394
|
+
userInputTokenDistribution?: GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution;
|
|
7395
|
+
/** Output only. Dataset distributions for the messages per example. */
|
|
7396
|
+
userMessagePerExampleDistribution?: GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution;
|
|
7397
|
+
/** Output only. Dataset distributions for the user output tokens. */
|
|
7398
|
+
userOutputTokenDistribution?: GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution;
|
|
7399
|
+
}
|
|
7400
|
+
interface GoogleCloudAiplatformV1beta1SupervisedTuningSpec {
|
|
7401
|
+
/** Optional. Hyperparameters for SFT. */
|
|
7402
|
+
hyperParameters?: GoogleCloudAiplatformV1beta1SupervisedHyperParameters;
|
|
7403
|
+
/** Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
7404
|
+
trainingDatasetUri?: string;
|
|
7405
|
+
/** Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
7406
|
+
validationDatasetUri?: string;
|
|
7407
|
+
}
|
|
7568
7408
|
interface GoogleCloudAiplatformV1beta1SyncFeatureViewRequest {}
|
|
7569
7409
|
interface GoogleCloudAiplatformV1beta1SyncFeatureViewResponse {
|
|
7570
7410
|
/** Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` */
|
|
@@ -7945,6 +7785,50 @@ declare namespace gapi.client {
|
|
|
7945
7785
|
/** Output only. The value of the parameter. `number_value` will be set if a parameter defined in StudySpec is in type 'INTEGER', 'DOUBLE' or 'DISCRETE'. `string_value` will be set if a parameter defined in StudySpec is in type 'CATEGORICAL'. */
|
|
7946
7786
|
value?: any;
|
|
7947
7787
|
}
|
|
7788
|
+
interface GoogleCloudAiplatformV1beta1TunedModel {
|
|
7789
|
+
/** Output only. A resource name of an Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`. */
|
|
7790
|
+
endpoint?: string;
|
|
7791
|
+
/** Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}`. */
|
|
7792
|
+
model?: string;
|
|
7793
|
+
}
|
|
7794
|
+
interface GoogleCloudAiplatformV1beta1TuningDataStats {
|
|
7795
|
+
/** The SFT Tuning data stats. */
|
|
7796
|
+
supervisedTuningDataStats?: GoogleCloudAiplatformV1beta1SupervisedTuningDataStats;
|
|
7797
|
+
}
|
|
7798
|
+
interface GoogleCloudAiplatformV1beta1TuningJob {
|
|
7799
|
+
/** The base model that is being tuned, e.g., "gemini-1.0-pro-002". */
|
|
7800
|
+
baseModel?: string;
|
|
7801
|
+
/** Output only. Time when the TuningJob was created. */
|
|
7802
|
+
createTime?: string;
|
|
7803
|
+
/** Optional. The description of the TuningJob. */
|
|
7804
|
+
description?: string;
|
|
7805
|
+
/** Customer-managed encryption key options for a TuningJob. If this is set, then all resources created by the TuningJob will be encrypted with the provided encryption key. */
|
|
7806
|
+
encryptionSpec?: GoogleCloudAiplatformV1beta1EncryptionSpec;
|
|
7807
|
+
/** Output only. Time when the TuningJob entered any of the following JobStates: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`. */
|
|
7808
|
+
endTime?: string;
|
|
7809
|
+
/** Output only. Only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. */
|
|
7810
|
+
error?: GoogleRpcStatus;
|
|
7811
|
+
/** Output only. The Experiment associated with this TuningJob. */
|
|
7812
|
+
experiment?: string;
|
|
7813
|
+
/** 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. */
|
|
7814
|
+
labels?: {[P in string]: string};
|
|
7815
|
+
/** Output only. Identifier. Resource name of a TuningJob. Format: `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` */
|
|
7816
|
+
name?: string;
|
|
7817
|
+
/** Output only. Time when the TuningJob for the first time entered the `JOB_STATE_RUNNING` state. */
|
|
7818
|
+
startTime?: string;
|
|
7819
|
+
/** Output only. The detailed state of the job. */
|
|
7820
|
+
state?: string;
|
|
7821
|
+
/** Tuning Spec for Supervised Fine Tuning. */
|
|
7822
|
+
supervisedTuningSpec?: GoogleCloudAiplatformV1beta1SupervisedTuningSpec;
|
|
7823
|
+
/** Output only. The tuned model resources assiociated with this TuningJob. */
|
|
7824
|
+
tunedModel?: GoogleCloudAiplatformV1beta1TunedModel;
|
|
7825
|
+
/** Optional. The display name of the TunedModel. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
|
|
7826
|
+
tunedModelDisplayName?: string;
|
|
7827
|
+
/** Output only. The tuning data statistics associated with this TuningJob. */
|
|
7828
|
+
tuningDataStats?: GoogleCloudAiplatformV1beta1TuningDataStats;
|
|
7829
|
+
/** Output only. Time when the TuningJob was most recently updated. */
|
|
7830
|
+
updateTime?: string;
|
|
7831
|
+
}
|
|
7948
7832
|
interface GoogleCloudAiplatformV1beta1UndeployIndexOperationMetadata {
|
|
7949
7833
|
/** The operation generic information. */
|
|
7950
7834
|
genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
|
|
@@ -8300,598 +8184,6 @@ declare namespace gapi.client {
|
|
|
8300
8184
|
/** The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. */
|
|
8301
8185
|
units?: string;
|
|
8302
8186
|
}
|
|
8303
|
-
interface IntelligenceCloudAutomlXpsMetricEntry {
|
|
8304
|
-
/** For billing metrics that are using legacy sku's, set the legacy billing metric id here. This will be sent to Chemist as the "cloudbilling.googleapis.com/argentum_metric_id" label. Otherwise leave empty. */
|
|
8305
|
-
argentumMetricId?: string;
|
|
8306
|
-
/** A double value. */
|
|
8307
|
-
doubleValue?: number;
|
|
8308
|
-
/** A signed 64-bit integer value. */
|
|
8309
|
-
int64Value?: string;
|
|
8310
|
-
/** The metric name defined in the service configuration. */
|
|
8311
|
-
metricName?: string;
|
|
8312
|
-
/** Billing system labels for this (metric, value) pair. */
|
|
8313
|
-
systemLabels?: IntelligenceCloudAutomlXpsMetricEntryLabel[];
|
|
8314
|
-
}
|
|
8315
|
-
interface IntelligenceCloudAutomlXpsMetricEntryLabel {
|
|
8316
|
-
/** The name of the label. */
|
|
8317
|
-
labelName?: string;
|
|
8318
|
-
/** The value of the label. */
|
|
8319
|
-
labelValue?: string;
|
|
8320
|
-
}
|
|
8321
|
-
interface IntelligenceCloudAutomlXpsReportingMetrics {
|
|
8322
|
-
/** The effective time training used. If set, this is used for quota management and billing. Deprecated. AutoML BE doesn't use this. Don't set. */
|
|
8323
|
-
effectiveTrainingDuration?: string;
|
|
8324
|
-
/** One entry per metric name. The values must be aggregated per metric name. */
|
|
8325
|
-
metricEntries?: IntelligenceCloudAutomlXpsMetricEntry[];
|
|
8326
|
-
}
|
|
8327
|
-
interface LanguageLabsAidaTrustRecitationProtoDocAttribution {
|
|
8328
|
-
amarnaId?: string;
|
|
8329
|
-
arxivId?: string;
|
|
8330
|
-
author?: string;
|
|
8331
|
-
bibkey?: string;
|
|
8332
|
-
/** ID of the paper in bioarxiv like ddoi.org/{biorxiv_id} eg: https://doi.org/10.1101/343517 */
|
|
8333
|
-
biorxivId?: string;
|
|
8334
|
-
bookTitle?: string;
|
|
8335
|
-
/** The Oceanographers full-view books dataset uses a 'volume id' as the unique ID of a book. There is a deterministic function from a volume id to a URL under the books.google.com domain. Marked as 'optional' since a volume ID of zero is potentially possible and we want to distinguish that from the volume ID not being set. */
|
|
8336
|
-
bookVolumeId?: string;
|
|
8337
|
-
category?: string;
|
|
8338
|
-
conversationId?: string;
|
|
8339
|
-
/** The dataset this document comes from. */
|
|
8340
|
-
dataset?: string;
|
|
8341
|
-
filepath?: string;
|
|
8342
|
-
geminiId?: string;
|
|
8343
|
-
gnewsArticleTitle?: string;
|
|
8344
|
-
goodallExampleId?: string;
|
|
8345
|
-
/** Whether the document is opted out. */
|
|
8346
|
-
isOptOut?: boolean;
|
|
8347
|
-
isPrompt?: boolean;
|
|
8348
|
-
lamdaExampleId?: string;
|
|
8349
|
-
license?: string;
|
|
8350
|
-
meenaConversationId?: string;
|
|
8351
|
-
/** Natural (not programming) language of the document. Language code as defined by http://www.unicode.org/reports/tr35/#Identifiers and https://tools.ietf.org/html/bcp47. Currently applicable to full-view books. Use docinfo-util.h to set & read language fields. See go/iii. */
|
|
8352
|
-
naturalLanguageCode?: string;
|
|
8353
|
-
/** True if this doc has no attribution information available. We use an explicit field for this instead of just implicitly leaving all the DocAttribution fields blank to distinguish a case where a bug/oversight has left the attribution information empty vs when we really have no attribution information available. */
|
|
8354
|
-
noAttribution?: boolean;
|
|
8355
|
-
podcastUtteranceId?: string;
|
|
8356
|
-
publicationDate?: GoogleTypeDate;
|
|
8357
|
-
/** This field is for opt-out experiment only, MUST never be used during actual production/serving. */
|
|
8358
|
-
qualityScoreExperimentOnly?: number;
|
|
8359
|
-
/** Github repository */
|
|
8360
|
-
repo?: string;
|
|
8361
|
-
/** URL of a webdoc */
|
|
8362
|
-
url?: string;
|
|
8363
|
-
volumeId?: string;
|
|
8364
|
-
/** Wikipedia article title. The Wikipedia TFDS dataset includes article titles but not URLs. While a URL is to the best of our knowledge a deterministic function of the title, we store the original title to reflect the information in the original dataset. */
|
|
8365
|
-
wikipediaArticleTitle?: string;
|
|
8366
|
-
/** The unique video id from Youtube. Example: AkoGsW52Ir0 */
|
|
8367
|
-
youtubeVideoId?: string;
|
|
8368
|
-
}
|
|
8369
|
-
interface LanguageLabsAidaTrustRecitationProtoRecitationResult {
|
|
8370
|
-
dynamicSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
|
|
8371
|
-
/** The recitation action for one given input. When its segments contain different actions, the overall action will be returned in the precedence of BLOCK > CITE > NO_ACTION. When the given input is not found in any source, the recitation action will not be specified. */
|
|
8372
|
-
recitationAction?: string;
|
|
8373
|
-
trainingSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
|
|
8374
|
-
}
|
|
8375
|
-
interface LanguageLabsAidaTrustRecitationProtoSegmentResult {
|
|
8376
|
-
/** The dataset the segment came from. Datasets change often as model evolves. Treat this field as informational only and avoid depending on it directly. */
|
|
8377
|
-
attributionDataset?: string;
|
|
8378
|
-
/** human-friendly string that contains information from doc_attribution which could be shown by clients */
|
|
8379
|
-
displayAttributionMessage?: string;
|
|
8380
|
-
docAttribution?: LanguageLabsAidaTrustRecitationProtoDocAttribution;
|
|
8381
|
-
/** number of documents that contained this segment */
|
|
8382
|
-
docOccurrences?: number;
|
|
8383
|
-
endIndex?: number;
|
|
8384
|
-
/** The raw text in the given input that is corresponding to the segment. It will be available only when 'return_segment_raw_text' is enabled in the request options. */
|
|
8385
|
-
rawText?: string;
|
|
8386
|
-
segmentRecitationAction?: string;
|
|
8387
|
-
/** The category of the source dataset where the segment came from. This is more stable than Dataset. */
|
|
8388
|
-
sourceCategory?: string;
|
|
8389
|
-
/** The segment boundary start (inclusive) and end index (exclusive) in the given text. In the streaming RPC, the indexes always start from the beginning of the first text in the entire stream. The indexes are measured in UTF-16 code units. */
|
|
8390
|
-
startIndex?: number;
|
|
8391
|
-
}
|
|
8392
|
-
interface LanguageLabsAidaTrustRecitationProtoStreamRecitationResult {
|
|
8393
|
-
/** The recitation result against the given dynamic data source. */
|
|
8394
|
-
dynamicSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
|
|
8395
|
-
/** Last index of input text fully checked for recitation in the entire streaming context. Would return `-1` if no Input was checked for recitation. */
|
|
8396
|
-
fullyCheckedTextIndex?: number;
|
|
8397
|
-
/** The recitation action for one given input. When its segments contain different actions, the overall action will be returned in the precedence of BLOCK > CITE > NO_ACTION. */
|
|
8398
|
-
recitationAction?: string;
|
|
8399
|
-
/** The recitation result against model training data. */
|
|
8400
|
-
trainingSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
|
|
8401
|
-
}
|
|
8402
|
-
interface LearningGenaiRecitationDocAttribution {
|
|
8403
|
-
amarnaId?: string;
|
|
8404
|
-
arxivId?: string;
|
|
8405
|
-
author?: string;
|
|
8406
|
-
bibkey?: string;
|
|
8407
|
-
/** ID of the paper in bioarxiv like ddoi.org/{biorxiv_id} eg: https://doi.org/10.1101/343517 */
|
|
8408
|
-
biorxivId?: string;
|
|
8409
|
-
bookTitle?: string;
|
|
8410
|
-
/** The Oceanographers full-view books dataset uses a 'volume id' as the unique ID of a book. There is a deterministic function from a volume id to a URL under the books.google.com domain. Marked as 'optional' since a volume ID of zero is potentially possible and we want to distinguish that from the volume ID not being set. */
|
|
8411
|
-
bookVolumeId?: string;
|
|
8412
|
-
conversationId?: string;
|
|
8413
|
-
/** The dataset this document comes from. */
|
|
8414
|
-
dataset?: string;
|
|
8415
|
-
filepath?: string;
|
|
8416
|
-
geminiId?: string;
|
|
8417
|
-
gnewsArticleTitle?: string;
|
|
8418
|
-
goodallExampleId?: string;
|
|
8419
|
-
/** Whether the document is opted out. */
|
|
8420
|
-
isOptOut?: boolean;
|
|
8421
|
-
/** When true, this attribution came from the user's prompt. */
|
|
8422
|
-
isPrompt?: boolean;
|
|
8423
|
-
lamdaExampleId?: string;
|
|
8424
|
-
license?: string;
|
|
8425
|
-
meenaConversationId?: string;
|
|
8426
|
-
/** Natural (not programming) language of the document. Language code as defined by http://www.unicode.org/reports/tr35/#Identifiers and https://tools.ietf.org/html/bcp47. Currently applicable to full-view books. Use docinfo-util.h to set & read language fields. See go/iii. */
|
|
8427
|
-
naturalLanguageCode?: string;
|
|
8428
|
-
/** True if this doc has no attribution information available. We use an explicit field for this instead of just implicitly leaving all the DocAttribution fields blank to distinguish a case where a bug/oversight has left the attribution information empty vs when we really have no attribution information available. */
|
|
8429
|
-
noAttribution?: boolean;
|
|
8430
|
-
podcastUtteranceId?: string;
|
|
8431
|
-
publicationDate?: GoogleTypeDate;
|
|
8432
|
-
/** This field is for opt-out experiment only, MUST never be used during actual production/serving. */
|
|
8433
|
-
qualityScoreExperimentOnly?: number;
|
|
8434
|
-
/** Github repository */
|
|
8435
|
-
repo?: string;
|
|
8436
|
-
/** URL of a webdoc */
|
|
8437
|
-
url?: string;
|
|
8438
|
-
volumeId?: string;
|
|
8439
|
-
/** Wikipedia article title. The Wikipedia TFDS dataset includes article titles but not URLs. While a URL is to the best of our knowledge a deterministic function of the title, we store the original title to reflect the information in the original dataset. */
|
|
8440
|
-
wikipediaArticleTitle?: string;
|
|
8441
|
-
youtubeVideoId?: string;
|
|
8442
|
-
}
|
|
8443
|
-
interface LearningGenaiRecitationRecitationResult {
|
|
8444
|
-
dynamicSegmentResults?: LearningGenaiRecitationSegmentResult[];
|
|
8445
|
-
/** The recitation action for one given input. When its segments contain different actions, the overall action will be returned in the precedence of BLOCK > CITE > NO_ACTION. When the given input is not found in any source, the recitation action will be NO_ACTION. */
|
|
8446
|
-
recitationAction?: string;
|
|
8447
|
-
trainingSegmentResults?: LearningGenaiRecitationSegmentResult[];
|
|
8448
|
-
}
|
|
8449
|
-
interface LearningGenaiRecitationSegmentResult {
|
|
8450
|
-
/** The dataset the segment came from. Datasets change often as model evolves. Treat this field as informational only and avoid depending on it directly. */
|
|
8451
|
-
attributionDataset?: string;
|
|
8452
|
-
/** human-friendly string that contains information from doc_attribution which could be shown by clients */
|
|
8453
|
-
displayAttributionMessage?: string;
|
|
8454
|
-
docAttribution?: LearningGenaiRecitationDocAttribution;
|
|
8455
|
-
/** number of documents that contained this segment */
|
|
8456
|
-
docOccurrences?: number;
|
|
8457
|
-
endIndex?: number;
|
|
8458
|
-
/** The raw text in the given input that is corresponding to the segment. It will be available only when 'return_segment_raw_text' is enabled in the request options. */
|
|
8459
|
-
rawText?: string;
|
|
8460
|
-
segmentRecitationAction?: string;
|
|
8461
|
-
/** The category of the source dataset where the segment came from. This is more stable than Dataset. */
|
|
8462
|
-
sourceCategory?: string;
|
|
8463
|
-
/** The segment boundary start (inclusive) and end index (exclusive) in the given text. In the streaming RPC, the indexes always start from the beginning of the first text in the entire stream. The indexes are measured in UTF-16 code units. */
|
|
8464
|
-
startIndex?: number;
|
|
8465
|
-
}
|
|
8466
|
-
interface LearningGenaiRootCalculationType {
|
|
8467
|
-
scoreType?: string;
|
|
8468
|
-
weights?: number;
|
|
8469
|
-
}
|
|
8470
|
-
interface LearningGenaiRootClassifierOutput {
|
|
8471
|
-
/** If set, this is the output of the first matching rule. */
|
|
8472
|
-
ruleOutput?: LearningGenaiRootRuleOutput;
|
|
8473
|
-
/** outputs of all matching rule. */
|
|
8474
|
-
ruleOutputs?: LearningGenaiRootRuleOutput[];
|
|
8475
|
-
/** The results of data_providers and metrics. */
|
|
8476
|
-
state?: LearningGenaiRootClassifierState;
|
|
8477
|
-
}
|
|
8478
|
-
interface LearningGenaiRootClassifierOutputSummary {
|
|
8479
|
-
metrics?: LearningGenaiRootMetricOutput[];
|
|
8480
|
-
/** Output of the first matching rule. */
|
|
8481
|
-
ruleOutput?: LearningGenaiRootRuleOutput;
|
|
8482
|
-
/** outputs of all matching rule. */
|
|
8483
|
-
ruleOutputs?: LearningGenaiRootRuleOutput[];
|
|
8484
|
-
}
|
|
8485
|
-
interface LearningGenaiRootClassifierState {
|
|
8486
|
-
dataProviderOutput?: LearningGenaiRootDataProviderOutput[];
|
|
8487
|
-
metricOutput?: LearningGenaiRootMetricOutput[];
|
|
8488
|
-
}
|
|
8489
|
-
interface LearningGenaiRootCodeyChatMetadata {
|
|
8490
|
-
/** Indicates the programming language of the code if the message is a code chunk. */
|
|
8491
|
-
codeLanguage?: string;
|
|
8492
|
-
}
|
|
8493
|
-
interface LearningGenaiRootCodeyCheckpoint {
|
|
8494
|
-
/** Metadata that describes what was truncated at this checkpoint. */
|
|
8495
|
-
codeyTruncatorMetadata?: LearningGenaiRootCodeyTruncatorMetadata;
|
|
8496
|
-
/** Current state of the sample after truncator. */
|
|
8497
|
-
currentSample?: string;
|
|
8498
|
-
/** Postprocessor run that yielded this checkpoint. */
|
|
8499
|
-
postInferenceStep?: string;
|
|
8500
|
-
}
|
|
8501
|
-
interface LearningGenaiRootCodeyCompletionMetadata {
|
|
8502
|
-
checkpoints?: LearningGenaiRootCodeyCheckpoint[];
|
|
8503
|
-
}
|
|
8504
|
-
interface LearningGenaiRootCodeyGenerationMetadata {
|
|
8505
|
-
/** Last state of the sample before getting dropped/returned. */
|
|
8506
|
-
output?: string;
|
|
8507
|
-
/** Last Codey postprocessing step for this sample before getting dropped/returned. */
|
|
8508
|
-
postInferenceStep?: string;
|
|
8509
|
-
}
|
|
8510
|
-
interface LearningGenaiRootCodeyOutput {
|
|
8511
|
-
codeyChatMetadata?: LearningGenaiRootCodeyChatMetadata;
|
|
8512
|
-
codeyCompletionMetadata?: LearningGenaiRootCodeyCompletionMetadata;
|
|
8513
|
-
codeyGenerationMetadata?: LearningGenaiRootCodeyGenerationMetadata;
|
|
8514
|
-
}
|
|
8515
|
-
interface LearningGenaiRootCodeyTruncatorMetadata {
|
|
8516
|
-
/** Index of the current sample that trims off truncated text. */
|
|
8517
|
-
cutoffIndex?: number;
|
|
8518
|
-
/** Text that was truncated at a specific checkpoint. */
|
|
8519
|
-
truncatedText?: string;
|
|
8520
|
-
}
|
|
8521
|
-
interface LearningGenaiRootControlDecodingConfigThreshold {
|
|
8522
|
-
policy?: string;
|
|
8523
|
-
scoreMax?: number;
|
|
8524
|
-
}
|
|
8525
|
-
interface LearningGenaiRootControlDecodingRecord {
|
|
8526
|
-
/** Prefixes feeded into scorer. */
|
|
8527
|
-
prefixes?: string;
|
|
8528
|
-
/** Per policy scores returned from Scorer. Expect to have the same number of scores as in `thresholds`. */
|
|
8529
|
-
scores?: LearningGenaiRootControlDecodingRecordPolicyScore[];
|
|
8530
|
-
/** Suffixes feeded into scorer. */
|
|
8531
|
-
suffiexes?: string;
|
|
8532
|
-
/** Per policy thresholds from user config. */
|
|
8533
|
-
thresholds?: LearningGenaiRootControlDecodingConfigThreshold[];
|
|
8534
|
-
}
|
|
8535
|
-
interface LearningGenaiRootControlDecodingRecordPolicyScore {
|
|
8536
|
-
policy?: string;
|
|
8537
|
-
score?: number;
|
|
8538
|
-
}
|
|
8539
|
-
interface LearningGenaiRootControlDecodingRecords {
|
|
8540
|
-
/** One ControlDecodingRecord record maps to one rewind. */
|
|
8541
|
-
records?: LearningGenaiRootControlDecodingRecord[];
|
|
8542
|
-
}
|
|
8543
|
-
interface LearningGenaiRootDataProviderOutput {
|
|
8544
|
-
name?: string;
|
|
8545
|
-
/** If set, this DataProvider failed and this is the error message. */
|
|
8546
|
-
status?: UtilStatusProto;
|
|
8547
|
-
}
|
|
8548
|
-
interface LearningGenaiRootFilterMetadata {
|
|
8549
|
-
/** Filter confidence. */
|
|
8550
|
-
confidence?: string;
|
|
8551
|
-
/** Debug info for the message. */
|
|
8552
|
-
debugInfo?: LearningGenaiRootFilterMetadataFilterDebugInfo;
|
|
8553
|
-
/** A fallback message chosen by the applied filter. */
|
|
8554
|
-
fallback?: string;
|
|
8555
|
-
/** Additional info for the filter. */
|
|
8556
|
-
info?: string;
|
|
8557
|
-
/** Name of the filter that triggered. */
|
|
8558
|
-
name?: string;
|
|
8559
|
-
/** Filter reason. */
|
|
8560
|
-
reason?: string;
|
|
8561
|
-
/** The input query or generated response that is getting filtered. */
|
|
8562
|
-
text?: string;
|
|
8563
|
-
}
|
|
8564
|
-
interface LearningGenaiRootFilterMetadataFilterDebugInfo {
|
|
8565
|
-
classifierOutput?: LearningGenaiRootClassifierOutput;
|
|
8566
|
-
defaultMetadata?: string;
|
|
8567
|
-
languageFilterResult?: LearningGenaiRootLanguageFilterResult;
|
|
8568
|
-
/** Safety filter output information for LLM Root RAI harm check. */
|
|
8569
|
-
raiOutput?: LearningGenaiRootRAIOutput;
|
|
8570
|
-
raiResult?: CloudAiNlLlmProtoServiceRaiResult;
|
|
8571
|
-
raiSignal?: CloudAiNlLlmProtoServiceRaiSignal;
|
|
8572
|
-
/** Number of rewinds by controlled decoding. */
|
|
8573
|
-
records?: LearningGenaiRootControlDecodingRecords;
|
|
8574
|
-
streamRecitationResult?: LanguageLabsAidaTrustRecitationProtoStreamRecitationResult;
|
|
8575
|
-
takedownResult?: LearningGenaiRootTakedownResult;
|
|
8576
|
-
toxicityResult?: LearningGenaiRootToxicityResult;
|
|
8577
|
-
}
|
|
8578
|
-
interface LearningGenaiRootGroundingMetadata {
|
|
8579
|
-
citations?: LearningGenaiRootGroundingMetadataCitation[];
|
|
8580
|
-
/** True if grounding is cancelled, for example, no facts being retrieved. */
|
|
8581
|
-
groundingCancelled?: boolean;
|
|
8582
|
-
searchQueries?: string[];
|
|
8583
|
-
}
|
|
8584
|
-
interface LearningGenaiRootGroundingMetadataCitation {
|
|
8585
|
-
/** Index in the prediction output where the citation ends (exclusive). Must be > start_index and <= len(output). */
|
|
8586
|
-
endIndex?: number;
|
|
8587
|
-
/** Index of the fact supporting this claim. Should be within the range of the `world_facts` in the GenerateResponse. */
|
|
8588
|
-
factIndex?: number;
|
|
8589
|
-
/** Confidence score of this entailment. Value is [0,1] with 1 is the most confidence. */
|
|
8590
|
-
score?: number;
|
|
8591
|
-
/** Index in the prediction output where the citation starts (inclusive). Must be >= 0 and < end_index. */
|
|
8592
|
-
startIndex?: number;
|
|
8593
|
-
}
|
|
8594
|
-
interface LearningGenaiRootHarm {
|
|
8595
|
-
/** Please do not use, this is still under development. */
|
|
8596
|
-
contextualDangerous?: boolean;
|
|
8597
|
-
csam?: boolean;
|
|
8598
|
-
fringe?: boolean;
|
|
8599
|
-
grailImageHarmType?: LearningGenaiRootHarmGrailImageHarmType;
|
|
8600
|
-
grailTextHarmType?: LearningGenaiRootHarmGrailTextHarmType;
|
|
8601
|
-
imageChild?: boolean;
|
|
8602
|
-
imageCsam?: boolean;
|
|
8603
|
-
imagePedo?: boolean;
|
|
8604
|
-
/** Image signals */
|
|
8605
|
-
imagePorn?: boolean;
|
|
8606
|
-
imageViolence?: boolean;
|
|
8607
|
-
pqc?: boolean;
|
|
8608
|
-
safetycat?: LearningGenaiRootHarmSafetyCatCategories;
|
|
8609
|
-
/** Spii Filter uses buckets http://google3/google/privacy/dlp/v2/storage.proto;l=77;rcl=584719820 to classify the input. LMRoot converts the bucket into double score. For example the score for "POSSIBLE" is 3 / 5 = 0.6 . */
|
|
8610
|
-
spii?: LearningGenaiRootHarmSpiiFilter;
|
|
8611
|
-
threshold?: number;
|
|
8612
|
-
videoFrameChild?: boolean;
|
|
8613
|
-
videoFrameCsam?: boolean;
|
|
8614
|
-
videoFramePedo?: boolean;
|
|
8615
|
-
/** Video frame signals */
|
|
8616
|
-
videoFramePorn?: boolean;
|
|
8617
|
-
videoFrameViolence?: boolean;
|
|
8618
|
-
}
|
|
8619
|
-
interface LearningGenaiRootHarmGrailImageHarmType {
|
|
8620
|
-
imageHarmType?: string[];
|
|
8621
|
-
}
|
|
8622
|
-
interface LearningGenaiRootHarmGrailTextHarmType {
|
|
8623
|
-
harmType?: string[];
|
|
8624
|
-
}
|
|
8625
|
-
interface LearningGenaiRootHarmSafetyCatCategories {
|
|
8626
|
-
categories?: string[];
|
|
8627
|
-
}
|
|
8628
|
-
interface LearningGenaiRootHarmSpiiFilter {
|
|
8629
|
-
usBankRoutingMicr?: boolean;
|
|
8630
|
-
usEmployerIdentificationNumber?: boolean;
|
|
8631
|
-
usSocialSecurityNumber?: boolean;
|
|
8632
|
-
}
|
|
8633
|
-
interface LearningGenaiRootInternalMetadata {
|
|
8634
|
-
scoredTokens?: LearningGenaiRootScoredToken[];
|
|
8635
|
-
}
|
|
8636
|
-
interface LearningGenaiRootLanguageFilterResult {
|
|
8637
|
-
/** False when query or response should be filtered out due to unsupported language. */
|
|
8638
|
-
allowed?: boolean;
|
|
8639
|
-
/** Language of the query or response. */
|
|
8640
|
-
detectedLanguage?: string;
|
|
8641
|
-
/** Probability of the language predicted as returned by LangID. */
|
|
8642
|
-
detectedLanguageProbability?: number;
|
|
8643
|
-
}
|
|
8644
|
-
interface LearningGenaiRootMetricOutput {
|
|
8645
|
-
debug?: string;
|
|
8646
|
-
/** Name of the metric. */
|
|
8647
|
-
name?: string;
|
|
8648
|
-
numericValue?: number;
|
|
8649
|
-
status?: UtilStatusProto;
|
|
8650
|
-
stringValue?: string;
|
|
8651
|
-
}
|
|
8652
|
-
interface LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata {
|
|
8653
|
-
/** Latency spent on fact retrievals. There might be multiple retrievals from different fact providers. */
|
|
8654
|
-
factRetrievalMillisecondsByProvider?: {[P in string]: string};
|
|
8655
|
-
/** Latency spent on prompt2query. The procedure generates a search-friendly query given the original prompt. */
|
|
8656
|
-
prompt2queryMilliseconds?: string;
|
|
8657
|
-
}
|
|
8658
|
-
interface LearningGenaiRootRAIOutput {
|
|
8659
|
-
allowed?: boolean;
|
|
8660
|
-
harm?: LearningGenaiRootHarm;
|
|
8661
|
-
name?: string;
|
|
8662
|
-
score?: number;
|
|
8663
|
-
}
|
|
8664
|
-
interface LearningGenaiRootRegexTakedownResult {
|
|
8665
|
-
/** False when query or response should be taken down due to match with a blocked regex, true otherwise. */
|
|
8666
|
-
allowed?: boolean;
|
|
8667
|
-
/** Regex used to decide that query or response should be taken down. Empty when query or response is kept. */
|
|
8668
|
-
takedownRegex?: string;
|
|
8669
|
-
}
|
|
8670
|
-
interface LearningGenaiRootRequestResponseTakedownResult {
|
|
8671
|
-
/** False when response has to be taken down per above config. */
|
|
8672
|
-
allowed?: boolean;
|
|
8673
|
-
/** Regex used to match the request. */
|
|
8674
|
-
requestTakedownRegex?: string;
|
|
8675
|
-
/** Regex used to decide that response should be taken down. Empty when response is kept. */
|
|
8676
|
-
responseTakedownRegex?: string;
|
|
8677
|
-
}
|
|
8678
|
-
interface LearningGenaiRootRoutingDecision {
|
|
8679
|
-
metadata?: LearningGenaiRootRoutingDecisionMetadata;
|
|
8680
|
-
/** The selected model to route traffic to. */
|
|
8681
|
-
modelConfigId?: string;
|
|
8682
|
-
}
|
|
8683
|
-
interface LearningGenaiRootRoutingDecisionMetadata {
|
|
8684
|
-
scoreBasedRoutingMetadata?: LearningGenaiRootRoutingDecisionMetadataScoreBased;
|
|
8685
|
-
tokenLengthBasedRoutingMetadata?: LearningGenaiRootRoutingDecisionMetadataTokenLengthBased;
|
|
8686
|
-
}
|
|
8687
|
-
interface LearningGenaiRootRoutingDecisionMetadataScoreBased {
|
|
8688
|
-
/** The rule that was matched. */
|
|
8689
|
-
matchedRule?: LearningGenaiRootScoreBasedRoutingConfigRule;
|
|
8690
|
-
/** The score that was generated by the router i.e. the model. */
|
|
8691
|
-
score?: LearningGenaiRootScore;
|
|
8692
|
-
/** No rules were matched & therefore used the default fallback. */
|
|
8693
|
-
usedDefaultFallback?: boolean;
|
|
8694
|
-
}
|
|
8695
|
-
interface LearningGenaiRootRoutingDecisionMetadataTokenLengthBased {
|
|
8696
|
-
modelInputTokenMetadata?: LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelInputTokenMetadata[];
|
|
8697
|
-
modelMaxTokenMetadata?: LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelMaxTokenMetadata[];
|
|
8698
|
-
}
|
|
8699
|
-
interface LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelInputTokenMetadata {
|
|
8700
|
-
/** The length computed by backends using the formatter & tokenizer specific to the model */
|
|
8701
|
-
computedInputTokenLength?: number;
|
|
8702
|
-
modelId?: string;
|
|
8703
|
-
/** If true, the model was selected as a fallback, since no model met requirements. */
|
|
8704
|
-
pickedAsFallback?: boolean;
|
|
8705
|
-
/** If true, the model was selected since it met the requriements. */
|
|
8706
|
-
selected?: boolean;
|
|
8707
|
-
}
|
|
8708
|
-
interface LearningGenaiRootRoutingDecisionMetadataTokenLengthBasedModelMaxTokenMetadata {
|
|
8709
|
-
maxNumInputTokens?: number;
|
|
8710
|
-
maxNumOutputTokens?: number;
|
|
8711
|
-
modelId?: string;
|
|
8712
|
-
}
|
|
8713
|
-
interface LearningGenaiRootRuleOutput {
|
|
8714
|
-
decision?: string;
|
|
8715
|
-
name?: string;
|
|
8716
|
-
}
|
|
8717
|
-
interface LearningGenaiRootScore {
|
|
8718
|
-
calculationType?: LearningGenaiRootCalculationType;
|
|
8719
|
-
/** The internal_metadata is intended to be used by internal processors and will be cleared before returns. */
|
|
8720
|
-
internalMetadata?: LearningGenaiRootInternalMetadata;
|
|
8721
|
-
thresholdType?: LearningGenaiRootThresholdType;
|
|
8722
|
-
/** Top candidate tokens and log probabilities at each decoding step. */
|
|
8723
|
-
tokensAndLogprobPerDecodingStep?: LearningGenaiRootTokensAndLogProbPerDecodingStep;
|
|
8724
|
-
value?: number;
|
|
8725
|
-
}
|
|
8726
|
-
interface LearningGenaiRootScoreBasedRoutingConfigRule {
|
|
8727
|
-
/** NOTE: Hardest examples have smaller values in their routing scores. */
|
|
8728
|
-
equalOrGreaterThan?: LearningGenaiRootScore;
|
|
8729
|
-
lessThan?: LearningGenaiRootScore;
|
|
8730
|
-
/** This model_config_id points to ModelConfig::id which allows us to find the ModelConfig to route to. This is part of the banks specified in the ModelBankConfig. */
|
|
8731
|
-
modelConfigId?: string;
|
|
8732
|
-
}
|
|
8733
|
-
interface LearningGenaiRootScoredSimilarityTakedownPhrase {
|
|
8734
|
-
phrase?: LearningGenaiRootSimilarityTakedownPhrase;
|
|
8735
|
-
similarityScore?: number;
|
|
8736
|
-
}
|
|
8737
|
-
interface LearningGenaiRootScoredToken {
|
|
8738
|
-
/** Each end_token_score is a logprob for how well the completion would end at a particular token. See http://google3/labs/language/aida/config/proto/model_config.proto;l=376;rcl=573039459 */
|
|
8739
|
-
endTokenScore?: number;
|
|
8740
|
-
/** Each score is the logprob for the token in model response. */
|
|
8741
|
-
score?: number;
|
|
8742
|
-
token?: string;
|
|
8743
|
-
}
|
|
8744
|
-
interface LearningGenaiRootSimilarityTakedownPhrase {
|
|
8745
|
-
blockedPhrase?: string;
|
|
8746
|
-
}
|
|
8747
|
-
interface LearningGenaiRootSimilarityTakedownResult {
|
|
8748
|
-
/** False when query or response should be taken down by any of the takedown rules, true otherwise. */
|
|
8749
|
-
allowed?: boolean;
|
|
8750
|
-
/** List of similar phrases with score. Set only if allowed=false. */
|
|
8751
|
-
scoredPhrases?: LearningGenaiRootScoredSimilarityTakedownPhrase[];
|
|
8752
|
-
}
|
|
8753
|
-
interface LearningGenaiRootTakedownResult {
|
|
8754
|
-
/** False when query or response should be taken down by any of the takedown rules, true otherwise. */
|
|
8755
|
-
allowed?: boolean;
|
|
8756
|
-
regexTakedownResult?: LearningGenaiRootRegexTakedownResult;
|
|
8757
|
-
requestResponseTakedownResult?: LearningGenaiRootRequestResponseTakedownResult;
|
|
8758
|
-
similarityTakedownResult?: LearningGenaiRootSimilarityTakedownResult;
|
|
8759
|
-
}
|
|
8760
|
-
interface LearningGenaiRootThresholdType {
|
|
8761
|
-
scoreType?: string;
|
|
8762
|
-
threshold?: number;
|
|
8763
|
-
}
|
|
8764
|
-
interface LearningGenaiRootTokensAndLogProbPerDecodingStep {
|
|
8765
|
-
/** Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates. */
|
|
8766
|
-
chosenCandidates?: LearningGenaiRootTokensAndLogProbPerDecodingStepCandidate[];
|
|
8767
|
-
/** Length = total number of decoding steps. */
|
|
8768
|
-
topCandidates?: LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates[];
|
|
8769
|
-
}
|
|
8770
|
-
interface LearningGenaiRootTokensAndLogProbPerDecodingStepCandidate {
|
|
8771
|
-
/** The candidate's log probability. */
|
|
8772
|
-
logProbability?: number;
|
|
8773
|
-
/** The candidate’s token value. */
|
|
8774
|
-
token?: string;
|
|
8775
|
-
}
|
|
8776
|
-
interface LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates {
|
|
8777
|
-
/** Sorted by log probability in descending order. */
|
|
8778
|
-
candidates?: LearningGenaiRootTokensAndLogProbPerDecodingStepCandidate[];
|
|
8779
|
-
}
|
|
8780
|
-
interface LearningGenaiRootToxicityResult {
|
|
8781
|
-
signals?: LearningGenaiRootToxicitySignal[];
|
|
8782
|
-
}
|
|
8783
|
-
interface LearningGenaiRootToxicitySignal {
|
|
8784
|
-
allowed?: boolean;
|
|
8785
|
-
label?: string;
|
|
8786
|
-
score?: number;
|
|
8787
|
-
}
|
|
8788
|
-
interface LearningGenaiRootTranslationRequestInfo {
|
|
8789
|
-
/** The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty. */
|
|
8790
|
-
detectedLanguageCodes?: string[];
|
|
8791
|
-
/** The sum of the size of all the contents in the request. */
|
|
8792
|
-
totalContentSize?: string;
|
|
8793
|
-
}
|
|
8794
|
-
interface LearningServingLlmAtlasOutputMetadata {
|
|
8795
|
-
requestTopic?: string;
|
|
8796
|
-
source?: string;
|
|
8797
|
-
}
|
|
8798
|
-
interface LearningServingLlmMessageMetadata {
|
|
8799
|
-
atlasMetadata?: LearningServingLlmAtlasOutputMetadata;
|
|
8800
|
-
/** Summary of classifier output. We attach this to all messages regardless of whether classification rules triggered or not. */
|
|
8801
|
-
classifierSummary?: LearningGenaiRootClassifierOutputSummary;
|
|
8802
|
-
/** Contains metadata related to Codey Processors. */
|
|
8803
|
-
codeyOutput?: LearningGenaiRootCodeyOutput;
|
|
8804
|
-
currentStreamTextLength?: number;
|
|
8805
|
-
/** Whether the corresponding message has been deleted. */
|
|
8806
|
-
deleted?: boolean;
|
|
8807
|
-
/** Metadata for filters that triggered. */
|
|
8808
|
-
filterMeta?: LearningGenaiRootFilterMetadata[];
|
|
8809
|
-
/** This score is finally used for ranking the message. This will be same as the score present in `Message.score` field. */
|
|
8810
|
-
finalMessageScore?: LearningGenaiRootScore;
|
|
8811
|
-
/** NOT YET IMPLEMENTED. */
|
|
8812
|
-
finishReason?: string;
|
|
8813
|
-
groundingMetadata?: LearningGenaiRootGroundingMetadata;
|
|
8814
|
-
/** Applies to streaming response message only. Whether the message is a code. */
|
|
8815
|
-
isCode?: boolean;
|
|
8816
|
-
/** Applies to Response message only. Indicates whether the message is a fallback and the response would have otherwise been empty. */
|
|
8817
|
-
isFallback?: boolean;
|
|
8818
|
-
/** Result from nlp_saft DetectLanguage method. Currently the predicted language code and language probability is used. */
|
|
8819
|
-
langidResult?: NlpSaftLangIdResult;
|
|
8820
|
-
/** Detected language. */
|
|
8821
|
-
language?: string;
|
|
8822
|
-
/** The LM prefix used to generate this response. */
|
|
8823
|
-
lmPrefix?: string;
|
|
8824
|
-
/** The original text generated by LLM. This is the raw output for debugging purposes. */
|
|
8825
|
-
originalText?: string;
|
|
8826
|
-
/** Number of tokens decoded by the model as part of a stream. This count may be different from `per_stream_returned_token_count` which, is counted after any response rewriting or truncation. Applies to streaming response only. */
|
|
8827
|
-
perStreamDecodedTokenCount?: number;
|
|
8828
|
-
/** Number of tokens returned per stream in a response candidate after any response rewriting or truncation. Applies to streaming response only. Applies to Gemini models only. */
|
|
8829
|
-
perStreamReturnedTokenCount?: number;
|
|
8830
|
-
/** Results of running RAI on the query or this response candidate. One output per rai_config. It will be populated regardless of whether the threshold is exceeded or not. */
|
|
8831
|
-
raiOutputs?: LearningGenaiRootRAIOutput[];
|
|
8832
|
-
/** Recitation Results. It will be populated as long as Recitation processing is enabled, regardless of recitation outcome. */
|
|
8833
|
-
recitationResult?: LearningGenaiRecitationRecitationResult;
|
|
8834
|
-
/** NOT IMPLEMENTED TODO (b/334187574) Remove this field after Labs migrates to per_stream_returned_token_count and total_returned_token_count. */
|
|
8835
|
-
returnTokenCount?: number;
|
|
8836
|
-
/** All the different scores for a message are logged here. */
|
|
8837
|
-
scores?: LearningGenaiRootScore[];
|
|
8838
|
-
/** Whether the response is terminated during streaming return. Only used for streaming requests. */
|
|
8839
|
-
streamTerminated?: boolean;
|
|
8840
|
-
/** Total tokens decoded so far per response_candidate. For streaming: Count of all the tokens decoded so far (aggregated count). For unary: Count of all the tokens decoded per response_candidate. */
|
|
8841
|
-
totalDecodedTokenCount?: number;
|
|
8842
|
-
/** Total number of tokens returned in a response candidate. For streaming, it is the aggregated count (i.e. total so far) Applies to Gemini models only. */
|
|
8843
|
-
totalReturnedTokenCount?: number;
|
|
8844
|
-
/** Translated user-prompt used for RAI post processing. This is for internal processing only. We will translate in pre-processor and pass the translated text to the post processor using this field. It will be empty if non of the signals requested need translation. */
|
|
8845
|
-
translatedUserPrompts?: string[];
|
|
8846
|
-
/** The metadata from Vertex SafetyCat processors */
|
|
8847
|
-
vertexRaiResult?: CloudAiNlLlmProtoServiceRaiResult;
|
|
8848
|
-
}
|
|
8849
|
-
interface NlpSaftLangIdLocalesResult {
|
|
8850
|
-
/** List of locales in which the text would be considered acceptable. Sorted in descending order according to each locale's respective likelihood. For example, if a Portuguese text is acceptable in both Brazil and Portugal, but is more strongly associated with Brazil, then the predictions would be ["pt-BR", "pt-PT"], in that order. May be empty, indicating that the model did not predict any acceptable locales. */
|
|
8851
|
-
predictions?: NlpSaftLangIdLocalesResultLocale[];
|
|
8852
|
-
}
|
|
8853
|
-
interface NlpSaftLangIdLocalesResultLocale {
|
|
8854
|
-
/** A BCP 47 language code that includes region information. For example, "pt-BR" or "pt-PT". This field will always be populated. */
|
|
8855
|
-
languageCode?: string;
|
|
8856
|
-
}
|
|
8857
|
-
interface NlpSaftLangIdResult {
|
|
8858
|
-
/** The version of the model used to create these annotations. */
|
|
8859
|
-
modelVersion?: string;
|
|
8860
|
-
/** This field stores the n-best list of possible BCP 47 language code strings for a given input sorted in descending order according to each code's respective probability. */
|
|
8861
|
-
predictions?: NlpSaftLanguageSpan[];
|
|
8862
|
-
/** This field stores language predictions of subspans of the input, when available. Each LanguageSpanSequence is a sequence of LanguageSpans. A particular sequence of LanguageSpans has an associated probability, and need not necessarily cover the entire input. If no language could be predicted for any span, then this field may be empty. */
|
|
8863
|
-
spanPredictions?: NlpSaftLanguageSpanSequence[];
|
|
8864
|
-
}
|
|
8865
|
-
interface NlpSaftLanguageSpan {
|
|
8866
|
-
end?: number;
|
|
8867
|
-
/** A BCP 47 language code for this span. */
|
|
8868
|
-
languageCode?: string;
|
|
8869
|
-
/** Optional field containing any information that was predicted about the specific locale(s) of the span. */
|
|
8870
|
-
locales?: NlpSaftLangIdLocalesResult;
|
|
8871
|
-
/** A probability associated with this prediction. */
|
|
8872
|
-
probability?: number;
|
|
8873
|
-
/** Start and end byte offsets, inclusive, within the given input string. A value of -1 implies that this field is not set. Both fields must either be set with a nonnegative value or both are unset. If both are unset then this LanguageSpan applies to the entire input. */
|
|
8874
|
-
start?: number;
|
|
8875
|
-
}
|
|
8876
|
-
interface NlpSaftLanguageSpanSequence {
|
|
8877
|
-
/** A sequence of LanguageSpan objects, each assigning a language to a subspan of the input. */
|
|
8878
|
-
languageSpans?: NlpSaftLanguageSpan[];
|
|
8879
|
-
/** The probability of this sequence of LanguageSpans. */
|
|
8880
|
-
probability?: number;
|
|
8881
|
-
}
|
|
8882
|
-
interface Proto2BridgeMessageSet {}
|
|
8883
|
-
interface UtilStatusProto {
|
|
8884
|
-
/** The canonical error code (see codes.proto) that most closely corresponds to this status. This may be missing, and in the common case of the generic space, it definitely will be. */
|
|
8885
|
-
canonicalCode?: number;
|
|
8886
|
-
/** Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto */
|
|
8887
|
-
code?: number;
|
|
8888
|
-
/** Detail message */
|
|
8889
|
-
message?: string;
|
|
8890
|
-
/** message_set associates an arbitrary proto message with the status. */
|
|
8891
|
-
messageSet?: any;
|
|
8892
|
-
/** The following are usually only present when code != 0 Space to which this status belongs */
|
|
8893
|
-
space?: string;
|
|
8894
|
-
}
|
|
8895
8187
|
interface MediaResource {
|
|
8896
8188
|
/** Upload a file into a RagCorpus. */
|
|
8897
8189
|
upload(request: {
|
|
@@ -10863,6 +10155,68 @@ declare namespace gapi.client {
|
|
|
10863
10155
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10864
10156
|
uploadType?: string;
|
|
10865
10157
|
}): Request<GoogleCloudAiplatformV1beta1ListDatasetVersionsResponse>;
|
|
10158
|
+
/** Updates a DatasetVersion. */
|
|
10159
|
+
patch(request: {
|
|
10160
|
+
/** V1 error format. */
|
|
10161
|
+
'$.xgafv'?: string;
|
|
10162
|
+
/** OAuth access token. */
|
|
10163
|
+
access_token?: string;
|
|
10164
|
+
/** Data format for response. */
|
|
10165
|
+
alt?: string;
|
|
10166
|
+
/** JSONP */
|
|
10167
|
+
callback?: string;
|
|
10168
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10169
|
+
fields?: string;
|
|
10170
|
+
/** 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. */
|
|
10171
|
+
key?: string;
|
|
10172
|
+
/** Output only. The resource name of the DatasetVersion. */
|
|
10173
|
+
name: string;
|
|
10174
|
+
/** OAuth 2.0 token for the current user. */
|
|
10175
|
+
oauth_token?: string;
|
|
10176
|
+
/** Returns response with indentations and line breaks. */
|
|
10177
|
+
prettyPrint?: boolean;
|
|
10178
|
+
/** 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. */
|
|
10179
|
+
quotaUser?: string;
|
|
10180
|
+
/** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name` */
|
|
10181
|
+
updateMask?: string;
|
|
10182
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10183
|
+
upload_protocol?: string;
|
|
10184
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10185
|
+
uploadType?: string;
|
|
10186
|
+
/** Request body */
|
|
10187
|
+
resource: GoogleCloudAiplatformV1beta1DatasetVersion;
|
|
10188
|
+
}): Request<GoogleCloudAiplatformV1beta1DatasetVersion>;
|
|
10189
|
+
patch(
|
|
10190
|
+
request: {
|
|
10191
|
+
/** V1 error format. */
|
|
10192
|
+
'$.xgafv'?: string;
|
|
10193
|
+
/** OAuth access token. */
|
|
10194
|
+
access_token?: string;
|
|
10195
|
+
/** Data format for response. */
|
|
10196
|
+
alt?: string;
|
|
10197
|
+
/** JSONP */
|
|
10198
|
+
callback?: string;
|
|
10199
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10200
|
+
fields?: string;
|
|
10201
|
+
/** 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. */
|
|
10202
|
+
key?: string;
|
|
10203
|
+
/** Output only. The resource name of the DatasetVersion. */
|
|
10204
|
+
name: string;
|
|
10205
|
+
/** OAuth 2.0 token for the current user. */
|
|
10206
|
+
oauth_token?: string;
|
|
10207
|
+
/** Returns response with indentations and line breaks. */
|
|
10208
|
+
prettyPrint?: boolean;
|
|
10209
|
+
/** 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. */
|
|
10210
|
+
quotaUser?: string;
|
|
10211
|
+
/** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Updatable fields: * `display_name` */
|
|
10212
|
+
updateMask?: string;
|
|
10213
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10214
|
+
upload_protocol?: string;
|
|
10215
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10216
|
+
uploadType?: string;
|
|
10217
|
+
},
|
|
10218
|
+
body: GoogleCloudAiplatformV1beta1DatasetVersion
|
|
10219
|
+
): Request<GoogleCloudAiplatformV1beta1DatasetVersion>;
|
|
10866
10220
|
/** Restores a dataset version. */
|
|
10867
10221
|
restore(request?: {
|
|
10868
10222
|
/** V1 error format. */
|
|
@@ -31510,6 +30864,184 @@ declare namespace gapi.client {
|
|
|
31510
30864
|
}): Request<GoogleCloudAiplatformV1beta1ListTrainingPipelinesResponse>;
|
|
31511
30865
|
operations: OperationsResource;
|
|
31512
30866
|
}
|
|
30867
|
+
interface TuningJobsResource {
|
|
30868
|
+
/** Cancels a TuningJob. Starts asynchronous cancellation on the TuningJob. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use GenAiTuningService.GetTuningJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the TuningJob is not deleted; instead it becomes a job with a TuningJob.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`, and TuningJob.state is set to `CANCELLED`. */
|
|
30869
|
+
cancel(request: {
|
|
30870
|
+
/** V1 error format. */
|
|
30871
|
+
'$.xgafv'?: string;
|
|
30872
|
+
/** OAuth access token. */
|
|
30873
|
+
access_token?: string;
|
|
30874
|
+
/** Data format for response. */
|
|
30875
|
+
alt?: string;
|
|
30876
|
+
/** JSONP */
|
|
30877
|
+
callback?: string;
|
|
30878
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
30879
|
+
fields?: string;
|
|
30880
|
+
/** 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. */
|
|
30881
|
+
key?: string;
|
|
30882
|
+
/** Required. The name of the TuningJob to cancel. Format: `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` */
|
|
30883
|
+
name: string;
|
|
30884
|
+
/** OAuth 2.0 token for the current user. */
|
|
30885
|
+
oauth_token?: string;
|
|
30886
|
+
/** Returns response with indentations and line breaks. */
|
|
30887
|
+
prettyPrint?: boolean;
|
|
30888
|
+
/** 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. */
|
|
30889
|
+
quotaUser?: string;
|
|
30890
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
30891
|
+
upload_protocol?: string;
|
|
30892
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30893
|
+
uploadType?: string;
|
|
30894
|
+
/** Request body */
|
|
30895
|
+
resource: GoogleCloudAiplatformV1beta1CancelTuningJobRequest;
|
|
30896
|
+
}): Request<{}>;
|
|
30897
|
+
cancel(
|
|
30898
|
+
request: {
|
|
30899
|
+
/** V1 error format. */
|
|
30900
|
+
'$.xgafv'?: string;
|
|
30901
|
+
/** OAuth access token. */
|
|
30902
|
+
access_token?: string;
|
|
30903
|
+
/** Data format for response. */
|
|
30904
|
+
alt?: string;
|
|
30905
|
+
/** JSONP */
|
|
30906
|
+
callback?: string;
|
|
30907
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
30908
|
+
fields?: string;
|
|
30909
|
+
/** 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. */
|
|
30910
|
+
key?: string;
|
|
30911
|
+
/** Required. The name of the TuningJob to cancel. Format: `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` */
|
|
30912
|
+
name: string;
|
|
30913
|
+
/** OAuth 2.0 token for the current user. */
|
|
30914
|
+
oauth_token?: string;
|
|
30915
|
+
/** Returns response with indentations and line breaks. */
|
|
30916
|
+
prettyPrint?: boolean;
|
|
30917
|
+
/** 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. */
|
|
30918
|
+
quotaUser?: string;
|
|
30919
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
30920
|
+
upload_protocol?: string;
|
|
30921
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30922
|
+
uploadType?: string;
|
|
30923
|
+
},
|
|
30924
|
+
body: GoogleCloudAiplatformV1beta1CancelTuningJobRequest
|
|
30925
|
+
): Request<{}>;
|
|
30926
|
+
/** Creates a TuningJob. A created TuningJob right away will be attempted to be run. */
|
|
30927
|
+
create(request: {
|
|
30928
|
+
/** V1 error format. */
|
|
30929
|
+
'$.xgafv'?: string;
|
|
30930
|
+
/** OAuth access token. */
|
|
30931
|
+
access_token?: string;
|
|
30932
|
+
/** Data format for response. */
|
|
30933
|
+
alt?: string;
|
|
30934
|
+
/** JSONP */
|
|
30935
|
+
callback?: string;
|
|
30936
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
30937
|
+
fields?: string;
|
|
30938
|
+
/** 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. */
|
|
30939
|
+
key?: string;
|
|
30940
|
+
/** OAuth 2.0 token for the current user. */
|
|
30941
|
+
oauth_token?: string;
|
|
30942
|
+
/** Required. The resource name of the Location to create the TuningJob in. Format: `projects/{project}/locations/{location}` */
|
|
30943
|
+
parent: string;
|
|
30944
|
+
/** Returns response with indentations and line breaks. */
|
|
30945
|
+
prettyPrint?: boolean;
|
|
30946
|
+
/** 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. */
|
|
30947
|
+
quotaUser?: string;
|
|
30948
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
30949
|
+
upload_protocol?: string;
|
|
30950
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30951
|
+
uploadType?: string;
|
|
30952
|
+
/** Request body */
|
|
30953
|
+
resource: GoogleCloudAiplatformV1beta1TuningJob;
|
|
30954
|
+
}): Request<GoogleCloudAiplatformV1beta1TuningJob>;
|
|
30955
|
+
create(
|
|
30956
|
+
request: {
|
|
30957
|
+
/** V1 error format. */
|
|
30958
|
+
'$.xgafv'?: string;
|
|
30959
|
+
/** OAuth access token. */
|
|
30960
|
+
access_token?: string;
|
|
30961
|
+
/** Data format for response. */
|
|
30962
|
+
alt?: string;
|
|
30963
|
+
/** JSONP */
|
|
30964
|
+
callback?: string;
|
|
30965
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
30966
|
+
fields?: string;
|
|
30967
|
+
/** 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. */
|
|
30968
|
+
key?: string;
|
|
30969
|
+
/** OAuth 2.0 token for the current user. */
|
|
30970
|
+
oauth_token?: string;
|
|
30971
|
+
/** Required. The resource name of the Location to create the TuningJob in. Format: `projects/{project}/locations/{location}` */
|
|
30972
|
+
parent: string;
|
|
30973
|
+
/** Returns response with indentations and line breaks. */
|
|
30974
|
+
prettyPrint?: boolean;
|
|
30975
|
+
/** 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. */
|
|
30976
|
+
quotaUser?: string;
|
|
30977
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
30978
|
+
upload_protocol?: string;
|
|
30979
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
30980
|
+
uploadType?: string;
|
|
30981
|
+
},
|
|
30982
|
+
body: GoogleCloudAiplatformV1beta1TuningJob
|
|
30983
|
+
): Request<GoogleCloudAiplatformV1beta1TuningJob>;
|
|
30984
|
+
/** Gets a TuningJob. */
|
|
30985
|
+
get(request?: {
|
|
30986
|
+
/** V1 error format. */
|
|
30987
|
+
'$.xgafv'?: string;
|
|
30988
|
+
/** OAuth access token. */
|
|
30989
|
+
access_token?: string;
|
|
30990
|
+
/** Data format for response. */
|
|
30991
|
+
alt?: string;
|
|
30992
|
+
/** JSONP */
|
|
30993
|
+
callback?: string;
|
|
30994
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
30995
|
+
fields?: string;
|
|
30996
|
+
/** 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. */
|
|
30997
|
+
key?: string;
|
|
30998
|
+
/** Required. The name of the TuningJob resource. Format: `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` */
|
|
30999
|
+
name: string;
|
|
31000
|
+
/** OAuth 2.0 token for the current user. */
|
|
31001
|
+
oauth_token?: string;
|
|
31002
|
+
/** Returns response with indentations and line breaks. */
|
|
31003
|
+
prettyPrint?: boolean;
|
|
31004
|
+
/** 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. */
|
|
31005
|
+
quotaUser?: string;
|
|
31006
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31007
|
+
upload_protocol?: string;
|
|
31008
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31009
|
+
uploadType?: string;
|
|
31010
|
+
}): Request<GoogleCloudAiplatformV1beta1TuningJob>;
|
|
31011
|
+
/** Lists TuningJobs in a Location. */
|
|
31012
|
+
list(request?: {
|
|
31013
|
+
/** V1 error format. */
|
|
31014
|
+
'$.xgafv'?: string;
|
|
31015
|
+
/** OAuth access token. */
|
|
31016
|
+
access_token?: string;
|
|
31017
|
+
/** Data format for response. */
|
|
31018
|
+
alt?: string;
|
|
31019
|
+
/** JSONP */
|
|
31020
|
+
callback?: string;
|
|
31021
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
31022
|
+
fields?: string;
|
|
31023
|
+
/** Optional. The standard list filter. */
|
|
31024
|
+
filter?: string;
|
|
31025
|
+
/** 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. */
|
|
31026
|
+
key?: string;
|
|
31027
|
+
/** OAuth 2.0 token for the current user. */
|
|
31028
|
+
oauth_token?: string;
|
|
31029
|
+
/** Optional. The standard list page size. */
|
|
31030
|
+
pageSize?: number;
|
|
31031
|
+
/** Optional. The standard list page token. Typically obtained via ListTuningJob.next_page_token of the previous GenAiTuningService.ListTuningJob][] call. */
|
|
31032
|
+
pageToken?: string;
|
|
31033
|
+
/** Required. The resource name of the Location to list the TuningJobs from. Format: `projects/{project}/locations/{location}` */
|
|
31034
|
+
parent: string;
|
|
31035
|
+
/** Returns response with indentations and line breaks. */
|
|
31036
|
+
prettyPrint?: boolean;
|
|
31037
|
+
/** 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. */
|
|
31038
|
+
quotaUser?: string;
|
|
31039
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
31040
|
+
upload_protocol?: string;
|
|
31041
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
31042
|
+
uploadType?: string;
|
|
31043
|
+
}): Request<GoogleCloudAiplatformV1beta1ListTuningJobsResponse>;
|
|
31044
|
+
}
|
|
31513
31045
|
interface LocationsResource {
|
|
31514
31046
|
/** Evaluates instances based on a given metric. */
|
|
31515
31047
|
evaluateInstances(request: {
|
|
@@ -31727,6 +31259,7 @@ declare namespace gapi.client {
|
|
|
31727
31259
|
studies: StudiesResource;
|
|
31728
31260
|
tensorboards: TensorboardsResource;
|
|
31729
31261
|
trainingPipelines: TrainingPipelinesResource;
|
|
31262
|
+
tuningJobs: TuningJobsResource;
|
|
31730
31263
|
}
|
|
31731
31264
|
interface ProjectsResource {
|
|
31732
31265
|
/** Gets a GenAI cache config. */
|