@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240423 → 0.0.20240429
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 +27 -11
- 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240429
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2178,7 +2178,7 @@ declare namespace gapi.client {
|
|
|
2178
2178
|
interface GoogleCloudAiplatformV1FindNeighborsResponseNeighbor {
|
|
2179
2179
|
/** The datapoint of the neighbor. Note that full datapoints are returned only when "return_full_datapoint" is set to true. Otherwise, only the "datapoint_id" and "crowding_tag" fields are populated. */
|
|
2180
2180
|
datapoint?: GoogleCloudAiplatformV1IndexDatapoint;
|
|
2181
|
-
/** The distance between the neighbor and the query
|
|
2181
|
+
/** The distance between the neighbor and the dense embedding query. */
|
|
2182
2182
|
distance?: number;
|
|
2183
2183
|
}
|
|
2184
2184
|
interface GoogleCloudAiplatformV1FractionSplit {
|
|
@@ -2285,6 +2285,8 @@ declare namespace gapi.client {
|
|
|
2285
2285
|
baseModelUri?: string;
|
|
2286
2286
|
}
|
|
2287
2287
|
interface GoogleCloudAiplatformV1GroundingMetadata {
|
|
2288
|
+
/** Optional. Google search entry for the following-up web searches. */
|
|
2289
|
+
searchEntryPoint?: GoogleCloudAiplatformV1SearchEntryPoint;
|
|
2288
2290
|
/** Optional. Web search queries for the following-up web search. */
|
|
2289
2291
|
webSearchQueries?: string[];
|
|
2290
2292
|
}
|
|
@@ -2433,7 +2435,7 @@ declare namespace gapi.client {
|
|
|
2433
2435
|
crowdingTag?: GoogleCloudAiplatformV1IndexDatapointCrowdingTag;
|
|
2434
2436
|
/** Required. Unique identifier of the datapoint. */
|
|
2435
2437
|
datapointId?: string;
|
|
2436
|
-
/** Required. Feature embedding vector. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions]. */
|
|
2438
|
+
/** Required. Feature embedding vector for dense index. An array of numbers with the length of [NearestNeighborSearchConfig.dimensions]. */
|
|
2437
2439
|
featureVector?: number[];
|
|
2438
2440
|
/** Optional. List of Restrict of the datapoint, used to perform "restricted searches" where boolean rule are used to filter the subset of the database eligible for matching. This uses numeric comparisons. */
|
|
2439
2441
|
numericRestricts?: GoogleCloudAiplatformV1IndexDatapointNumericRestriction[];
|
|
@@ -2505,7 +2507,7 @@ declare namespace gapi.client {
|
|
|
2505
2507
|
interface GoogleCloudAiplatformV1IndexStats {
|
|
2506
2508
|
/** Output only. The number of shards in the Index. */
|
|
2507
2509
|
shardsCount?: number;
|
|
2508
|
-
/** Output only. The number of vectors in the Index. */
|
|
2510
|
+
/** Output only. The number of dense vectors in the Index. */
|
|
2509
2511
|
vectorsCount?: string;
|
|
2510
2512
|
}
|
|
2511
2513
|
interface GoogleCloudAiplatformV1InputDataConfig {
|
|
@@ -4001,6 +4003,8 @@ declare namespace gapi.client {
|
|
|
4001
4003
|
deploy?: GoogleCloudAiplatformV1PublisherModelCallToActionDeploy;
|
|
4002
4004
|
/** Optional. Deploy PublisherModel to Google Kubernetes Engine. */
|
|
4003
4005
|
deployGke?: GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke;
|
|
4006
|
+
/** Optional. Fine tune the PublisherModel with the third-party model tuning UI. */
|
|
4007
|
+
fineTune?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
|
|
4004
4008
|
/** Optional. Open evaluation pipeline of the PublisherModel. */
|
|
4005
4009
|
openEvaluationPipeline?: GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences;
|
|
4006
4010
|
/** Optional. Open fine-tuning pipeline of the PublisherModel. */
|
|
@@ -4031,6 +4035,8 @@ declare namespace gapi.client {
|
|
|
4031
4035
|
containerSpec?: GoogleCloudAiplatformV1ModelContainerSpec;
|
|
4032
4036
|
/** A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration. */
|
|
4033
4037
|
dedicatedResources?: GoogleCloudAiplatformV1DedicatedResources;
|
|
4038
|
+
/** Optional. The name of the deploy task (e.g., "text to image generation"). */
|
|
4039
|
+
deployTaskName?: string;
|
|
4034
4040
|
/** Optional. Large model reference. When this is set, model_artifact_spec is not needed. */
|
|
4035
4041
|
largeModelReference?: GoogleCloudAiplatformV1LargeModelReference;
|
|
4036
4042
|
/** Optional. Default model display name. */
|
|
@@ -5145,6 +5151,8 @@ declare namespace gapi.client {
|
|
|
5145
5151
|
promptType?: string;
|
|
5146
5152
|
/** Customized stop sequences. */
|
|
5147
5153
|
stopSequences?: string[];
|
|
5154
|
+
/** The Google Cloud Storage URI that stores the system instruction, starting with gs://. */
|
|
5155
|
+
systemInstructionGcsUri?: string;
|
|
5148
5156
|
/** Temperature value used for sampling set when the dataset was saved. This value is used to tune the degree of randomness. */
|
|
5149
5157
|
temperature?: number;
|
|
5150
5158
|
/** The content of the prompt dataset. */
|
|
@@ -5775,6 +5783,12 @@ declare namespace gapi.client {
|
|
|
5775
5783
|
/** A token to retrieve next page of results. Pass to SearchDataItemsRequest.page_token to obtain that page. */
|
|
5776
5784
|
nextPageToken?: string;
|
|
5777
5785
|
}
|
|
5786
|
+
interface GoogleCloudAiplatformV1SearchEntryPoint {
|
|
5787
|
+
/** Optional. Web content snippet that can be embedded in a web page or an app webview. */
|
|
5788
|
+
renderedContent?: string;
|
|
5789
|
+
/** Optional. Base64 encoded JSON representing array of tuple. */
|
|
5790
|
+
sdkBlob?: string;
|
|
5791
|
+
}
|
|
5778
5792
|
interface GoogleCloudAiplatformV1SearchFeaturesResponse {
|
|
5779
5793
|
/** The Features matching the request. Fields returned: * `name` * `description` * `labels` * `create_time` * `update_time` */
|
|
5780
5794
|
features?: GoogleCloudAiplatformV1Feature[];
|
|
@@ -6835,11 +6849,10 @@ declare namespace gapi.client {
|
|
|
6835
6849
|
trainingSegmentResults?: LanguageLabsAidaTrustRecitationProtoSegmentResult[];
|
|
6836
6850
|
}
|
|
6837
6851
|
interface LanguageLabsAidaTrustRecitationProtoSegmentResult {
|
|
6838
|
-
/** The dataset the segment came from. */
|
|
6852
|
+
/** The dataset the segment came from. Datasets change often as model evolves. Treat this field as informational only and avoid depending on it directly. */
|
|
6839
6853
|
attributionDataset?: string;
|
|
6840
6854
|
/** human-friendly string that contains information from doc_attribution which could be shown by clients */
|
|
6841
6855
|
displayAttributionMessage?: string;
|
|
6842
|
-
/** populated when recitation_action == CITE */
|
|
6843
6856
|
docAttribution?: LanguageLabsAidaTrustRecitationProtoDocAttribution;
|
|
6844
6857
|
/** number of documents that contained this segment */
|
|
6845
6858
|
docOccurrences?: number;
|
|
@@ -6847,6 +6860,8 @@ declare namespace gapi.client {
|
|
|
6847
6860
|
/** 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. */
|
|
6848
6861
|
rawText?: string;
|
|
6849
6862
|
segmentRecitationAction?: string;
|
|
6863
|
+
/** The category of the source dataset where the segment came from. This is more stable than Dataset. */
|
|
6864
|
+
sourceCategory?: string;
|
|
6850
6865
|
/** 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. */
|
|
6851
6866
|
startIndex?: number;
|
|
6852
6867
|
}
|
|
@@ -6908,11 +6923,10 @@ declare namespace gapi.client {
|
|
|
6908
6923
|
trainingSegmentResults?: LearningGenaiRecitationSegmentResult[];
|
|
6909
6924
|
}
|
|
6910
6925
|
interface LearningGenaiRecitationSegmentResult {
|
|
6911
|
-
/** The dataset the segment came from. */
|
|
6926
|
+
/** The dataset the segment came from. Datasets change often as model evolves. Treat this field as informational only and avoid depending on it directly. */
|
|
6912
6927
|
attributionDataset?: string;
|
|
6913
6928
|
/** human-friendly string that contains information from doc_attribution which could be shown by clients */
|
|
6914
6929
|
displayAttributionMessage?: string;
|
|
6915
|
-
/** populated when recitation_action == CITE */
|
|
6916
6930
|
docAttribution?: LearningGenaiRecitationDocAttribution;
|
|
6917
6931
|
/** number of documents that contained this segment */
|
|
6918
6932
|
docOccurrences?: number;
|
|
@@ -6920,6 +6934,8 @@ declare namespace gapi.client {
|
|
|
6920
6934
|
/** 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. */
|
|
6921
6935
|
rawText?: string;
|
|
6922
6936
|
segmentRecitationAction?: string;
|
|
6937
|
+
/** The category of the source dataset where the segment came from. This is more stable than Dataset. */
|
|
6938
|
+
sourceCategory?: string;
|
|
6923
6939
|
/** 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. */
|
|
6924
6940
|
startIndex?: number;
|
|
6925
6941
|
}
|
|
@@ -7290,7 +7306,7 @@ declare namespace gapi.client {
|
|
|
7290
7306
|
scores?: LearningGenaiRootScore[];
|
|
7291
7307
|
/** Whether the response is terminated during streaming return. Only used for streaming requests. */
|
|
7292
7308
|
streamTerminated?: boolean;
|
|
7293
|
-
/**
|
|
7309
|
+
/** 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. */
|
|
7294
7310
|
totalDecodedTokenCount?: number;
|
|
7295
7311
|
/** 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. */
|
|
7296
7312
|
translatedUserPrompts?: string[];
|
|
@@ -11704,7 +11720,7 @@ declare namespace gapi.client {
|
|
|
11704
11720
|
key?: string;
|
|
11705
11721
|
/** OAuth 2.0 token for the current user. */
|
|
11706
11722
|
oauth_token?: string;
|
|
11707
|
-
/** Required. The resource name of the Location to create FeatureGroups. Format: `projects/{project}/locations/{location}
|
|
11723
|
+
/** Required. The resource name of the Location to create FeatureGroups. Format: `projects/{project}/locations/{location}` */
|
|
11708
11724
|
parent: string;
|
|
11709
11725
|
/** Returns response with indentations and line breaks. */
|
|
11710
11726
|
prettyPrint?: boolean;
|
|
@@ -11735,7 +11751,7 @@ declare namespace gapi.client {
|
|
|
11735
11751
|
key?: string;
|
|
11736
11752
|
/** OAuth 2.0 token for the current user. */
|
|
11737
11753
|
oauth_token?: string;
|
|
11738
|
-
/** Required. The resource name of the Location to create FeatureGroups. Format: `projects/{project}/locations/{location}
|
|
11754
|
+
/** Required. The resource name of the Location to create FeatureGroups. Format: `projects/{project}/locations/{location}` */
|
|
11739
11755
|
parent: string;
|
|
11740
11756
|
/** Returns response with indentations and line breaks. */
|
|
11741
11757
|
prettyPrint?: boolean;
|