google-apis-aiplatform_v1beta1 0.56.0 → 0.57.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +448 -53
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +206 -21
- data/lib/google/apis/aiplatform_v1beta1/service.rb +34 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b75c671f0d317e1e28ff6f580e08396c0008a327a522288912980d28ae8f56ab
|
4
|
+
data.tar.gz: 7c80bf4be6cccaa66192425435d1ec728f412e8a1810944e3109885984c3c0ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00c2bf2cbb44459631edf91157fbddd3f1e9f1c0c5bde653d3af0f617c6c9045be2dd2ec04bbfe80e3e4dd09c70f3c74f5672596795cc63c7fe8648f286add96
|
7
|
+
data.tar.gz: da25c368c2369c11ae3a4d8800e7b46e7b22a7e04402c989fd3bded37788ffe7527b9f9584b3a209a5d9bd48474a70274b8ef3587320f9fff70a93698a8124b2
|
data/CHANGELOG.md
CHANGED
@@ -1118,18 +1118,6 @@ module Google
|
|
1118
1118
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig]
|
1119
1119
|
attr_accessor :gemini_request_read_config
|
1120
1120
|
|
1121
|
-
# Template configuration to create Gemini examples from a multimodal dataset.
|
1122
|
-
# Corresponds to the JSON property `geminiTemplateConfig`
|
1123
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig]
|
1124
|
-
attr_accessor :gemini_template_config
|
1125
|
-
|
1126
|
-
# Optional. The column name in the underlying table that contains already fully
|
1127
|
-
# assembled requests. If this field is set, the original request will be copied
|
1128
|
-
# to the output table.
|
1129
|
-
# Corresponds to the JSON property `requestColumnName`
|
1130
|
-
# @return [String]
|
1131
|
-
attr_accessor :request_column_name
|
1132
|
-
|
1133
1121
|
def initialize(**args)
|
1134
1122
|
update!(**args)
|
1135
1123
|
end
|
@@ -1137,8 +1125,6 @@ module Google
|
|
1137
1125
|
# Update properties of this object
|
1138
1126
|
def update!(**args)
|
1139
1127
|
@gemini_request_read_config = args[:gemini_request_read_config] if args.key?(:gemini_request_read_config)
|
1140
|
-
@gemini_template_config = args[:gemini_template_config] if args.key?(:gemini_template_config)
|
1141
|
-
@request_column_name = args[:request_column_name] if args.key?(:request_column_name)
|
1142
1128
|
end
|
1143
1129
|
end
|
1144
1130
|
|
@@ -1162,17 +1148,6 @@ module Google
|
|
1162
1148
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig]
|
1163
1149
|
attr_accessor :gemini_request_read_config
|
1164
1150
|
|
1165
|
-
# Template configuration to create Gemini examples from a multimodal dataset.
|
1166
|
-
# Corresponds to the JSON property `geminiTemplateConfig`
|
1167
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig]
|
1168
|
-
attr_accessor :gemini_template_config
|
1169
|
-
|
1170
|
-
# Optional. The column name in the underlying table that contains already fully
|
1171
|
-
# assembled requests.
|
1172
|
-
# Corresponds to the JSON property `requestColumnName`
|
1173
|
-
# @return [String]
|
1174
|
-
attr_accessor :request_column_name
|
1175
|
-
|
1176
1151
|
# Configuration for the tuning resource usage assessment.
|
1177
1152
|
# Corresponds to the JSON property `tuningResourceUsageAssessmentConfig`
|
1178
1153
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig]
|
@@ -1192,8 +1167,6 @@ module Google
|
|
1192
1167
|
@batch_prediction_resource_usage_assessment_config = args[:batch_prediction_resource_usage_assessment_config] if args.key?(:batch_prediction_resource_usage_assessment_config)
|
1193
1168
|
@batch_prediction_validation_assessment_config = args[:batch_prediction_validation_assessment_config] if args.key?(:batch_prediction_validation_assessment_config)
|
1194
1169
|
@gemini_request_read_config = args[:gemini_request_read_config] if args.key?(:gemini_request_read_config)
|
1195
|
-
@gemini_template_config = args[:gemini_template_config] if args.key?(:gemini_template_config)
|
1196
|
-
@request_column_name = args[:request_column_name] if args.key?(:request_column_name)
|
1197
1170
|
@tuning_resource_usage_assessment_config = args[:tuning_resource_usage_assessment_config] if args.key?(:tuning_resource_usage_assessment_config)
|
1198
1171
|
@tuning_validation_assessment_config = args[:tuning_validation_assessment_config] if args.key?(:tuning_validation_assessment_config)
|
1199
1172
|
end
|
@@ -1809,7 +1782,8 @@ module Google
|
|
1809
1782
|
|
1810
1783
|
# Required. The resource metric name. Supported metrics: * For Online Prediction:
|
1811
1784
|
# * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `
|
1812
|
-
# aiplatform.googleapis.com/prediction/online/cpu/utilization`
|
1785
|
+
# aiplatform.googleapis.com/prediction/online/cpu/utilization` * `aiplatform.
|
1786
|
+
# googleapis.com/prediction/online/request_count`
|
1813
1787
|
# Corresponds to the JSON property `metricName`
|
1814
1788
|
# @return [String]
|
1815
1789
|
attr_accessor :metric_name
|
@@ -2037,6 +2011,12 @@ module Google
|
|
2037
2011
|
class GoogleCloudAiplatformV1beta1BatchDedicatedResources
|
2038
2012
|
include Google::Apis::Core::Hashable
|
2039
2013
|
|
2014
|
+
# FlexStart is used to schedule the deployment workload on DWS resource. It
|
2015
|
+
# contains the max duration of the deployment.
|
2016
|
+
# Corresponds to the JSON property `flexStart`
|
2017
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FlexStart]
|
2018
|
+
attr_accessor :flex_start
|
2019
|
+
|
2040
2020
|
# Specification of a single machine.
|
2041
2021
|
# Corresponds to the JSON property `machineSpec`
|
2042
2022
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec]
|
@@ -2048,6 +2028,13 @@ module Google
|
|
2048
2028
|
# @return [Fixnum]
|
2049
2029
|
attr_accessor :max_replica_count
|
2050
2030
|
|
2031
|
+
# Optional. If true, schedule the deployment workload on [spot VMs](https://
|
2032
|
+
# cloud.google.com/kubernetes-engine/docs/concepts/spot-vms).
|
2033
|
+
# Corresponds to the JSON property `spot`
|
2034
|
+
# @return [Boolean]
|
2035
|
+
attr_accessor :spot
|
2036
|
+
alias_method :spot?, :spot
|
2037
|
+
|
2051
2038
|
# Immutable. The number of machine replicas used at the start of the batch
|
2052
2039
|
# operation. If not set, Vertex AI decides starting number, not greater than
|
2053
2040
|
# max_replica_count
|
@@ -2061,8 +2048,10 @@ module Google
|
|
2061
2048
|
|
2062
2049
|
# Update properties of this object
|
2063
2050
|
def update!(**args)
|
2051
|
+
@flex_start = args[:flex_start] if args.key?(:flex_start)
|
2064
2052
|
@machine_spec = args[:machine_spec] if args.key?(:machine_spec)
|
2065
2053
|
@max_replica_count = args[:max_replica_count] if args.key?(:max_replica_count)
|
2054
|
+
@spot = args[:spot] if args.key?(:spot)
|
2066
2055
|
@starting_replica_count = args[:starting_replica_count] if args.key?(:starting_replica_count)
|
2067
2056
|
end
|
2068
2057
|
end
|
@@ -7142,6 +7131,12 @@ module Google
|
|
7142
7131
|
# @return [String]
|
7143
7132
|
attr_accessor :deployment_group
|
7144
7133
|
|
7134
|
+
# Optional. The deployment tier that the index is deployed to.
|
7135
|
+
# DEPLOYMENT_TIER_UNSPECIFIED defaults to PERFORMANCE.
|
7136
|
+
# Corresponds to the JSON property `deploymentTier`
|
7137
|
+
# @return [String]
|
7138
|
+
attr_accessor :deployment_tier
|
7139
|
+
|
7145
7140
|
# The display name of the DeployedIndex. If not provided upon creation, the
|
7146
7141
|
# Index's display_name is used.
|
7147
7142
|
# Corresponds to the JSON property `displayName`
|
@@ -7234,6 +7229,7 @@ module Google
|
|
7234
7229
|
@dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
|
7235
7230
|
@deployed_index_auth_config = args[:deployed_index_auth_config] if args.key?(:deployed_index_auth_config)
|
7236
7231
|
@deployment_group = args[:deployment_group] if args.key?(:deployment_group)
|
7232
|
+
@deployment_tier = args[:deployment_tier] if args.key?(:deployment_tier)
|
7237
7233
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7238
7234
|
@enable_access_logging = args[:enable_access_logging] if args.key?(:enable_access_logging)
|
7239
7235
|
@enable_datapoint_upsert_logging = args[:enable_datapoint_upsert_logging] if args.key?(:enable_datapoint_upsert_logging)
|
@@ -8211,12 +8207,19 @@ module Google
|
|
8211
8207
|
class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
|
8212
8208
|
include Google::Apis::Core::Hashable
|
8213
8209
|
|
8210
|
+
# Optional. List of domains to be excluded from the search results. The default
|
8211
|
+
# limit is 2000 domains.
|
8212
|
+
# Corresponds to the JSON property `excludeDomains`
|
8213
|
+
# @return [Array<String>]
|
8214
|
+
attr_accessor :exclude_domains
|
8215
|
+
|
8214
8216
|
def initialize(**args)
|
8215
8217
|
update!(**args)
|
8216
8218
|
end
|
8217
8219
|
|
8218
8220
|
# Update properties of this object
|
8219
8221
|
def update!(**args)
|
8222
|
+
@exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
|
8220
8223
|
end
|
8221
8224
|
end
|
8222
8225
|
|
@@ -14684,6 +14687,59 @@ module Google
|
|
14684
14687
|
end
|
14685
14688
|
end
|
14686
14689
|
|
14690
|
+
# Input example for preference optimization.
|
14691
|
+
class GoogleCloudAiplatformV1beta1GeminiPreferenceExample
|
14692
|
+
include Google::Apis::Core::Hashable
|
14693
|
+
|
14694
|
+
# List of completions for a given prompt.
|
14695
|
+
# Corresponds to the JSON property `completions`
|
14696
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion>]
|
14697
|
+
attr_accessor :completions
|
14698
|
+
|
14699
|
+
# Multi-turn contents that represents the Prompt.
|
14700
|
+
# Corresponds to the JSON property `contents`
|
14701
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
|
14702
|
+
attr_accessor :contents
|
14703
|
+
|
14704
|
+
def initialize(**args)
|
14705
|
+
update!(**args)
|
14706
|
+
end
|
14707
|
+
|
14708
|
+
# Update properties of this object
|
14709
|
+
def update!(**args)
|
14710
|
+
@completions = args[:completions] if args.key?(:completions)
|
14711
|
+
@contents = args[:contents] if args.key?(:contents)
|
14712
|
+
end
|
14713
|
+
end
|
14714
|
+
|
14715
|
+
# Completion and its preference score.
|
14716
|
+
class GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion
|
14717
|
+
include Google::Apis::Core::Hashable
|
14718
|
+
|
14719
|
+
# The base structured datatype containing multi-part content of a message. A `
|
14720
|
+
# Content` includes a `role` field designating the producer of the `Content` and
|
14721
|
+
# a `parts` field containing multi-part data that contains the content of the
|
14722
|
+
# message turn.
|
14723
|
+
# Corresponds to the JSON property `completion`
|
14724
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
14725
|
+
attr_accessor :completion
|
14726
|
+
|
14727
|
+
# The score for the given completion.
|
14728
|
+
# Corresponds to the JSON property `score`
|
14729
|
+
# @return [Float]
|
14730
|
+
attr_accessor :score
|
14731
|
+
|
14732
|
+
def initialize(**args)
|
14733
|
+
update!(**args)
|
14734
|
+
end
|
14735
|
+
|
14736
|
+
# Update properties of this object
|
14737
|
+
def update!(**args)
|
14738
|
+
@completion = args[:completion] if args.key?(:completion)
|
14739
|
+
@score = args[:score] if args.key?(:score)
|
14740
|
+
end
|
14741
|
+
end
|
14742
|
+
|
14687
14743
|
# Configuration for how to read Gemini requests from a multimodal dataset.
|
14688
14744
|
class GoogleCloudAiplatformV1beta1GeminiRequestReadConfig
|
14689
14745
|
include Google::Apis::Core::Hashable
|
@@ -15089,6 +15145,12 @@ module Google
|
|
15089
15145
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource]
|
15090
15146
|
attr_accessor :direct_contents_source
|
15091
15147
|
|
15148
|
+
# Defines a direct source of memories that should be uploaded to Memory Bank
|
15149
|
+
# with consolidation.
|
15150
|
+
# Corresponds to the JSON property `directMemoriesSource`
|
15151
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource]
|
15152
|
+
attr_accessor :direct_memories_source
|
15153
|
+
|
15092
15154
|
# Optional. If true, generated memories will not be consolidated with existing
|
15093
15155
|
# memories; all generated memories will be added as new memories regardless of
|
15094
15156
|
# whether they are duplicates of or contradictory to existing memories. By
|
@@ -15121,6 +15183,7 @@ module Google
|
|
15121
15183
|
# Update properties of this object
|
15122
15184
|
def update!(**args)
|
15123
15185
|
@direct_contents_source = args[:direct_contents_source] if args.key?(:direct_contents_source)
|
15186
|
+
@direct_memories_source = args[:direct_memories_source] if args.key?(:direct_memories_source)
|
15124
15187
|
@disable_consolidation = args[:disable_consolidation] if args.key?(:disable_consolidation)
|
15125
15188
|
@scope = args[:scope] if args.key?(:scope)
|
15126
15189
|
@vertex_session_source = args[:vertex_session_source] if args.key?(:vertex_session_source)
|
@@ -15168,6 +15231,46 @@ module Google
|
|
15168
15231
|
end
|
15169
15232
|
end
|
15170
15233
|
|
15234
|
+
# Defines a direct source of memories that should be uploaded to Memory Bank
|
15235
|
+
# with consolidation.
|
15236
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource
|
15237
|
+
include Google::Apis::Core::Hashable
|
15238
|
+
|
15239
|
+
# Required. The direct memories to upload to Memory Bank. At most 5 direct
|
15240
|
+
# memories are allowed per request.
|
15241
|
+
# Corresponds to the JSON property `directMemories`
|
15242
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory>]
|
15243
|
+
attr_accessor :direct_memories
|
15244
|
+
|
15245
|
+
def initialize(**args)
|
15246
|
+
update!(**args)
|
15247
|
+
end
|
15248
|
+
|
15249
|
+
# Update properties of this object
|
15250
|
+
def update!(**args)
|
15251
|
+
@direct_memories = args[:direct_memories] if args.key?(:direct_memories)
|
15252
|
+
end
|
15253
|
+
end
|
15254
|
+
|
15255
|
+
# A direct memory to upload to Memory Bank.
|
15256
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory
|
15257
|
+
include Google::Apis::Core::Hashable
|
15258
|
+
|
15259
|
+
# Required. The fact to consolidate with existing memories.
|
15260
|
+
# Corresponds to the JSON property `fact`
|
15261
|
+
# @return [String]
|
15262
|
+
attr_accessor :fact
|
15263
|
+
|
15264
|
+
def initialize(**args)
|
15265
|
+
update!(**args)
|
15266
|
+
end
|
15267
|
+
|
15268
|
+
# Update properties of this object
|
15269
|
+
def update!(**args)
|
15270
|
+
@fact = args[:fact] if args.key?(:fact)
|
15271
|
+
end
|
15272
|
+
end
|
15273
|
+
|
15171
15274
|
# Defines an Agent Engine Session from which to generate the memories. If `scope`
|
15172
15275
|
# is not provided, the scope will be extracted from the Session (i.e. `"user_id"
|
15173
15276
|
# : sesison.user_id`).
|
@@ -25351,6 +25454,50 @@ module Google
|
|
25351
25454
|
end
|
25352
25455
|
end
|
25353
25456
|
|
25457
|
+
# Request message for GenAiTuningService.OptimizePrompt.
|
25458
|
+
class GoogleCloudAiplatformV1beta1OptimizePromptRequest
|
25459
|
+
include Google::Apis::Core::Hashable
|
25460
|
+
|
25461
|
+
# The base structured datatype containing multi-part content of a message. A `
|
25462
|
+
# Content` includes a `role` field designating the producer of the `Content` and
|
25463
|
+
# a `parts` field containing multi-part data that contains the content of the
|
25464
|
+
# message turn.
|
25465
|
+
# Corresponds to the JSON property `content`
|
25466
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
25467
|
+
attr_accessor :content
|
25468
|
+
|
25469
|
+
def initialize(**args)
|
25470
|
+
update!(**args)
|
25471
|
+
end
|
25472
|
+
|
25473
|
+
# Update properties of this object
|
25474
|
+
def update!(**args)
|
25475
|
+
@content = args[:content] if args.key?(:content)
|
25476
|
+
end
|
25477
|
+
end
|
25478
|
+
|
25479
|
+
# Response message for GenAiTuningService.OptimizePrompt
|
25480
|
+
class GoogleCloudAiplatformV1beta1OptimizePromptResponse
|
25481
|
+
include Google::Apis::Core::Hashable
|
25482
|
+
|
25483
|
+
# The base structured datatype containing multi-part content of a message. A `
|
25484
|
+
# Content` includes a `role` field designating the producer of the `Content` and
|
25485
|
+
# a `parts` field containing multi-part data that contains the content of the
|
25486
|
+
# message turn.
|
25487
|
+
# Corresponds to the JSON property `content`
|
25488
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
25489
|
+
attr_accessor :content
|
25490
|
+
|
25491
|
+
def initialize(**args)
|
25492
|
+
update!(**args)
|
25493
|
+
end
|
25494
|
+
|
25495
|
+
# Update properties of this object
|
25496
|
+
def update!(**args)
|
25497
|
+
@content = args[:content] if args.key?(:content)
|
25498
|
+
end
|
25499
|
+
end
|
25500
|
+
|
25354
25501
|
# Config for evaluation output.
|
25355
25502
|
class GoogleCloudAiplatformV1beta1OutputConfig
|
25356
25503
|
include Google::Apis::Core::Hashable
|
@@ -27051,6 +27198,42 @@ module Google
|
|
27051
27198
|
end
|
27052
27199
|
end
|
27053
27200
|
|
27201
|
+
# A pre-tuned model for continuous tuning.
|
27202
|
+
class GoogleCloudAiplatformV1beta1PreTunedModel
|
27203
|
+
include Google::Apis::Core::Hashable
|
27204
|
+
|
27205
|
+
# Output only. The name of the base model this PreTunedModel was tuned from.
|
27206
|
+
# Corresponds to the JSON property `baseModel`
|
27207
|
+
# @return [String]
|
27208
|
+
attr_accessor :base_model
|
27209
|
+
|
27210
|
+
# Optional. The source checkpoint id. If not specified, the default checkpoint
|
27211
|
+
# will be used.
|
27212
|
+
# Corresponds to the JSON property `checkpointId`
|
27213
|
+
# @return [String]
|
27214
|
+
attr_accessor :checkpoint_id
|
27215
|
+
|
27216
|
+
# The resource name of the Model. E.g., a model resource name with a specified
|
27217
|
+
# version id or alias: `projects/`project`/locations/`location`/models/`model`@`
|
27218
|
+
# version_id`` `projects/`project`/locations/`location`/models/`model`@`alias``
|
27219
|
+
# Or, omit the version id to use the default version: `projects/`project`/
|
27220
|
+
# locations/`location`/models/`model``
|
27221
|
+
# Corresponds to the JSON property `tunedModelName`
|
27222
|
+
# @return [String]
|
27223
|
+
attr_accessor :tuned_model_name
|
27224
|
+
|
27225
|
+
def initialize(**args)
|
27226
|
+
update!(**args)
|
27227
|
+
end
|
27228
|
+
|
27229
|
+
# Update properties of this object
|
27230
|
+
def update!(**args)
|
27231
|
+
@base_model = args[:base_model] if args.key?(:base_model)
|
27232
|
+
@checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
|
27233
|
+
@tuned_model_name = args[:tuned_model_name] if args.key?(:tuned_model_name)
|
27234
|
+
end
|
27235
|
+
end
|
27236
|
+
|
27054
27237
|
# The configuration for the prebuilt speaker to use.
|
27055
27238
|
class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
|
27056
27239
|
include Google::Apis::Core::Hashable
|
@@ -27350,6 +27533,138 @@ module Google
|
|
27350
27533
|
end
|
27351
27534
|
end
|
27352
27535
|
|
27536
|
+
# Statistics computed for datasets used for preference optimization.
|
27537
|
+
class GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats
|
27538
|
+
include Google::Apis::Core::Hashable
|
27539
|
+
|
27540
|
+
# Distribution computed over a tuning dataset.
|
27541
|
+
# Corresponds to the JSON property `scoreVariancePerExampleDistribution`
|
27542
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution]
|
27543
|
+
attr_accessor :score_variance_per_example_distribution
|
27544
|
+
|
27545
|
+
# Distribution computed over a tuning dataset.
|
27546
|
+
# Corresponds to the JSON property `scoresDistribution`
|
27547
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution]
|
27548
|
+
attr_accessor :scores_distribution
|
27549
|
+
|
27550
|
+
# Output only. Number of billable tokens in the tuning dataset.
|
27551
|
+
# Corresponds to the JSON property `totalBillableTokenCount`
|
27552
|
+
# @return [Fixnum]
|
27553
|
+
attr_accessor :total_billable_token_count
|
27554
|
+
|
27555
|
+
# Output only. Number of examples in the tuning dataset.
|
27556
|
+
# Corresponds to the JSON property `tuningDatasetExampleCount`
|
27557
|
+
# @return [Fixnum]
|
27558
|
+
attr_accessor :tuning_dataset_example_count
|
27559
|
+
|
27560
|
+
# Output only. Number of tuning steps for this Tuning Job.
|
27561
|
+
# Corresponds to the JSON property `tuningStepCount`
|
27562
|
+
# @return [Fixnum]
|
27563
|
+
attr_accessor :tuning_step_count
|
27564
|
+
|
27565
|
+
# Output only. Sample user examples in the training dataset.
|
27566
|
+
# Corresponds to the JSON property `userDatasetExamples`
|
27567
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiPreferenceExample>]
|
27568
|
+
attr_accessor :user_dataset_examples
|
27569
|
+
|
27570
|
+
# Distribution computed over a tuning dataset.
|
27571
|
+
# Corresponds to the JSON property `userInputTokenDistribution`
|
27572
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution]
|
27573
|
+
attr_accessor :user_input_token_distribution
|
27574
|
+
|
27575
|
+
# Distribution computed over a tuning dataset.
|
27576
|
+
# Corresponds to the JSON property `userOutputTokenDistribution`
|
27577
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution]
|
27578
|
+
attr_accessor :user_output_token_distribution
|
27579
|
+
|
27580
|
+
def initialize(**args)
|
27581
|
+
update!(**args)
|
27582
|
+
end
|
27583
|
+
|
27584
|
+
# Update properties of this object
|
27585
|
+
def update!(**args)
|
27586
|
+
@score_variance_per_example_distribution = args[:score_variance_per_example_distribution] if args.key?(:score_variance_per_example_distribution)
|
27587
|
+
@scores_distribution = args[:scores_distribution] if args.key?(:scores_distribution)
|
27588
|
+
@total_billable_token_count = args[:total_billable_token_count] if args.key?(:total_billable_token_count)
|
27589
|
+
@tuning_dataset_example_count = args[:tuning_dataset_example_count] if args.key?(:tuning_dataset_example_count)
|
27590
|
+
@tuning_step_count = args[:tuning_step_count] if args.key?(:tuning_step_count)
|
27591
|
+
@user_dataset_examples = args[:user_dataset_examples] if args.key?(:user_dataset_examples)
|
27592
|
+
@user_input_token_distribution = args[:user_input_token_distribution] if args.key?(:user_input_token_distribution)
|
27593
|
+
@user_output_token_distribution = args[:user_output_token_distribution] if args.key?(:user_output_token_distribution)
|
27594
|
+
end
|
27595
|
+
end
|
27596
|
+
|
27597
|
+
# Hyperparameters for Preference Optimization.
|
27598
|
+
class GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters
|
27599
|
+
include Google::Apis::Core::Hashable
|
27600
|
+
|
27601
|
+
# Optional. Adapter size for preference optimization.
|
27602
|
+
# Corresponds to the JSON property `adapterSize`
|
27603
|
+
# @return [String]
|
27604
|
+
attr_accessor :adapter_size
|
27605
|
+
|
27606
|
+
# Optional. Weight for KL Divergence regularization.
|
27607
|
+
# Corresponds to the JSON property `beta`
|
27608
|
+
# @return [Float]
|
27609
|
+
attr_accessor :beta
|
27610
|
+
|
27611
|
+
# Optional. Number of complete passes the model makes over the entire training
|
27612
|
+
# dataset during training.
|
27613
|
+
# Corresponds to the JSON property `epochCount`
|
27614
|
+
# @return [Fixnum]
|
27615
|
+
attr_accessor :epoch_count
|
27616
|
+
|
27617
|
+
# Optional. Multiplier for adjusting the default learning rate.
|
27618
|
+
# Corresponds to the JSON property `learningRateMultiplier`
|
27619
|
+
# @return [Float]
|
27620
|
+
attr_accessor :learning_rate_multiplier
|
27621
|
+
|
27622
|
+
def initialize(**args)
|
27623
|
+
update!(**args)
|
27624
|
+
end
|
27625
|
+
|
27626
|
+
# Update properties of this object
|
27627
|
+
def update!(**args)
|
27628
|
+
@adapter_size = args[:adapter_size] if args.key?(:adapter_size)
|
27629
|
+
@beta = args[:beta] if args.key?(:beta)
|
27630
|
+
@epoch_count = args[:epoch_count] if args.key?(:epoch_count)
|
27631
|
+
@learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
|
27632
|
+
end
|
27633
|
+
end
|
27634
|
+
|
27635
|
+
# Tuning Spec for Preference Optimization.
|
27636
|
+
class GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec
|
27637
|
+
include Google::Apis::Core::Hashable
|
27638
|
+
|
27639
|
+
# Hyperparameters for Preference Optimization.
|
27640
|
+
# Corresponds to the JSON property `hyperParameters`
|
27641
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters]
|
27642
|
+
attr_accessor :hyper_parameters
|
27643
|
+
|
27644
|
+
# Required. Cloud Storage path to file containing training dataset for
|
27645
|
+
# preference optimization tuning. The dataset must be formatted as a JSONL file.
|
27646
|
+
# Corresponds to the JSON property `trainingDatasetUri`
|
27647
|
+
# @return [String]
|
27648
|
+
attr_accessor :training_dataset_uri
|
27649
|
+
|
27650
|
+
# Optional. Cloud Storage path to file containing validation dataset for
|
27651
|
+
# preference optimization tuning. The dataset must be formatted as a JSONL file.
|
27652
|
+
# Corresponds to the JSON property `validationDatasetUri`
|
27653
|
+
# @return [String]
|
27654
|
+
attr_accessor :validation_dataset_uri
|
27655
|
+
|
27656
|
+
def initialize(**args)
|
27657
|
+
update!(**args)
|
27658
|
+
end
|
27659
|
+
|
27660
|
+
# Update properties of this object
|
27661
|
+
def update!(**args)
|
27662
|
+
@hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
|
27663
|
+
@training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
|
27664
|
+
@validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
|
27665
|
+
end
|
27666
|
+
end
|
27667
|
+
|
27353
27668
|
# Preset configuration for example-based explanations
|
27354
27669
|
class GoogleCloudAiplatformV1beta1Presets
|
27355
27670
|
include Google::Apis::Core::Hashable
|
@@ -44352,11 +44667,6 @@ module Google
|
|
44352
44667
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution]
|
44353
44668
|
attr_accessor :code_execution
|
44354
44669
|
|
44355
|
-
# Tool to support computer use.
|
44356
|
-
# Corresponds to the JSON property `computerUse`
|
44357
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse]
|
44358
|
-
attr_accessor :computer_use
|
44359
|
-
|
44360
44670
|
# Tool to search public web data, powered by Vertex AI Search and Sec4
|
44361
44671
|
# compliance.
|
44362
44672
|
# Corresponds to the JSON property `enterpriseWebSearch`
|
@@ -44406,7 +44716,6 @@ module Google
|
|
44406
44716
|
# Update properties of this object
|
44407
44717
|
def update!(**args)
|
44408
44718
|
@code_execution = args[:code_execution] if args.key?(:code_execution)
|
44409
|
-
@computer_use = args[:computer_use] if args.key?(:computer_use)
|
44410
44719
|
@enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
|
44411
44720
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
44412
44721
|
@google_maps = args[:google_maps] if args.key?(:google_maps)
|
@@ -44558,25 +44867,6 @@ module Google
|
|
44558
44867
|
end
|
44559
44868
|
end
|
44560
44869
|
|
44561
|
-
# Tool to support computer use.
|
44562
|
-
class GoogleCloudAiplatformV1beta1ToolComputerUse
|
44563
|
-
include Google::Apis::Core::Hashable
|
44564
|
-
|
44565
|
-
# Required. The environment being operated.
|
44566
|
-
# Corresponds to the JSON property `environment`
|
44567
|
-
# @return [String]
|
44568
|
-
attr_accessor :environment
|
44569
|
-
|
44570
|
-
def initialize(**args)
|
44571
|
-
update!(**args)
|
44572
|
-
end
|
44573
|
-
|
44574
|
-
# Update properties of this object
|
44575
|
-
def update!(**args)
|
44576
|
-
@environment = args[:environment] if args.key?(:environment)
|
44577
|
-
end
|
44578
|
-
end
|
44579
|
-
|
44580
44870
|
# Tool config. This config is shared for all tools provided in the request.
|
44581
44871
|
class GoogleCloudAiplatformV1beta1ToolConfig
|
44582
44872
|
include Google::Apis::Core::Hashable
|
@@ -44607,12 +44897,19 @@ module Google
|
|
44607
44897
|
class GoogleCloudAiplatformV1beta1ToolGoogleSearch
|
44608
44898
|
include Google::Apis::Core::Hashable
|
44609
44899
|
|
44900
|
+
# Optional. List of domains to be excluded from the search results. The default
|
44901
|
+
# limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
|
44902
|
+
# Corresponds to the JSON property `excludeDomains`
|
44903
|
+
# @return [Array<String>]
|
44904
|
+
attr_accessor :exclude_domains
|
44905
|
+
|
44610
44906
|
def initialize(**args)
|
44611
44907
|
update!(**args)
|
44612
44908
|
end
|
44613
44909
|
|
44614
44910
|
# Update properties of this object
|
44615
44911
|
def update!(**args)
|
44912
|
+
@exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
|
44616
44913
|
end
|
44617
44914
|
end
|
44618
44915
|
|
@@ -46098,6 +46395,11 @@ module Google
|
|
46098
46395
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationDataStats]
|
46099
46396
|
attr_accessor :distillation_data_stats
|
46100
46397
|
|
46398
|
+
# Statistics computed for datasets used for preference optimization.
|
46399
|
+
# Corresponds to the JSON property `preferenceOptimizationDataStats`
|
46400
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats]
|
46401
|
+
attr_accessor :preference_optimization_data_stats
|
46402
|
+
|
46101
46403
|
# Tuning data statistics for Supervised Tuning.
|
46102
46404
|
# Corresponds to the JSON property `supervisedTuningDataStats`
|
46103
46405
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDataStats]
|
@@ -46110,6 +46412,7 @@ module Google
|
|
46110
46412
|
# Update properties of this object
|
46111
46413
|
def update!(**args)
|
46112
46414
|
@distillation_data_stats = args[:distillation_data_stats] if args.key?(:distillation_data_stats)
|
46415
|
+
@preference_optimization_data_stats = args[:preference_optimization_data_stats] if args.key?(:preference_optimization_data_stats)
|
46113
46416
|
@supervised_tuning_data_stats = args[:supervised_tuning_data_stats] if args.key?(:supervised_tuning_data_stats)
|
46114
46417
|
end
|
46115
46418
|
end
|
@@ -46212,6 +46515,16 @@ module Google
|
|
46212
46515
|
# @return [String]
|
46213
46516
|
attr_accessor :pipeline_job
|
46214
46517
|
|
46518
|
+
# A pre-tuned model for continuous tuning.
|
46519
|
+
# Corresponds to the JSON property `preTunedModel`
|
46520
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreTunedModel]
|
46521
|
+
attr_accessor :pre_tuned_model
|
46522
|
+
|
46523
|
+
# Tuning Spec for Preference Optimization.
|
46524
|
+
# Corresponds to the JSON property `preferenceOptimizationSpec`
|
46525
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec]
|
46526
|
+
attr_accessor :preference_optimization_spec
|
46527
|
+
|
46215
46528
|
# Output only. Reserved for future use.
|
46216
46529
|
# Corresponds to the JSON property `satisfiesPzi`
|
46217
46530
|
# @return [Boolean]
|
@@ -46271,6 +46584,11 @@ module Google
|
|
46271
46584
|
# @return [String]
|
46272
46585
|
attr_accessor :update_time
|
46273
46586
|
|
46587
|
+
# Tuning Spec for Veo Model Tuning.
|
46588
|
+
# Corresponds to the JSON property `veoTuningSpec`
|
46589
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VeoTuningSpec]
|
46590
|
+
attr_accessor :veo_tuning_spec
|
46591
|
+
|
46274
46592
|
def initialize(**args)
|
46275
46593
|
update!(**args)
|
46276
46594
|
end
|
@@ -46291,6 +46609,8 @@ module Google
|
|
46291
46609
|
@output_uri = args[:output_uri] if args.key?(:output_uri)
|
46292
46610
|
@partner_model_tuning_spec = args[:partner_model_tuning_spec] if args.key?(:partner_model_tuning_spec)
|
46293
46611
|
@pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
|
46612
|
+
@pre_tuned_model = args[:pre_tuned_model] if args.key?(:pre_tuned_model)
|
46613
|
+
@preference_optimization_spec = args[:preference_optimization_spec] if args.key?(:preference_optimization_spec)
|
46294
46614
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
46295
46615
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
46296
46616
|
@service_account = args[:service_account] if args.key?(:service_account)
|
@@ -46301,6 +46621,7 @@ module Google
|
|
46301
46621
|
@tuned_model_display_name = args[:tuned_model_display_name] if args.key?(:tuned_model_display_name)
|
46302
46622
|
@tuning_data_stats = args[:tuning_data_stats] if args.key?(:tuning_data_stats)
|
46303
46623
|
@update_time = args[:update_time] if args.key?(:update_time)
|
46624
|
+
@veo_tuning_spec = args[:veo_tuning_spec] if args.key?(:veo_tuning_spec)
|
46304
46625
|
end
|
46305
46626
|
end
|
46306
46627
|
|
@@ -47262,6 +47583,73 @@ module Google
|
|
47262
47583
|
end
|
47263
47584
|
end
|
47264
47585
|
|
47586
|
+
# Hyperparameters for Veo.
|
47587
|
+
class GoogleCloudAiplatformV1beta1VeoHyperParameters
|
47588
|
+
include Google::Apis::Core::Hashable
|
47589
|
+
|
47590
|
+
# Optional. Number of complete passes the model makes over the entire training
|
47591
|
+
# dataset during training.
|
47592
|
+
# Corresponds to the JSON property `epochCount`
|
47593
|
+
# @return [Fixnum]
|
47594
|
+
attr_accessor :epoch_count
|
47595
|
+
|
47596
|
+
# Optional. Multiplier for adjusting the default learning rate.
|
47597
|
+
# Corresponds to the JSON property `learningRateMultiplier`
|
47598
|
+
# @return [Float]
|
47599
|
+
attr_accessor :learning_rate_multiplier
|
47600
|
+
|
47601
|
+
# Optional. The tuning task. Either I2V or T2V.
|
47602
|
+
# Corresponds to the JSON property `tuningTask`
|
47603
|
+
# @return [String]
|
47604
|
+
attr_accessor :tuning_task
|
47605
|
+
|
47606
|
+
def initialize(**args)
|
47607
|
+
update!(**args)
|
47608
|
+
end
|
47609
|
+
|
47610
|
+
# Update properties of this object
|
47611
|
+
def update!(**args)
|
47612
|
+
@epoch_count = args[:epoch_count] if args.key?(:epoch_count)
|
47613
|
+
@learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
|
47614
|
+
@tuning_task = args[:tuning_task] if args.key?(:tuning_task)
|
47615
|
+
end
|
47616
|
+
end
|
47617
|
+
|
47618
|
+
# Tuning Spec for Veo Model Tuning.
|
47619
|
+
class GoogleCloudAiplatformV1beta1VeoTuningSpec
|
47620
|
+
include Google::Apis::Core::Hashable
|
47621
|
+
|
47622
|
+
# Hyperparameters for Veo.
|
47623
|
+
# Corresponds to the JSON property `hyperParameters`
|
47624
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VeoHyperParameters]
|
47625
|
+
attr_accessor :hyper_parameters
|
47626
|
+
|
47627
|
+
# Required. Training dataset used for tuning. The dataset can be specified as
|
47628
|
+
# either a Cloud Storage path to a JSONL file or as the resource name of a
|
47629
|
+
# Vertex Multimodal Dataset.
|
47630
|
+
# Corresponds to the JSON property `trainingDatasetUri`
|
47631
|
+
# @return [String]
|
47632
|
+
attr_accessor :training_dataset_uri
|
47633
|
+
|
47634
|
+
# Optional. Validation dataset used for tuning. The dataset can be specified as
|
47635
|
+
# either a Cloud Storage path to a JSONL file or as the resource name of a
|
47636
|
+
# Vertex Multimodal Dataset.
|
47637
|
+
# Corresponds to the JSON property `validationDatasetUri`
|
47638
|
+
# @return [String]
|
47639
|
+
attr_accessor :validation_dataset_uri
|
47640
|
+
|
47641
|
+
def initialize(**args)
|
47642
|
+
update!(**args)
|
47643
|
+
end
|
47644
|
+
|
47645
|
+
# Update properties of this object
|
47646
|
+
def update!(**args)
|
47647
|
+
@hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
|
47648
|
+
@training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
|
47649
|
+
@validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
|
47650
|
+
end
|
47651
|
+
end
|
47652
|
+
|
47265
47653
|
# Retrieve from Vertex AI Search datastore or engine for grounding. datastore
|
47266
47654
|
# and engine are mutually exclusive. See https://cloud.google.com/products/agent-
|
47267
47655
|
# builder
|
@@ -47460,6 +47848,12 @@ module Google
|
|
47460
47848
|
# @return [String]
|
47461
47849
|
attr_accessor :end_offset
|
47462
47850
|
|
47851
|
+
# Optional. The frame rate of the video sent to the model. If not specified, the
|
47852
|
+
# default value will be 1.0. The fps range is (0.0, 24.0].
|
47853
|
+
# Corresponds to the JSON property `fps`
|
47854
|
+
# @return [Float]
|
47855
|
+
attr_accessor :fps
|
47856
|
+
|
47463
47857
|
# Optional. The start offset of the video.
|
47464
47858
|
# Corresponds to the JSON property `startOffset`
|
47465
47859
|
# @return [String]
|
@@ -47472,6 +47866,7 @@ module Google
|
|
47472
47866
|
# Update properties of this object
|
47473
47867
|
def update!(**args)
|
47474
47868
|
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
47869
|
+
@fps = args[:fps] if args.key?(:fps)
|
47475
47870
|
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
47476
47871
|
end
|
47477
47872
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1beta1
|
18
18
|
# Version of the google-apis-aiplatform_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.57.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250731"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2422,6 +2422,18 @@ module Google
|
|
2422
2422
|
include Google::Apis::Core::JsonObjectSupport
|
2423
2423
|
end
|
2424
2424
|
|
2425
|
+
class GoogleCloudAiplatformV1beta1GeminiPreferenceExample
|
2426
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2427
|
+
|
2428
|
+
include Google::Apis::Core::JsonObjectSupport
|
2429
|
+
end
|
2430
|
+
|
2431
|
+
class GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion
|
2432
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2433
|
+
|
2434
|
+
include Google::Apis::Core::JsonObjectSupport
|
2435
|
+
end
|
2436
|
+
|
2425
2437
|
class GoogleCloudAiplatformV1beta1GeminiRequestReadConfig
|
2426
2438
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2427
2439
|
|
@@ -2500,6 +2512,18 @@ module Google
|
|
2500
2512
|
include Google::Apis::Core::JsonObjectSupport
|
2501
2513
|
end
|
2502
2514
|
|
2515
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource
|
2516
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2517
|
+
|
2518
|
+
include Google::Apis::Core::JsonObjectSupport
|
2519
|
+
end
|
2520
|
+
|
2521
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory
|
2522
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2523
|
+
|
2524
|
+
include Google::Apis::Core::JsonObjectSupport
|
2525
|
+
end
|
2526
|
+
|
2503
2527
|
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource
|
2504
2528
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2505
2529
|
|
@@ -4120,6 +4144,18 @@ module Google
|
|
4120
4144
|
include Google::Apis::Core::JsonObjectSupport
|
4121
4145
|
end
|
4122
4146
|
|
4147
|
+
class GoogleCloudAiplatformV1beta1OptimizePromptRequest
|
4148
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4149
|
+
|
4150
|
+
include Google::Apis::Core::JsonObjectSupport
|
4151
|
+
end
|
4152
|
+
|
4153
|
+
class GoogleCloudAiplatformV1beta1OptimizePromptResponse
|
4154
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4155
|
+
|
4156
|
+
include Google::Apis::Core::JsonObjectSupport
|
4157
|
+
end
|
4158
|
+
|
4123
4159
|
class GoogleCloudAiplatformV1beta1OutputConfig
|
4124
4160
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4125
4161
|
|
@@ -4372,6 +4408,12 @@ module Google
|
|
4372
4408
|
include Google::Apis::Core::JsonObjectSupport
|
4373
4409
|
end
|
4374
4410
|
|
4411
|
+
class GoogleCloudAiplatformV1beta1PreTunedModel
|
4412
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4413
|
+
|
4414
|
+
include Google::Apis::Core::JsonObjectSupport
|
4415
|
+
end
|
4416
|
+
|
4375
4417
|
class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
|
4376
4418
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4377
4419
|
|
@@ -4426,6 +4468,24 @@ module Google
|
|
4426
4468
|
include Google::Apis::Core::JsonObjectSupport
|
4427
4469
|
end
|
4428
4470
|
|
4471
|
+
class GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats
|
4472
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4473
|
+
|
4474
|
+
include Google::Apis::Core::JsonObjectSupport
|
4475
|
+
end
|
4476
|
+
|
4477
|
+
class GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters
|
4478
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4479
|
+
|
4480
|
+
include Google::Apis::Core::JsonObjectSupport
|
4481
|
+
end
|
4482
|
+
|
4483
|
+
class GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec
|
4484
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4485
|
+
|
4486
|
+
include Google::Apis::Core::JsonObjectSupport
|
4487
|
+
end
|
4488
|
+
|
4429
4489
|
class GoogleCloudAiplatformV1beta1Presets
|
4430
4490
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4431
4491
|
|
@@ -7402,12 +7462,6 @@ module Google
|
|
7402
7462
|
include Google::Apis::Core::JsonObjectSupport
|
7403
7463
|
end
|
7404
7464
|
|
7405
|
-
class GoogleCloudAiplatformV1beta1ToolComputerUse
|
7406
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
7407
|
-
|
7408
|
-
include Google::Apis::Core::JsonObjectSupport
|
7409
|
-
end
|
7410
|
-
|
7411
7465
|
class GoogleCloudAiplatformV1beta1ToolConfig
|
7412
7466
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
7413
7467
|
|
@@ -8020,6 +8074,18 @@ module Google
|
|
8020
8074
|
include Google::Apis::Core::JsonObjectSupport
|
8021
8075
|
end
|
8022
8076
|
|
8077
|
+
class GoogleCloudAiplatformV1beta1VeoHyperParameters
|
8078
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
8079
|
+
|
8080
|
+
include Google::Apis::Core::JsonObjectSupport
|
8081
|
+
end
|
8082
|
+
|
8083
|
+
class GoogleCloudAiplatformV1beta1VeoTuningSpec
|
8084
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
8085
|
+
|
8086
|
+
include Google::Apis::Core::JsonObjectSupport
|
8087
|
+
end
|
8088
|
+
|
8023
8089
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
8024
8090
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
8025
8091
|
|
@@ -8538,9 +8604,6 @@ module Google
|
|
8538
8604
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8539
8605
|
property :gemini_request_read_config, as: 'geminiRequestReadConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig::Representation
|
8540
8606
|
|
8541
|
-
property :gemini_template_config, as: 'geminiTemplateConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig::Representation
|
8542
|
-
|
8543
|
-
property :request_column_name, as: 'requestColumnName'
|
8544
8607
|
end
|
8545
8608
|
end
|
8546
8609
|
|
@@ -8553,9 +8616,6 @@ module Google
|
|
8553
8616
|
|
8554
8617
|
property :gemini_request_read_config, as: 'geminiRequestReadConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig::Representation
|
8555
8618
|
|
8556
|
-
property :gemini_template_config, as: 'geminiTemplateConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig::Representation
|
8557
|
-
|
8558
|
-
property :request_column_name, as: 'requestColumnName'
|
8559
8619
|
property :tuning_resource_usage_assessment_config, as: 'tuningResourceUsageAssessmentConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig::Representation
|
8560
8620
|
|
8561
8621
|
property :tuning_validation_assessment_config, as: 'tuningValidationAssessmentConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig::Representation
|
@@ -8818,9 +8878,12 @@ module Google
|
|
8818
8878
|
class GoogleCloudAiplatformV1beta1BatchDedicatedResources
|
8819
8879
|
# @private
|
8820
8880
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8881
|
+
property :flex_start, as: 'flexStart', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FlexStart, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FlexStart::Representation
|
8882
|
+
|
8821
8883
|
property :machine_spec, as: 'machineSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec::Representation
|
8822
8884
|
|
8823
8885
|
property :max_replica_count, as: 'maxReplicaCount'
|
8886
|
+
property :spot, as: 'spot'
|
8824
8887
|
property :starting_replica_count, as: 'startingReplicaCount'
|
8825
8888
|
end
|
8826
8889
|
end
|
@@ -10315,6 +10378,7 @@ module Google
|
|
10315
10378
|
property :deployed_index_auth_config, as: 'deployedIndexAuthConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedIndexAuthConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployedIndexAuthConfig::Representation
|
10316
10379
|
|
10317
10380
|
property :deployment_group, as: 'deploymentGroup'
|
10381
|
+
property :deployment_tier, as: 'deploymentTier'
|
10318
10382
|
property :display_name, as: 'displayName'
|
10319
10383
|
property :enable_access_logging, as: 'enableAccessLogging'
|
10320
10384
|
property :enable_datapoint_upsert_logging, as: 'enableDatapointUpsertLogging'
|
@@ -10580,6 +10644,7 @@ module Google
|
|
10580
10644
|
class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
|
10581
10645
|
# @private
|
10582
10646
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10647
|
+
collection :exclude_domains, as: 'excludeDomains'
|
10583
10648
|
end
|
10584
10649
|
end
|
10585
10650
|
|
@@ -12392,6 +12457,25 @@ module Google
|
|
12392
12457
|
end
|
12393
12458
|
end
|
12394
12459
|
|
12460
|
+
class GoogleCloudAiplatformV1beta1GeminiPreferenceExample
|
12461
|
+
# @private
|
12462
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12463
|
+
collection :completions, as: 'completions', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion::Representation
|
12464
|
+
|
12465
|
+
collection :contents, as: 'contents', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
|
12466
|
+
|
12467
|
+
end
|
12468
|
+
end
|
12469
|
+
|
12470
|
+
class GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion
|
12471
|
+
# @private
|
12472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12473
|
+
property :completion, as: 'completion', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
|
12474
|
+
|
12475
|
+
property :score, as: 'score'
|
12476
|
+
end
|
12477
|
+
end
|
12478
|
+
|
12395
12479
|
class GoogleCloudAiplatformV1beta1GeminiRequestReadConfig
|
12396
12480
|
# @private
|
12397
12481
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12513,6 +12597,8 @@ module Google
|
|
12513
12597
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12514
12598
|
property :direct_contents_source, as: 'directContentsSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource::Representation
|
12515
12599
|
|
12600
|
+
property :direct_memories_source, as: 'directMemoriesSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource::Representation
|
12601
|
+
|
12516
12602
|
property :disable_consolidation, as: 'disableConsolidation'
|
12517
12603
|
hash :scope, as: 'scope'
|
12518
12604
|
property :vertex_session_source, as: 'vertexSessionSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource::Representation
|
@@ -12536,6 +12622,21 @@ module Google
|
|
12536
12622
|
end
|
12537
12623
|
end
|
12538
12624
|
|
12625
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource
|
12626
|
+
# @private
|
12627
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12628
|
+
collection :direct_memories, as: 'directMemories', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory::Representation
|
12629
|
+
|
12630
|
+
end
|
12631
|
+
end
|
12632
|
+
|
12633
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory
|
12634
|
+
# @private
|
12635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12636
|
+
property :fact, as: 'fact'
|
12637
|
+
end
|
12638
|
+
end
|
12639
|
+
|
12539
12640
|
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource
|
12540
12641
|
# @private
|
12541
12642
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15441,6 +15542,22 @@ module Google
|
|
15441
15542
|
end
|
15442
15543
|
end
|
15443
15544
|
|
15545
|
+
class GoogleCloudAiplatformV1beta1OptimizePromptRequest
|
15546
|
+
# @private
|
15547
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15548
|
+
property :content, as: 'content', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
|
15549
|
+
|
15550
|
+
end
|
15551
|
+
end
|
15552
|
+
|
15553
|
+
class GoogleCloudAiplatformV1beta1OptimizePromptResponse
|
15554
|
+
# @private
|
15555
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15556
|
+
property :content, as: 'content', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation
|
15557
|
+
|
15558
|
+
end
|
15559
|
+
end
|
15560
|
+
|
15444
15561
|
class GoogleCloudAiplatformV1beta1OutputConfig
|
15445
15562
|
# @private
|
15446
15563
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15911,6 +16028,15 @@ module Google
|
|
15911
16028
|
end
|
15912
16029
|
end
|
15913
16030
|
|
16031
|
+
class GoogleCloudAiplatformV1beta1PreTunedModel
|
16032
|
+
# @private
|
16033
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16034
|
+
property :base_model, as: 'baseModel'
|
16035
|
+
property :checkpoint_id, as: 'checkpointId'
|
16036
|
+
property :tuned_model_name, as: 'tunedModelName'
|
16037
|
+
end
|
16038
|
+
end
|
16039
|
+
|
15914
16040
|
class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
|
15915
16041
|
# @private
|
15916
16042
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15988,6 +16114,45 @@ module Google
|
|
15988
16114
|
end
|
15989
16115
|
end
|
15990
16116
|
|
16117
|
+
class GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats
|
16118
|
+
# @private
|
16119
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16120
|
+
property :score_variance_per_example_distribution, as: 'scoreVariancePerExampleDistribution', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution::Representation
|
16121
|
+
|
16122
|
+
property :scores_distribution, as: 'scoresDistribution', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution::Representation
|
16123
|
+
|
16124
|
+
property :total_billable_token_count, :numeric_string => true, as: 'totalBillableTokenCount'
|
16125
|
+
property :tuning_dataset_example_count, :numeric_string => true, as: 'tuningDatasetExampleCount'
|
16126
|
+
property :tuning_step_count, :numeric_string => true, as: 'tuningStepCount'
|
16127
|
+
collection :user_dataset_examples, as: 'userDatasetExamples', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiPreferenceExample, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiPreferenceExample::Representation
|
16128
|
+
|
16129
|
+
property :user_input_token_distribution, as: 'userInputTokenDistribution', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution::Representation
|
16130
|
+
|
16131
|
+
property :user_output_token_distribution, as: 'userOutputTokenDistribution', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution::Representation
|
16132
|
+
|
16133
|
+
end
|
16134
|
+
end
|
16135
|
+
|
16136
|
+
class GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters
|
16137
|
+
# @private
|
16138
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16139
|
+
property :adapter_size, as: 'adapterSize'
|
16140
|
+
property :beta, as: 'beta'
|
16141
|
+
property :epoch_count, :numeric_string => true, as: 'epochCount'
|
16142
|
+
property :learning_rate_multiplier, as: 'learningRateMultiplier'
|
16143
|
+
end
|
16144
|
+
end
|
16145
|
+
|
16146
|
+
class GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec
|
16147
|
+
# @private
|
16148
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16149
|
+
property :hyper_parameters, as: 'hyperParameters', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters::Representation
|
16150
|
+
|
16151
|
+
property :training_dataset_uri, as: 'trainingDatasetUri'
|
16152
|
+
property :validation_dataset_uri, as: 'validationDatasetUri'
|
16153
|
+
end
|
16154
|
+
end
|
16155
|
+
|
15991
16156
|
class GoogleCloudAiplatformV1beta1Presets
|
15992
16157
|
# @private
|
15993
16158
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -20817,8 +20982,6 @@ module Google
|
|
20817
20982
|
class Representation < Google::Apis::Core::JsonRepresentation
|
20818
20983
|
property :code_execution, as: 'codeExecution', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
|
20819
20984
|
|
20820
|
-
property :computer_use, as: 'computerUse', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse::Representation
|
20821
|
-
|
20822
20985
|
property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
|
20823
20986
|
|
20824
20987
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
|
@@ -20889,13 +21052,6 @@ module Google
|
|
20889
21052
|
end
|
20890
21053
|
end
|
20891
21054
|
|
20892
|
-
class GoogleCloudAiplatformV1beta1ToolComputerUse
|
20893
|
-
# @private
|
20894
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
20895
|
-
property :environment, as: 'environment'
|
20896
|
-
end
|
20897
|
-
end
|
20898
|
-
|
20899
21055
|
class GoogleCloudAiplatformV1beta1ToolConfig
|
20900
21056
|
# @private
|
20901
21057
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -20909,6 +21065,7 @@ module Google
|
|
20909
21065
|
class GoogleCloudAiplatformV1beta1ToolGoogleSearch
|
20910
21066
|
# @private
|
20911
21067
|
class Representation < Google::Apis::Core::JsonRepresentation
|
21068
|
+
collection :exclude_domains, as: 'excludeDomains'
|
20912
21069
|
end
|
20913
21070
|
end
|
20914
21071
|
|
@@ -21411,6 +21568,8 @@ module Google
|
|
21411
21568
|
class Representation < Google::Apis::Core::JsonRepresentation
|
21412
21569
|
property :distillation_data_stats, as: 'distillationDataStats', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationDataStats, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationDataStats::Representation
|
21413
21570
|
|
21571
|
+
property :preference_optimization_data_stats, as: 'preferenceOptimizationDataStats', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats::Representation
|
21572
|
+
|
21414
21573
|
property :supervised_tuning_data_stats, as: 'supervisedTuningDataStats', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDataStats, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDataStats::Representation
|
21415
21574
|
|
21416
21575
|
end
|
@@ -21437,6 +21596,10 @@ module Google
|
|
21437
21596
|
property :partner_model_tuning_spec, as: 'partnerModelTuningSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PartnerModelTuningSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PartnerModelTuningSpec::Representation
|
21438
21597
|
|
21439
21598
|
property :pipeline_job, as: 'pipelineJob'
|
21599
|
+
property :pre_tuned_model, as: 'preTunedModel', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreTunedModel, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreTunedModel::Representation
|
21600
|
+
|
21601
|
+
property :preference_optimization_spec, as: 'preferenceOptimizationSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec::Representation
|
21602
|
+
|
21440
21603
|
property :satisfies_pzi, as: 'satisfiesPzi'
|
21441
21604
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
21442
21605
|
property :service_account, as: 'serviceAccount'
|
@@ -21450,6 +21613,8 @@ module Google
|
|
21450
21613
|
property :tuning_data_stats, as: 'tuningDataStats', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TuningDataStats, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TuningDataStats::Representation
|
21451
21614
|
|
21452
21615
|
property :update_time, as: 'updateTime'
|
21616
|
+
property :veo_tuning_spec, as: 'veoTuningSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VeoTuningSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VeoTuningSpec::Representation
|
21617
|
+
|
21453
21618
|
end
|
21454
21619
|
end
|
21455
21620
|
|
@@ -21803,6 +21968,25 @@ module Google
|
|
21803
21968
|
end
|
21804
21969
|
end
|
21805
21970
|
|
21971
|
+
class GoogleCloudAiplatformV1beta1VeoHyperParameters
|
21972
|
+
# @private
|
21973
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
21974
|
+
property :epoch_count, :numeric_string => true, as: 'epochCount'
|
21975
|
+
property :learning_rate_multiplier, as: 'learningRateMultiplier'
|
21976
|
+
property :tuning_task, as: 'tuningTask'
|
21977
|
+
end
|
21978
|
+
end
|
21979
|
+
|
21980
|
+
class GoogleCloudAiplatformV1beta1VeoTuningSpec
|
21981
|
+
# @private
|
21982
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
21983
|
+
property :hyper_parameters, as: 'hyperParameters', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VeoHyperParameters, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VeoHyperParameters::Representation
|
21984
|
+
|
21985
|
+
property :training_dataset_uri, as: 'trainingDatasetUri'
|
21986
|
+
property :validation_dataset_uri, as: 'validationDatasetUri'
|
21987
|
+
end
|
21988
|
+
end
|
21989
|
+
|
21806
21990
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
21807
21991
|
# @private
|
21808
21992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -21856,6 +22040,7 @@ module Google
|
|
21856
22040
|
# @private
|
21857
22041
|
class Representation < Google::Apis::Core::JsonRepresentation
|
21858
22042
|
property :end_offset, as: 'endOffset'
|
22043
|
+
property :fps, as: 'fps'
|
21859
22044
|
property :start_offset, as: 'startOffset'
|
21860
22045
|
end
|
21861
22046
|
end
|
@@ -28441,6 +28441,40 @@ module Google
|
|
28441
28441
|
execute_or_queue_command(command, &block)
|
28442
28442
|
end
|
28443
28443
|
|
28444
|
+
# Optimizes a prompt.
|
28445
|
+
# @param [String] parent
|
28446
|
+
# Required. The resource name of the Location to optimize the prompt in. Format:
|
28447
|
+
# `projects/`project`/locations/`location``
|
28448
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OptimizePromptRequest] google_cloud_aiplatform_v1beta1_optimize_prompt_request_object
|
28449
|
+
# @param [String] fields
|
28450
|
+
# Selector specifying which fields to include in a partial response.
|
28451
|
+
# @param [String] quota_user
|
28452
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
28453
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
28454
|
+
# @param [Google::Apis::RequestOptions] options
|
28455
|
+
# Request-specific options
|
28456
|
+
#
|
28457
|
+
# @yield [result, err] Result & error if block supplied
|
28458
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OptimizePromptResponse] parsed result object
|
28459
|
+
# @yieldparam err [StandardError] error object if request failed
|
28460
|
+
#
|
28461
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OptimizePromptResponse]
|
28462
|
+
#
|
28463
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
28464
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
28465
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
28466
|
+
def optimize_project_location_tuning_job_prompt(parent, google_cloud_aiplatform_v1beta1_optimize_prompt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
28467
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/tuningJobs:optimizePrompt', options)
|
28468
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OptimizePromptRequest::Representation
|
28469
|
+
command.request_object = google_cloud_aiplatform_v1beta1_optimize_prompt_request_object
|
28470
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OptimizePromptResponse::Representation
|
28471
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OptimizePromptResponse
|
28472
|
+
command.params['parent'] = parent unless parent.nil?
|
28473
|
+
command.query['fields'] = fields unless fields.nil?
|
28474
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
28475
|
+
execute_or_queue_command(command, &block)
|
28476
|
+
end
|
28477
|
+
|
28444
28478
|
# Rebase a TunedModel.
|
28445
28479
|
# @param [String] parent
|
28446
28480
|
# Required. The resource name of the Location into which to rebase the Model.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.57.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.57.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|