google-apis-aiplatform_v1beta1 0.34.0 → 0.35.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 +1088 -109
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +582 -1
- data/lib/google/apis/aiplatform_v1beta1/service.rb +79 -4
- metadata +4 -4
@@ -442,7 +442,6 @@ module Google
|
|
442
442
|
|
443
443
|
# Base 64 encoded video bytes.
|
444
444
|
# Corresponds to the JSON property `encodedVideo`
|
445
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
446
445
|
# @return [String]
|
447
446
|
attr_accessor :encoded_video
|
448
447
|
|
@@ -6249,6 +6248,63 @@ module Google
|
|
6249
6248
|
end
|
6250
6249
|
end
|
6251
6250
|
|
6251
|
+
# Request message for ModelGardenService.DeployPublisherModel.
|
6252
|
+
class GoogleCloudAiplatformV1beta1DeployPublisherModelRequest
|
6253
|
+
include Google::Apis::Core::Hashable
|
6254
|
+
|
6255
|
+
# Optional. Whether the user accepts the End User License Agreement (EULA) for
|
6256
|
+
# the model.
|
6257
|
+
# Corresponds to the JSON property `acceptEula`
|
6258
|
+
# @return [Boolean]
|
6259
|
+
attr_accessor :accept_eula
|
6260
|
+
alias_method :accept_eula?, :accept_eula
|
6261
|
+
|
6262
|
+
# A description of resources that are dedicated to a DeployedModel, and that
|
6263
|
+
# need a higher degree of manual configuration.
|
6264
|
+
# Corresponds to the JSON property `dedicatedResources`
|
6265
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DedicatedResources]
|
6266
|
+
attr_accessor :dedicated_resources
|
6267
|
+
|
6268
|
+
# Optional. The user-specified display name of the endpoint. If not set, a
|
6269
|
+
# default name will be used.
|
6270
|
+
# Corresponds to the JSON property `endpointDisplayName`
|
6271
|
+
# @return [String]
|
6272
|
+
attr_accessor :endpoint_display_name
|
6273
|
+
|
6274
|
+
# Optional. The Hugging Face read access token used to access the model
|
6275
|
+
# artifacts of gated models.
|
6276
|
+
# Corresponds to the JSON property `huggingFaceAccessToken`
|
6277
|
+
# @return [String]
|
6278
|
+
attr_accessor :hugging_face_access_token
|
6279
|
+
|
6280
|
+
# Required. The name of the PublisherModel resource. Format: `publishers/`
|
6281
|
+
# publisher`/models/`publisher_model`@`version_id``, or `publishers/hf-`hugging-
|
6282
|
+
# face-author`/models/`hugging-face-model-name`@001`
|
6283
|
+
# Corresponds to the JSON property `model`
|
6284
|
+
# @return [String]
|
6285
|
+
attr_accessor :model
|
6286
|
+
|
6287
|
+
# Optional. The user-specified display name of the uploaded model. If not set, a
|
6288
|
+
# default name will be used.
|
6289
|
+
# Corresponds to the JSON property `modelDisplayName`
|
6290
|
+
# @return [String]
|
6291
|
+
attr_accessor :model_display_name
|
6292
|
+
|
6293
|
+
def initialize(**args)
|
6294
|
+
update!(**args)
|
6295
|
+
end
|
6296
|
+
|
6297
|
+
# Update properties of this object
|
6298
|
+
def update!(**args)
|
6299
|
+
@accept_eula = args[:accept_eula] if args.key?(:accept_eula)
|
6300
|
+
@dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
|
6301
|
+
@endpoint_display_name = args[:endpoint_display_name] if args.key?(:endpoint_display_name)
|
6302
|
+
@hugging_face_access_token = args[:hugging_face_access_token] if args.key?(:hugging_face_access_token)
|
6303
|
+
@model = args[:model] if args.key?(:model)
|
6304
|
+
@model_display_name = args[:model_display_name] if args.key?(:model_display_name)
|
6305
|
+
end
|
6306
|
+
end
|
6307
|
+
|
6252
6308
|
# Runtime operation information for SolverService.DeploySolver.
|
6253
6309
|
class GoogleCloudAiplatformV1beta1DeploySolverOperationMetadata
|
6254
6310
|
include Google::Apis::Core::Hashable
|
@@ -6991,14 +7047,15 @@ module Google
|
|
6991
7047
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationHyperParameters]
|
6992
7048
|
attr_accessor :hyper_parameters
|
6993
7049
|
|
6994
|
-
# Required. A path in a Cloud Storage bucket, which will be treated
|
6995
|
-
# output directory of the distillation pipeline. It is used by the
|
6996
|
-
# generate the paths of output artifacts.
|
7050
|
+
# Required. Deprecated. A path in a Cloud Storage bucket, which will be treated
|
7051
|
+
# as the root output directory of the distillation pipeline. It is used by the
|
7052
|
+
# system to generate the paths of output artifacts.
|
6997
7053
|
# Corresponds to the JSON property `pipelineRootDirectory`
|
6998
7054
|
# @return [String]
|
6999
7055
|
attr_accessor :pipeline_root_directory
|
7000
7056
|
|
7001
7057
|
# The student model that is being tuned, e.g., "google/gemma-2b-1.1-it".
|
7058
|
+
# Deprecated. Use base_model instead.
|
7002
7059
|
# Corresponds to the JSON property `studentModel`
|
7003
7060
|
# @return [String]
|
7004
7061
|
attr_accessor :student_model
|
@@ -7617,6 +7674,36 @@ module Google
|
|
7617
7674
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolParameterKvMatchInput]
|
7618
7675
|
attr_accessor :tool_parameter_kv_match_input
|
7619
7676
|
|
7677
|
+
# Instances and metric spec for TrajectoryAnyOrderMatch metric.
|
7678
|
+
# Corresponds to the JSON property `trajectoryAnyOrderMatchInput`
|
7679
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchInput]
|
7680
|
+
attr_accessor :trajectory_any_order_match_input
|
7681
|
+
|
7682
|
+
# Instances and metric spec for TrajectoryExactMatch metric.
|
7683
|
+
# Corresponds to the JSON property `trajectoryExactMatchInput`
|
7684
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryExactMatchInput]
|
7685
|
+
attr_accessor :trajectory_exact_match_input
|
7686
|
+
|
7687
|
+
# Instances and metric spec for TrajectoryInOrderMatch metric.
|
7688
|
+
# Corresponds to the JSON property `trajectoryInOrderMatchInput`
|
7689
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchInput]
|
7690
|
+
attr_accessor :trajectory_in_order_match_input
|
7691
|
+
|
7692
|
+
# Instances and metric spec for TrajectoryPrecision metric.
|
7693
|
+
# Corresponds to the JSON property `trajectoryPrecisionInput`
|
7694
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryPrecisionInput]
|
7695
|
+
attr_accessor :trajectory_precision_input
|
7696
|
+
|
7697
|
+
# Instances and metric spec for TrajectoryRecall metric.
|
7698
|
+
# Corresponds to the JSON property `trajectoryRecallInput`
|
7699
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryRecallInput]
|
7700
|
+
attr_accessor :trajectory_recall_input
|
7701
|
+
|
7702
|
+
# Instances and metric spec for TrajectorySingleToolUse metric.
|
7703
|
+
# Corresponds to the JSON property `trajectorySingleToolUseInput`
|
7704
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectorySingleToolUseInput]
|
7705
|
+
attr_accessor :trajectory_single_tool_use_input
|
7706
|
+
|
7620
7707
|
def initialize(**args)
|
7621
7708
|
update!(**args)
|
7622
7709
|
end
|
@@ -7648,6 +7735,12 @@ module Google
|
|
7648
7735
|
@tool_name_match_input = args[:tool_name_match_input] if args.key?(:tool_name_match_input)
|
7649
7736
|
@tool_parameter_key_match_input = args[:tool_parameter_key_match_input] if args.key?(:tool_parameter_key_match_input)
|
7650
7737
|
@tool_parameter_kv_match_input = args[:tool_parameter_kv_match_input] if args.key?(:tool_parameter_kv_match_input)
|
7738
|
+
@trajectory_any_order_match_input = args[:trajectory_any_order_match_input] if args.key?(:trajectory_any_order_match_input)
|
7739
|
+
@trajectory_exact_match_input = args[:trajectory_exact_match_input] if args.key?(:trajectory_exact_match_input)
|
7740
|
+
@trajectory_in_order_match_input = args[:trajectory_in_order_match_input] if args.key?(:trajectory_in_order_match_input)
|
7741
|
+
@trajectory_precision_input = args[:trajectory_precision_input] if args.key?(:trajectory_precision_input)
|
7742
|
+
@trajectory_recall_input = args[:trajectory_recall_input] if args.key?(:trajectory_recall_input)
|
7743
|
+
@trajectory_single_tool_use_input = args[:trajectory_single_tool_use_input] if args.key?(:trajectory_single_tool_use_input)
|
7651
7744
|
end
|
7652
7745
|
end
|
7653
7746
|
|
@@ -7782,6 +7875,36 @@ module Google
|
|
7782
7875
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolParameterKvMatchResults]
|
7783
7876
|
attr_accessor :tool_parameter_kv_match_results
|
7784
7877
|
|
7878
|
+
# Results for TrajectoryAnyOrderMatch metric.
|
7879
|
+
# Corresponds to the JSON property `trajectoryAnyOrderMatchResults`
|
7880
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchResults]
|
7881
|
+
attr_accessor :trajectory_any_order_match_results
|
7882
|
+
|
7883
|
+
# Results for TrajectoryExactMatch metric.
|
7884
|
+
# Corresponds to the JSON property `trajectoryExactMatchResults`
|
7885
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryExactMatchResults]
|
7886
|
+
attr_accessor :trajectory_exact_match_results
|
7887
|
+
|
7888
|
+
# Results for TrajectoryInOrderMatch metric.
|
7889
|
+
# Corresponds to the JSON property `trajectoryInOrderMatchResults`
|
7890
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchResults]
|
7891
|
+
attr_accessor :trajectory_in_order_match_results
|
7892
|
+
|
7893
|
+
# Results for TrajectoryPrecision metric.
|
7894
|
+
# Corresponds to the JSON property `trajectoryPrecisionResults`
|
7895
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryPrecisionResults]
|
7896
|
+
attr_accessor :trajectory_precision_results
|
7897
|
+
|
7898
|
+
# Results for TrajectoryRecall metric.
|
7899
|
+
# Corresponds to the JSON property `trajectoryRecallResults`
|
7900
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryRecallResults]
|
7901
|
+
attr_accessor :trajectory_recall_results
|
7902
|
+
|
7903
|
+
# Results for TrajectorySingleToolUse metric.
|
7904
|
+
# Corresponds to the JSON property `trajectorySingleToolUseResults`
|
7905
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectorySingleToolUseResults]
|
7906
|
+
attr_accessor :trajectory_single_tool_use_results
|
7907
|
+
|
7785
7908
|
def initialize(**args)
|
7786
7909
|
update!(**args)
|
7787
7910
|
end
|
@@ -7813,6 +7936,12 @@ module Google
|
|
7813
7936
|
@tool_name_match_results = args[:tool_name_match_results] if args.key?(:tool_name_match_results)
|
7814
7937
|
@tool_parameter_key_match_results = args[:tool_parameter_key_match_results] if args.key?(:tool_parameter_key_match_results)
|
7815
7938
|
@tool_parameter_kv_match_results = args[:tool_parameter_kv_match_results] if args.key?(:tool_parameter_kv_match_results)
|
7939
|
+
@trajectory_any_order_match_results = args[:trajectory_any_order_match_results] if args.key?(:trajectory_any_order_match_results)
|
7940
|
+
@trajectory_exact_match_results = args[:trajectory_exact_match_results] if args.key?(:trajectory_exact_match_results)
|
7941
|
+
@trajectory_in_order_match_results = args[:trajectory_in_order_match_results] if args.key?(:trajectory_in_order_match_results)
|
7942
|
+
@trajectory_precision_results = args[:trajectory_precision_results] if args.key?(:trajectory_precision_results)
|
7943
|
+
@trajectory_recall_results = args[:trajectory_recall_results] if args.key?(:trajectory_recall_results)
|
7944
|
+
@trajectory_single_tool_use_results = args[:trajectory_single_tool_use_results] if args.key?(:trajectory_single_tool_use_results)
|
7816
7945
|
end
|
7817
7946
|
end
|
7818
7947
|
|
@@ -9973,6 +10102,22 @@ module Google
|
|
9973
10102
|
# @return [String]
|
9974
10103
|
attr_accessor :name
|
9975
10104
|
|
10105
|
+
# Output only. A Service Account unique to this FeatureGroup. The role bigquery.
|
10106
|
+
# dataViewer should be granted to this service account to allow Vertex AI
|
10107
|
+
# Feature Store to access source data while running jobs under this FeatureGroup.
|
10108
|
+
# Corresponds to the JSON property `serviceAccountEmail`
|
10109
|
+
# @return [String]
|
10110
|
+
attr_accessor :service_account_email
|
10111
|
+
|
10112
|
+
# Optional. Service agent type used during jobs under a FeatureGroup. By default,
|
10113
|
+
# the Vertex AI Service Agent is used. When using an IAM Policy to isolate this
|
10114
|
+
# FeatureGroup within a project, a separate service account should be
|
10115
|
+
# provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_GROUP`. This
|
10116
|
+
# will generate a separate service account to access the BigQuery source table.
|
10117
|
+
# Corresponds to the JSON property `serviceAgentType`
|
10118
|
+
# @return [String]
|
10119
|
+
attr_accessor :service_agent_type
|
10120
|
+
|
9976
10121
|
# Output only. Timestamp when this FeatureGroup was last updated.
|
9977
10122
|
# Corresponds to the JSON property `updateTime`
|
9978
10123
|
# @return [String]
|
@@ -9990,6 +10135,8 @@ module Google
|
|
9990
10135
|
@etag = args[:etag] if args.key?(:etag)
|
9991
10136
|
@labels = args[:labels] if args.key?(:labels)
|
9992
10137
|
@name = args[:name] if args.key?(:name)
|
10138
|
+
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
10139
|
+
@service_agent_type = args[:service_agent_type] if args.key?(:service_agent_type)
|
9993
10140
|
@update_time = args[:update_time] if args.key?(:update_time)
|
9994
10141
|
end
|
9995
10142
|
end
|
@@ -13062,6 +13209,11 @@ module Google
|
|
13062
13209
|
# @return [String]
|
13063
13210
|
attr_accessor :response_mime_type
|
13064
13211
|
|
13212
|
+
# Optional. The modalities of the response.
|
13213
|
+
# Corresponds to the JSON property `responseModalities`
|
13214
|
+
# @return [Array<String>]
|
13215
|
+
attr_accessor :response_modalities
|
13216
|
+
|
13065
13217
|
# Schema is used to define the format of input/output data. Represents a select
|
13066
13218
|
# subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
|
13067
13219
|
# schema-object). More fields may be added in the future as needed.
|
@@ -13079,6 +13231,11 @@ module Google
|
|
13079
13231
|
# @return [Fixnum]
|
13080
13232
|
attr_accessor :seed
|
13081
13233
|
|
13234
|
+
# The speech generation config.
|
13235
|
+
# Corresponds to the JSON property `speechConfig`
|
13236
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SpeechConfig]
|
13237
|
+
attr_accessor :speech_config
|
13238
|
+
|
13082
13239
|
# Optional. Stop sequences.
|
13083
13240
|
# Corresponds to the JSON property `stopSequences`
|
13084
13241
|
# @return [Array<String>]
|
@@ -13089,6 +13246,11 @@ module Google
|
|
13089
13246
|
# @return [Float]
|
13090
13247
|
attr_accessor :temperature
|
13091
13248
|
|
13249
|
+
# Optional. If specified, the token resolution specified will be used.
|
13250
|
+
# Corresponds to the JSON property `tokenResolution`
|
13251
|
+
# @return [String]
|
13252
|
+
attr_accessor :token_resolution
|
13253
|
+
|
13092
13254
|
# Optional. If specified, top-k sampling will be used.
|
13093
13255
|
# Corresponds to the JSON property `topK`
|
13094
13256
|
# @return [Float]
|
@@ -13113,11 +13275,14 @@ module Google
|
|
13113
13275
|
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
13114
13276
|
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
|
13115
13277
|
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
|
13278
|
+
@response_modalities = args[:response_modalities] if args.key?(:response_modalities)
|
13116
13279
|
@response_schema = args[:response_schema] if args.key?(:response_schema)
|
13117
13280
|
@routing_config = args[:routing_config] if args.key?(:routing_config)
|
13118
13281
|
@seed = args[:seed] if args.key?(:seed)
|
13282
|
+
@speech_config = args[:speech_config] if args.key?(:speech_config)
|
13119
13283
|
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
13120
13284
|
@temperature = args[:temperature] if args.key?(:temperature)
|
13285
|
+
@token_resolution = args[:token_resolution] if args.key?(:token_resolution)
|
13121
13286
|
@top_k = args[:top_k] if args.key?(:top_k)
|
13122
13287
|
@top_p = args[:top_p] if args.key?(:top_p)
|
13123
13288
|
end
|
@@ -21757,6 +21922,11 @@ module Google
|
|
21757
21922
|
# @return [String]
|
21758
21923
|
attr_accessor :create_time
|
21759
21924
|
|
21925
|
+
# Represents the spec of persistent disk options.
|
21926
|
+
# Corresponds to the JSON property `dataPersistentDiskSpec`
|
21927
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PersistentDiskSpec]
|
21928
|
+
attr_accessor :data_persistent_disk_spec
|
21929
|
+
|
21760
21930
|
# The description of the NotebookRuntime.
|
21761
21931
|
# Corresponds to the JSON property `description`
|
21762
21932
|
# @return [String]
|
@@ -21774,6 +21944,11 @@ module Google
|
|
21774
21944
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
21775
21945
|
attr_accessor :encryption_spec
|
21776
21946
|
|
21947
|
+
# The euc configuration of NotebookRuntimeTemplate.
|
21948
|
+
# Corresponds to the JSON property `eucConfig`
|
21949
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookEucConfig]
|
21950
|
+
attr_accessor :euc_config
|
21951
|
+
|
21777
21952
|
# Output only. Timestamp when this NotebookRuntime will be expired: 1. System
|
21778
21953
|
# Predefined NotebookRuntime: 24 hours after creation. After expiration, system
|
21779
21954
|
# predifined runtime will be deleted. 2. User created NotebookRuntime: 6 months
|
@@ -21817,11 +21992,21 @@ module Google
|
|
21817
21992
|
# @return [Hash<String,String>]
|
21818
21993
|
attr_accessor :labels
|
21819
21994
|
|
21995
|
+
# Specification of a single machine.
|
21996
|
+
# Corresponds to the JSON property `machineSpec`
|
21997
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec]
|
21998
|
+
attr_accessor :machine_spec
|
21999
|
+
|
21820
22000
|
# Output only. The resource name of the NotebookRuntime.
|
21821
22001
|
# Corresponds to the JSON property `name`
|
21822
22002
|
# @return [String]
|
21823
22003
|
attr_accessor :name
|
21824
22004
|
|
22005
|
+
# Network spec.
|
22006
|
+
# Corresponds to the JSON property `networkSpec`
|
22007
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NetworkSpec]
|
22008
|
+
attr_accessor :network_spec
|
22009
|
+
|
21825
22010
|
# Optional. The Compute Engine tags to add to runtime (see [Tagging instances](
|
21826
22011
|
# https://cloud.google.com/vpc/docs/add-remove-network-tags)).
|
21827
22012
|
# Corresponds to the JSON property `networkTags`
|
@@ -21865,11 +22050,23 @@ module Google
|
|
21865
22050
|
attr_accessor :satisfies_pzs
|
21866
22051
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
21867
22052
|
|
21868
|
-
# Output only.
|
22053
|
+
# Output only. Deprecated: This field is no longer used and the "Vertex AI
|
22054
|
+
# Notebook Service Account" (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.
|
22055
|
+
# gserviceaccount.com) is used for the runtime workload identity. See https://
|
22056
|
+
# cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account
|
22057
|
+
# for more details. The service account that the NotebookRuntime workload runs
|
22058
|
+
# as.
|
21869
22059
|
# Corresponds to the JSON property `serviceAccount`
|
21870
22060
|
# @return [String]
|
21871
22061
|
attr_accessor :service_account
|
21872
22062
|
|
22063
|
+
# A set of Shielded Instance options. See [Images using supported Shielded VM
|
22064
|
+
# features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
|
22065
|
+
# vm).
|
22066
|
+
# Corresponds to the JSON property `shieldedVmConfig`
|
22067
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ShieldedVmConfig]
|
22068
|
+
attr_accessor :shielded_vm_config
|
22069
|
+
|
21873
22070
|
# Output only. Timestamp when this NotebookRuntime was most recently updated.
|
21874
22071
|
# Corresponds to the JSON property `updateTime`
|
21875
22072
|
# @return [String]
|
@@ -21887,15 +22084,19 @@ module Google
|
|
21887
22084
|
# Update properties of this object
|
21888
22085
|
def update!(**args)
|
21889
22086
|
@create_time = args[:create_time] if args.key?(:create_time)
|
22087
|
+
@data_persistent_disk_spec = args[:data_persistent_disk_spec] if args.key?(:data_persistent_disk_spec)
|
21890
22088
|
@description = args[:description] if args.key?(:description)
|
21891
22089
|
@display_name = args[:display_name] if args.key?(:display_name)
|
21892
22090
|
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
22091
|
+
@euc_config = args[:euc_config] if args.key?(:euc_config)
|
21893
22092
|
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
21894
22093
|
@health_state = args[:health_state] if args.key?(:health_state)
|
21895
22094
|
@idle_shutdown_config = args[:idle_shutdown_config] if args.key?(:idle_shutdown_config)
|
21896
22095
|
@is_upgradable = args[:is_upgradable] if args.key?(:is_upgradable)
|
21897
22096
|
@labels = args[:labels] if args.key?(:labels)
|
22097
|
+
@machine_spec = args[:machine_spec] if args.key?(:machine_spec)
|
21898
22098
|
@name = args[:name] if args.key?(:name)
|
22099
|
+
@network_spec = args[:network_spec] if args.key?(:network_spec)
|
21899
22100
|
@network_tags = args[:network_tags] if args.key?(:network_tags)
|
21900
22101
|
@notebook_runtime_template_ref = args[:notebook_runtime_template_ref] if args.key?(:notebook_runtime_template_ref)
|
21901
22102
|
@notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
|
@@ -21905,6 +22106,7 @@ module Google
|
|
21905
22106
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
21906
22107
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
21907
22108
|
@service_account = args[:service_account] if args.key?(:service_account)
|
22109
|
+
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
|
21908
22110
|
@update_time = args[:update_time] if args.key?(:update_time)
|
21909
22111
|
@version = args[:version] if args.key?(:version)
|
21910
22112
|
end
|
@@ -21960,7 +22162,8 @@ module Google
|
|
21960
22162
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookIdleShutdownConfig]
|
21961
22163
|
attr_accessor :idle_shutdown_config
|
21962
22164
|
|
21963
|
-
# Output only.
|
22165
|
+
# Output only. Deprecated: This field has no behavior. Use notebook_runtime_type
|
22166
|
+
# = 'ONE_CLICK' instead. The default template to use if not specified.
|
21964
22167
|
# Corresponds to the JSON property `isDefault`
|
21965
22168
|
# @return [Boolean]
|
21966
22169
|
attr_accessor :is_default
|
@@ -22001,7 +22204,12 @@ module Google
|
|
22001
22204
|
# @return [String]
|
22002
22205
|
attr_accessor :notebook_runtime_type
|
22003
22206
|
|
22004
|
-
#
|
22207
|
+
# Deprecated: This field is ignored and the "Vertex AI Notebook Service Account"
|
22208
|
+
# (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used
|
22209
|
+
# for the runtime workload identity. See https://cloud.google.com/iam/docs/
|
22210
|
+
# service-agents#vertex-ai-notebook-service-account for more details. For
|
22211
|
+
# NotebookExecutionJob, use NotebookExecutionJob.service_account instead. The
|
22212
|
+
# service account that the runtime workload runs as. You can use any service
|
22005
22213
|
# account within the same project, but you must have the service account user
|
22006
22214
|
# permission to use the instance. If not specified, the [Compute Engine default
|
22007
22215
|
# service account](https://cloud.google.com/compute/docs/access/service-accounts#
|
@@ -23058,8 +23266,9 @@ module Google
|
|
23058
23266
|
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime
|
23059
23267
|
include Google::Apis::Core::Hashable
|
23060
23268
|
|
23061
|
-
# Persistent resource based runtime detail. For more information
|
23062
|
-
#
|
23269
|
+
# Persistent resource based runtime detail. For more information about
|
23270
|
+
# persistent resource, refer to https://cloud.google.com/vertex-ai/docs/training/
|
23271
|
+
# persistent-resource-overview
|
23063
23272
|
# Corresponds to the JSON property `persistentResourceRuntimeDetail`
|
23064
23273
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail]
|
23065
23274
|
attr_accessor :persistent_resource_runtime_detail
|
@@ -23096,8 +23305,9 @@ module Google
|
|
23096
23305
|
end
|
23097
23306
|
end
|
23098
23307
|
|
23099
|
-
# Persistent resource based runtime detail. For more information
|
23100
|
-
#
|
23308
|
+
# Persistent resource based runtime detail. For more information about
|
23309
|
+
# persistent resource, refer to https://cloud.google.com/vertex-ai/docs/training/
|
23310
|
+
# persistent-resource-overview
|
23101
23311
|
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
|
23102
23312
|
include Google::Apis::Core::Hashable
|
23103
23313
|
|
@@ -23605,6 +23815,25 @@ module Google
|
|
23605
23815
|
end
|
23606
23816
|
end
|
23607
23817
|
|
23818
|
+
# The configuration for the prebuilt speaker to use.
|
23819
|
+
class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
|
23820
|
+
include Google::Apis::Core::Hashable
|
23821
|
+
|
23822
|
+
# The name of the preset voice to use.
|
23823
|
+
# Corresponds to the JSON property `voiceName`
|
23824
|
+
# @return [String]
|
23825
|
+
attr_accessor :voice_name
|
23826
|
+
|
23827
|
+
def initialize(**args)
|
23828
|
+
update!(**args)
|
23829
|
+
end
|
23830
|
+
|
23831
|
+
# Update properties of this object
|
23832
|
+
def update!(**args)
|
23833
|
+
@voice_name = args[:voice_name] if args.key?(:voice_name)
|
23834
|
+
end
|
23835
|
+
end
|
23836
|
+
|
23608
23837
|
# Assigns input data to training, validation, and test sets based on the value
|
23609
23838
|
# of a provided key. Supported only for tabular Datasets.
|
23610
23839
|
class GoogleCloudAiplatformV1beta1PredefinedSplit
|
@@ -36291,6 +36520,25 @@ module Google
|
|
36291
36520
|
end
|
36292
36521
|
end
|
36293
36522
|
|
36523
|
+
# The speech generation config.
|
36524
|
+
class GoogleCloudAiplatformV1beta1SpeechConfig
|
36525
|
+
include Google::Apis::Core::Hashable
|
36526
|
+
|
36527
|
+
# The configuration for the voice to use.
|
36528
|
+
# Corresponds to the JSON property `voiceConfig`
|
36529
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VoiceConfig]
|
36530
|
+
attr_accessor :voice_config
|
36531
|
+
|
36532
|
+
def initialize(**args)
|
36533
|
+
update!(**args)
|
36534
|
+
end
|
36535
|
+
|
36536
|
+
# Update properties of this object
|
36537
|
+
def update!(**args)
|
36538
|
+
@voice_config = args[:voice_config] if args.key?(:voice_config)
|
36539
|
+
end
|
36540
|
+
end
|
36541
|
+
|
36294
36542
|
# Metadata information for NotebookService.StartNotebookRuntime.
|
36295
36543
|
class GoogleCloudAiplatformV1beta1StartNotebookRuntimeOperationMetadata
|
36296
36544
|
include Google::Apis::Core::Hashable
|
@@ -36405,6 +36653,33 @@ module Google
|
|
36405
36653
|
end
|
36406
36654
|
end
|
36407
36655
|
|
36656
|
+
# Request message for ReasoningEngineExecutionService.StreamQuery.
|
36657
|
+
class GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest
|
36658
|
+
include Google::Apis::Core::Hashable
|
36659
|
+
|
36660
|
+
# Optional. Class method to be used for the stream query. It is optional and
|
36661
|
+
# defaults to "stream_query" if unspecified.
|
36662
|
+
# Corresponds to the JSON property `classMethod`
|
36663
|
+
# @return [String]
|
36664
|
+
attr_accessor :class_method
|
36665
|
+
|
36666
|
+
# Optional. Input content provided by users in JSON object format. Examples
|
36667
|
+
# include text query, function calling parameters, media bytes, etc.
|
36668
|
+
# Corresponds to the JSON property `input`
|
36669
|
+
# @return [Hash<String,Object>]
|
36670
|
+
attr_accessor :input
|
36671
|
+
|
36672
|
+
def initialize(**args)
|
36673
|
+
update!(**args)
|
36674
|
+
end
|
36675
|
+
|
36676
|
+
# Update properties of this object
|
36677
|
+
def update!(**args)
|
36678
|
+
@class_method = args[:class_method] if args.key?(:class_method)
|
36679
|
+
@input = args[:input] if args.key?(:input)
|
36680
|
+
end
|
36681
|
+
end
|
36682
|
+
|
36408
36683
|
# Request message for PredictionService.StreamRawPredict.
|
36409
36684
|
class GoogleCloudAiplatformV1beta1StreamRawPredictRequest
|
36410
36685
|
include Google::Apis::Core::Hashable
|
@@ -38971,6 +39246,12 @@ module Google
|
|
38971
39246
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
|
38972
39247
|
attr_accessor :function_declarations
|
38973
39248
|
|
39249
|
+
# GoogleSearch tool type. Tool to support Google Search in Model. Powered by
|
39250
|
+
# Google.
|
39251
|
+
# Corresponds to the JSON property `googleSearch`
|
39252
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolGoogleSearch]
|
39253
|
+
attr_accessor :google_search
|
39254
|
+
|
38974
39255
|
# Tool to retrieve public web data for grounding, powered by Google.
|
38975
39256
|
# Corresponds to the JSON property `googleSearchRetrieval`
|
38976
39257
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval]
|
@@ -38989,11 +39270,37 @@ module Google
|
|
38989
39270
|
def update!(**args)
|
38990
39271
|
@code_execution = args[:code_execution] if args.key?(:code_execution)
|
38991
39272
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
39273
|
+
@google_search = args[:google_search] if args.key?(:google_search)
|
38992
39274
|
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
38993
39275
|
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
38994
39276
|
end
|
38995
39277
|
end
|
38996
39278
|
|
39279
|
+
# Spec for tool call.
|
39280
|
+
class GoogleCloudAiplatformV1beta1ToolCall
|
39281
|
+
include Google::Apis::Core::Hashable
|
39282
|
+
|
39283
|
+
# Optional. Spec for tool input
|
39284
|
+
# Corresponds to the JSON property `toolInput`
|
39285
|
+
# @return [String]
|
39286
|
+
attr_accessor :tool_input
|
39287
|
+
|
39288
|
+
# Required. Spec for tool name
|
39289
|
+
# Corresponds to the JSON property `toolName`
|
39290
|
+
# @return [String]
|
39291
|
+
attr_accessor :tool_name
|
39292
|
+
|
39293
|
+
def initialize(**args)
|
39294
|
+
update!(**args)
|
39295
|
+
end
|
39296
|
+
|
39297
|
+
# Update properties of this object
|
39298
|
+
def update!(**args)
|
39299
|
+
@tool_input = args[:tool_input] if args.key?(:tool_input)
|
39300
|
+
@tool_name = args[:tool_name] if args.key?(:tool_name)
|
39301
|
+
end
|
39302
|
+
end
|
39303
|
+
|
38997
39304
|
# Input for tool call valid metric.
|
38998
39305
|
class GoogleCloudAiplatformV1beta1ToolCallValidInput
|
38999
39306
|
include Google::Apis::Core::Hashable
|
@@ -39129,119 +39436,32 @@ module Google
|
|
39129
39436
|
end
|
39130
39437
|
end
|
39131
39438
|
|
39132
|
-
#
|
39133
|
-
|
39439
|
+
# GoogleSearch tool type. Tool to support Google Search in Model. Powered by
|
39440
|
+
# Google.
|
39441
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearch
|
39134
39442
|
include Google::Apis::Core::Hashable
|
39135
39443
|
|
39136
|
-
# Required. Repeated tool name match instances.
|
39137
|
-
# Corresponds to the JSON property `instances`
|
39138
|
-
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolNameMatchInstance>]
|
39139
|
-
attr_accessor :instances
|
39140
|
-
|
39141
|
-
# Spec for tool name match metric.
|
39142
|
-
# Corresponds to the JSON property `metricSpec`
|
39143
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolNameMatchSpec]
|
39144
|
-
attr_accessor :metric_spec
|
39145
|
-
|
39146
39444
|
def initialize(**args)
|
39147
39445
|
update!(**args)
|
39148
39446
|
end
|
39149
39447
|
|
39150
39448
|
# Update properties of this object
|
39151
39449
|
def update!(**args)
|
39152
|
-
@instances = args[:instances] if args.key?(:instances)
|
39153
|
-
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
39154
39450
|
end
|
39155
39451
|
end
|
39156
39452
|
|
39157
|
-
#
|
39158
|
-
class
|
39159
|
-
include Google::Apis::Core::Hashable
|
39160
|
-
|
39161
|
-
# Required. Output of the evaluated model.
|
39162
|
-
# Corresponds to the JSON property `prediction`
|
39163
|
-
# @return [String]
|
39164
|
-
attr_accessor :prediction
|
39165
|
-
|
39166
|
-
# Required. Ground truth used to compare against the prediction.
|
39167
|
-
# Corresponds to the JSON property `reference`
|
39168
|
-
# @return [String]
|
39169
|
-
attr_accessor :reference
|
39170
|
-
|
39171
|
-
def initialize(**args)
|
39172
|
-
update!(**args)
|
39173
|
-
end
|
39174
|
-
|
39175
|
-
# Update properties of this object
|
39176
|
-
def update!(**args)
|
39177
|
-
@prediction = args[:prediction] if args.key?(:prediction)
|
39178
|
-
@reference = args[:reference] if args.key?(:reference)
|
39179
|
-
end
|
39180
|
-
end
|
39181
|
-
|
39182
|
-
# Tool name match metric value for an instance.
|
39183
|
-
class GoogleCloudAiplatformV1beta1ToolNameMatchMetricValue
|
39184
|
-
include Google::Apis::Core::Hashable
|
39185
|
-
|
39186
|
-
# Output only. Tool name match score.
|
39187
|
-
# Corresponds to the JSON property `score`
|
39188
|
-
# @return [Float]
|
39189
|
-
attr_accessor :score
|
39190
|
-
|
39191
|
-
def initialize(**args)
|
39192
|
-
update!(**args)
|
39193
|
-
end
|
39194
|
-
|
39195
|
-
# Update properties of this object
|
39196
|
-
def update!(**args)
|
39197
|
-
@score = args[:score] if args.key?(:score)
|
39198
|
-
end
|
39199
|
-
end
|
39200
|
-
|
39201
|
-
# Results for tool name match metric.
|
39202
|
-
class GoogleCloudAiplatformV1beta1ToolNameMatchResults
|
39203
|
-
include Google::Apis::Core::Hashable
|
39204
|
-
|
39205
|
-
# Output only. Tool name match metric values.
|
39206
|
-
# Corresponds to the JSON property `toolNameMatchMetricValues`
|
39207
|
-
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolNameMatchMetricValue>]
|
39208
|
-
attr_accessor :tool_name_match_metric_values
|
39209
|
-
|
39210
|
-
def initialize(**args)
|
39211
|
-
update!(**args)
|
39212
|
-
end
|
39213
|
-
|
39214
|
-
# Update properties of this object
|
39215
|
-
def update!(**args)
|
39216
|
-
@tool_name_match_metric_values = args[:tool_name_match_metric_values] if args.key?(:tool_name_match_metric_values)
|
39217
|
-
end
|
39218
|
-
end
|
39219
|
-
|
39220
|
-
# Spec for tool name match metric.
|
39221
|
-
class GoogleCloudAiplatformV1beta1ToolNameMatchSpec
|
39222
|
-
include Google::Apis::Core::Hashable
|
39223
|
-
|
39224
|
-
def initialize(**args)
|
39225
|
-
update!(**args)
|
39226
|
-
end
|
39227
|
-
|
39228
|
-
# Update properties of this object
|
39229
|
-
def update!(**args)
|
39230
|
-
end
|
39231
|
-
end
|
39232
|
-
|
39233
|
-
# Input for tool parameter key value match metric.
|
39234
|
-
class GoogleCloudAiplatformV1beta1ToolParameterKvMatchInput
|
39453
|
+
# Input for tool name match metric.
|
39454
|
+
class GoogleCloudAiplatformV1beta1ToolNameMatchInput
|
39235
39455
|
include Google::Apis::Core::Hashable
|
39236
39456
|
|
39237
|
-
# Required. Repeated tool
|
39457
|
+
# Required. Repeated tool name match instances.
|
39238
39458
|
# Corresponds to the JSON property `instances`
|
39239
|
-
# @return [Array<Google::Apis::AiplatformV1beta1::
|
39459
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolNameMatchInstance>]
|
39240
39460
|
attr_accessor :instances
|
39241
39461
|
|
39242
|
-
# Spec for tool
|
39462
|
+
# Spec for tool name match metric.
|
39243
39463
|
# Corresponds to the JSON property `metricSpec`
|
39244
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
39464
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolNameMatchSpec]
|
39245
39465
|
attr_accessor :metric_spec
|
39246
39466
|
|
39247
39467
|
def initialize(**args)
|
@@ -39255,8 +39475,109 @@ module Google
|
|
39255
39475
|
end
|
39256
39476
|
end
|
39257
39477
|
|
39258
|
-
# Spec for tool
|
39259
|
-
class
|
39478
|
+
# Spec for tool name match instance.
|
39479
|
+
class GoogleCloudAiplatformV1beta1ToolNameMatchInstance
|
39480
|
+
include Google::Apis::Core::Hashable
|
39481
|
+
|
39482
|
+
# Required. Output of the evaluated model.
|
39483
|
+
# Corresponds to the JSON property `prediction`
|
39484
|
+
# @return [String]
|
39485
|
+
attr_accessor :prediction
|
39486
|
+
|
39487
|
+
# Required. Ground truth used to compare against the prediction.
|
39488
|
+
# Corresponds to the JSON property `reference`
|
39489
|
+
# @return [String]
|
39490
|
+
attr_accessor :reference
|
39491
|
+
|
39492
|
+
def initialize(**args)
|
39493
|
+
update!(**args)
|
39494
|
+
end
|
39495
|
+
|
39496
|
+
# Update properties of this object
|
39497
|
+
def update!(**args)
|
39498
|
+
@prediction = args[:prediction] if args.key?(:prediction)
|
39499
|
+
@reference = args[:reference] if args.key?(:reference)
|
39500
|
+
end
|
39501
|
+
end
|
39502
|
+
|
39503
|
+
# Tool name match metric value for an instance.
|
39504
|
+
class GoogleCloudAiplatformV1beta1ToolNameMatchMetricValue
|
39505
|
+
include Google::Apis::Core::Hashable
|
39506
|
+
|
39507
|
+
# Output only. Tool name match score.
|
39508
|
+
# Corresponds to the JSON property `score`
|
39509
|
+
# @return [Float]
|
39510
|
+
attr_accessor :score
|
39511
|
+
|
39512
|
+
def initialize(**args)
|
39513
|
+
update!(**args)
|
39514
|
+
end
|
39515
|
+
|
39516
|
+
# Update properties of this object
|
39517
|
+
def update!(**args)
|
39518
|
+
@score = args[:score] if args.key?(:score)
|
39519
|
+
end
|
39520
|
+
end
|
39521
|
+
|
39522
|
+
# Results for tool name match metric.
|
39523
|
+
class GoogleCloudAiplatformV1beta1ToolNameMatchResults
|
39524
|
+
include Google::Apis::Core::Hashable
|
39525
|
+
|
39526
|
+
# Output only. Tool name match metric values.
|
39527
|
+
# Corresponds to the JSON property `toolNameMatchMetricValues`
|
39528
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolNameMatchMetricValue>]
|
39529
|
+
attr_accessor :tool_name_match_metric_values
|
39530
|
+
|
39531
|
+
def initialize(**args)
|
39532
|
+
update!(**args)
|
39533
|
+
end
|
39534
|
+
|
39535
|
+
# Update properties of this object
|
39536
|
+
def update!(**args)
|
39537
|
+
@tool_name_match_metric_values = args[:tool_name_match_metric_values] if args.key?(:tool_name_match_metric_values)
|
39538
|
+
end
|
39539
|
+
end
|
39540
|
+
|
39541
|
+
# Spec for tool name match metric.
|
39542
|
+
class GoogleCloudAiplatformV1beta1ToolNameMatchSpec
|
39543
|
+
include Google::Apis::Core::Hashable
|
39544
|
+
|
39545
|
+
def initialize(**args)
|
39546
|
+
update!(**args)
|
39547
|
+
end
|
39548
|
+
|
39549
|
+
# Update properties of this object
|
39550
|
+
def update!(**args)
|
39551
|
+
end
|
39552
|
+
end
|
39553
|
+
|
39554
|
+
# Input for tool parameter key value match metric.
|
39555
|
+
class GoogleCloudAiplatformV1beta1ToolParameterKvMatchInput
|
39556
|
+
include Google::Apis::Core::Hashable
|
39557
|
+
|
39558
|
+
# Required. Repeated tool parameter key value match instances.
|
39559
|
+
# Corresponds to the JSON property `instances`
|
39560
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolParameterKvMatchInstance>]
|
39561
|
+
attr_accessor :instances
|
39562
|
+
|
39563
|
+
# Spec for tool parameter key value match metric.
|
39564
|
+
# Corresponds to the JSON property `metricSpec`
|
39565
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolParameterKvMatchSpec]
|
39566
|
+
attr_accessor :metric_spec
|
39567
|
+
|
39568
|
+
def initialize(**args)
|
39569
|
+
update!(**args)
|
39570
|
+
end
|
39571
|
+
|
39572
|
+
# Update properties of this object
|
39573
|
+
def update!(**args)
|
39574
|
+
@instances = args[:instances] if args.key?(:instances)
|
39575
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
39576
|
+
end
|
39577
|
+
end
|
39578
|
+
|
39579
|
+
# Spec for tool parameter key value match instance.
|
39580
|
+
class GoogleCloudAiplatformV1beta1ToolParameterKvMatchInstance
|
39260
39581
|
include Google::Apis::Core::Hashable
|
39261
39582
|
|
39262
39583
|
# Required. Output of the evaluated model.
|
@@ -39688,6 +40009,645 @@ module Google
|
|
39688
40009
|
end
|
39689
40010
|
end
|
39690
40011
|
|
40012
|
+
# Spec for trajectory.
|
40013
|
+
class GoogleCloudAiplatformV1beta1Trajectory
|
40014
|
+
include Google::Apis::Core::Hashable
|
40015
|
+
|
40016
|
+
# Required. Tool calls in the trajectory.
|
40017
|
+
# Corresponds to the JSON property `toolCalls`
|
40018
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCall>]
|
40019
|
+
attr_accessor :tool_calls
|
40020
|
+
|
40021
|
+
def initialize(**args)
|
40022
|
+
update!(**args)
|
40023
|
+
end
|
40024
|
+
|
40025
|
+
# Update properties of this object
|
40026
|
+
def update!(**args)
|
40027
|
+
@tool_calls = args[:tool_calls] if args.key?(:tool_calls)
|
40028
|
+
end
|
40029
|
+
end
|
40030
|
+
|
40031
|
+
# Instances and metric spec for TrajectoryAnyOrderMatch metric.
|
40032
|
+
class GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchInput
|
40033
|
+
include Google::Apis::Core::Hashable
|
40034
|
+
|
40035
|
+
# Required. Repeated TrajectoryAnyOrderMatch instance.
|
40036
|
+
# Corresponds to the JSON property `instances`
|
40037
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchInstance>]
|
40038
|
+
attr_accessor :instances
|
40039
|
+
|
40040
|
+
# Spec for TrajectoryAnyOrderMatch metric - returns 1 if all tool calls in the
|
40041
|
+
# reference trajectory appear in the predicted trajectory in any order, else 0.
|
40042
|
+
# Corresponds to the JSON property `metricSpec`
|
40043
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchSpec]
|
40044
|
+
attr_accessor :metric_spec
|
40045
|
+
|
40046
|
+
def initialize(**args)
|
40047
|
+
update!(**args)
|
40048
|
+
end
|
40049
|
+
|
40050
|
+
# Update properties of this object
|
40051
|
+
def update!(**args)
|
40052
|
+
@instances = args[:instances] if args.key?(:instances)
|
40053
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
40054
|
+
end
|
40055
|
+
end
|
40056
|
+
|
40057
|
+
# Spec for TrajectoryAnyOrderMatch instance.
|
40058
|
+
class GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchInstance
|
40059
|
+
include Google::Apis::Core::Hashable
|
40060
|
+
|
40061
|
+
# Spec for trajectory.
|
40062
|
+
# Corresponds to the JSON property `predictedTrajectory`
|
40063
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory]
|
40064
|
+
attr_accessor :predicted_trajectory
|
40065
|
+
|
40066
|
+
# Spec for trajectory.
|
40067
|
+
# Corresponds to the JSON property `referenceTrajectory`
|
40068
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory]
|
40069
|
+
attr_accessor :reference_trajectory
|
40070
|
+
|
40071
|
+
def initialize(**args)
|
40072
|
+
update!(**args)
|
40073
|
+
end
|
40074
|
+
|
40075
|
+
# Update properties of this object
|
40076
|
+
def update!(**args)
|
40077
|
+
@predicted_trajectory = args[:predicted_trajectory] if args.key?(:predicted_trajectory)
|
40078
|
+
@reference_trajectory = args[:reference_trajectory] if args.key?(:reference_trajectory)
|
40079
|
+
end
|
40080
|
+
end
|
40081
|
+
|
40082
|
+
# TrajectoryAnyOrderMatch metric value for an instance.
|
40083
|
+
class GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchMetricValue
|
40084
|
+
include Google::Apis::Core::Hashable
|
40085
|
+
|
40086
|
+
# Output only. TrajectoryAnyOrderMatch score.
|
40087
|
+
# Corresponds to the JSON property `score`
|
40088
|
+
# @return [Float]
|
40089
|
+
attr_accessor :score
|
40090
|
+
|
40091
|
+
def initialize(**args)
|
40092
|
+
update!(**args)
|
40093
|
+
end
|
40094
|
+
|
40095
|
+
# Update properties of this object
|
40096
|
+
def update!(**args)
|
40097
|
+
@score = args[:score] if args.key?(:score)
|
40098
|
+
end
|
40099
|
+
end
|
40100
|
+
|
40101
|
+
# Results for TrajectoryAnyOrderMatch metric.
|
40102
|
+
class GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchResults
|
40103
|
+
include Google::Apis::Core::Hashable
|
40104
|
+
|
40105
|
+
# Output only. TrajectoryAnyOrderMatch metric values.
|
40106
|
+
# Corresponds to the JSON property `trajectoryAnyOrderMatchMetricValues`
|
40107
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchMetricValue>]
|
40108
|
+
attr_accessor :trajectory_any_order_match_metric_values
|
40109
|
+
|
40110
|
+
def initialize(**args)
|
40111
|
+
update!(**args)
|
40112
|
+
end
|
40113
|
+
|
40114
|
+
# Update properties of this object
|
40115
|
+
def update!(**args)
|
40116
|
+
@trajectory_any_order_match_metric_values = args[:trajectory_any_order_match_metric_values] if args.key?(:trajectory_any_order_match_metric_values)
|
40117
|
+
end
|
40118
|
+
end
|
40119
|
+
|
40120
|
+
# Spec for TrajectoryAnyOrderMatch metric - returns 1 if all tool calls in the
|
40121
|
+
# reference trajectory appear in the predicted trajectory in any order, else 0.
|
40122
|
+
class GoogleCloudAiplatformV1beta1TrajectoryAnyOrderMatchSpec
|
40123
|
+
include Google::Apis::Core::Hashable
|
40124
|
+
|
40125
|
+
def initialize(**args)
|
40126
|
+
update!(**args)
|
40127
|
+
end
|
40128
|
+
|
40129
|
+
# Update properties of this object
|
40130
|
+
def update!(**args)
|
40131
|
+
end
|
40132
|
+
end
|
40133
|
+
|
40134
|
+
# Instances and metric spec for TrajectoryExactMatch metric.
|
40135
|
+
class GoogleCloudAiplatformV1beta1TrajectoryExactMatchInput
|
40136
|
+
include Google::Apis::Core::Hashable
|
40137
|
+
|
40138
|
+
# Required. Repeated TrajectoryExactMatch instance.
|
40139
|
+
# Corresponds to the JSON property `instances`
|
40140
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryExactMatchInstance>]
|
40141
|
+
attr_accessor :instances
|
40142
|
+
|
40143
|
+
# Spec for TrajectoryExactMatch metric - returns 1 if tool calls in the
|
40144
|
+
# reference trajectory exactly match the predicted trajectory, else 0.
|
40145
|
+
# Corresponds to the JSON property `metricSpec`
|
40146
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryExactMatchSpec]
|
40147
|
+
attr_accessor :metric_spec
|
40148
|
+
|
40149
|
+
def initialize(**args)
|
40150
|
+
update!(**args)
|
40151
|
+
end
|
40152
|
+
|
40153
|
+
# Update properties of this object
|
40154
|
+
def update!(**args)
|
40155
|
+
@instances = args[:instances] if args.key?(:instances)
|
40156
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
40157
|
+
end
|
40158
|
+
end
|
40159
|
+
|
40160
|
+
# Spec for TrajectoryExactMatch instance.
|
40161
|
+
class GoogleCloudAiplatformV1beta1TrajectoryExactMatchInstance
|
40162
|
+
include Google::Apis::Core::Hashable
|
40163
|
+
|
40164
|
+
# Spec for trajectory.
|
40165
|
+
# Corresponds to the JSON property `predictedTrajectory`
|
40166
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory]
|
40167
|
+
attr_accessor :predicted_trajectory
|
40168
|
+
|
40169
|
+
# Spec for trajectory.
|
40170
|
+
# Corresponds to the JSON property `referenceTrajectory`
|
40171
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory]
|
40172
|
+
attr_accessor :reference_trajectory
|
40173
|
+
|
40174
|
+
def initialize(**args)
|
40175
|
+
update!(**args)
|
40176
|
+
end
|
40177
|
+
|
40178
|
+
# Update properties of this object
|
40179
|
+
def update!(**args)
|
40180
|
+
@predicted_trajectory = args[:predicted_trajectory] if args.key?(:predicted_trajectory)
|
40181
|
+
@reference_trajectory = args[:reference_trajectory] if args.key?(:reference_trajectory)
|
40182
|
+
end
|
40183
|
+
end
|
40184
|
+
|
40185
|
+
# TrajectoryExactMatch metric value for an instance.
|
40186
|
+
class GoogleCloudAiplatformV1beta1TrajectoryExactMatchMetricValue
|
40187
|
+
include Google::Apis::Core::Hashable
|
40188
|
+
|
40189
|
+
# Output only. TrajectoryExactMatch score.
|
40190
|
+
# Corresponds to the JSON property `score`
|
40191
|
+
# @return [Float]
|
40192
|
+
attr_accessor :score
|
40193
|
+
|
40194
|
+
def initialize(**args)
|
40195
|
+
update!(**args)
|
40196
|
+
end
|
40197
|
+
|
40198
|
+
# Update properties of this object
|
40199
|
+
def update!(**args)
|
40200
|
+
@score = args[:score] if args.key?(:score)
|
40201
|
+
end
|
40202
|
+
end
|
40203
|
+
|
40204
|
+
# Results for TrajectoryExactMatch metric.
|
40205
|
+
class GoogleCloudAiplatformV1beta1TrajectoryExactMatchResults
|
40206
|
+
include Google::Apis::Core::Hashable
|
40207
|
+
|
40208
|
+
# Output only. TrajectoryExactMatch metric values.
|
40209
|
+
# Corresponds to the JSON property `trajectoryExactMatchMetricValues`
|
40210
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryExactMatchMetricValue>]
|
40211
|
+
attr_accessor :trajectory_exact_match_metric_values
|
40212
|
+
|
40213
|
+
def initialize(**args)
|
40214
|
+
update!(**args)
|
40215
|
+
end
|
40216
|
+
|
40217
|
+
# Update properties of this object
|
40218
|
+
def update!(**args)
|
40219
|
+
@trajectory_exact_match_metric_values = args[:trajectory_exact_match_metric_values] if args.key?(:trajectory_exact_match_metric_values)
|
40220
|
+
end
|
40221
|
+
end
|
40222
|
+
|
40223
|
+
# Spec for TrajectoryExactMatch metric - returns 1 if tool calls in the
|
40224
|
+
# reference trajectory exactly match the predicted trajectory, else 0.
|
40225
|
+
class GoogleCloudAiplatformV1beta1TrajectoryExactMatchSpec
|
40226
|
+
include Google::Apis::Core::Hashable
|
40227
|
+
|
40228
|
+
def initialize(**args)
|
40229
|
+
update!(**args)
|
40230
|
+
end
|
40231
|
+
|
40232
|
+
# Update properties of this object
|
40233
|
+
def update!(**args)
|
40234
|
+
end
|
40235
|
+
end
|
40236
|
+
|
40237
|
+
# Instances and metric spec for TrajectoryInOrderMatch metric.
|
40238
|
+
class GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchInput
|
40239
|
+
include Google::Apis::Core::Hashable
|
40240
|
+
|
40241
|
+
# Required. Repeated TrajectoryInOrderMatch instance.
|
40242
|
+
# Corresponds to the JSON property `instances`
|
40243
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchInstance>]
|
40244
|
+
attr_accessor :instances
|
40245
|
+
|
40246
|
+
# Spec for TrajectoryInOrderMatch metric - returns 1 if tool calls in the
|
40247
|
+
# reference trajectory appear in the predicted trajectory in the same order,
|
40248
|
+
# else 0.
|
40249
|
+
# Corresponds to the JSON property `metricSpec`
|
40250
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchSpec]
|
40251
|
+
attr_accessor :metric_spec
|
40252
|
+
|
40253
|
+
def initialize(**args)
|
40254
|
+
update!(**args)
|
40255
|
+
end
|
40256
|
+
|
40257
|
+
# Update properties of this object
|
40258
|
+
def update!(**args)
|
40259
|
+
@instances = args[:instances] if args.key?(:instances)
|
40260
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
40261
|
+
end
|
40262
|
+
end
|
40263
|
+
|
40264
|
+
# Spec for TrajectoryInOrderMatch instance.
|
40265
|
+
class GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchInstance
|
40266
|
+
include Google::Apis::Core::Hashable
|
40267
|
+
|
40268
|
+
# Spec for trajectory.
|
40269
|
+
# Corresponds to the JSON property `predictedTrajectory`
|
40270
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory]
|
40271
|
+
attr_accessor :predicted_trajectory
|
40272
|
+
|
40273
|
+
# Spec for trajectory.
|
40274
|
+
# Corresponds to the JSON property `referenceTrajectory`
|
40275
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory]
|
40276
|
+
attr_accessor :reference_trajectory
|
40277
|
+
|
40278
|
+
def initialize(**args)
|
40279
|
+
update!(**args)
|
40280
|
+
end
|
40281
|
+
|
40282
|
+
# Update properties of this object
|
40283
|
+
def update!(**args)
|
40284
|
+
@predicted_trajectory = args[:predicted_trajectory] if args.key?(:predicted_trajectory)
|
40285
|
+
@reference_trajectory = args[:reference_trajectory] if args.key?(:reference_trajectory)
|
40286
|
+
end
|
40287
|
+
end
|
40288
|
+
|
40289
|
+
# TrajectoryInOrderMatch metric value for an instance.
|
40290
|
+
class GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchMetricValue
|
40291
|
+
include Google::Apis::Core::Hashable
|
40292
|
+
|
40293
|
+
# Output only. TrajectoryInOrderMatch score.
|
40294
|
+
# Corresponds to the JSON property `score`
|
40295
|
+
# @return [Float]
|
40296
|
+
attr_accessor :score
|
40297
|
+
|
40298
|
+
def initialize(**args)
|
40299
|
+
update!(**args)
|
40300
|
+
end
|
40301
|
+
|
40302
|
+
# Update properties of this object
|
40303
|
+
def update!(**args)
|
40304
|
+
@score = args[:score] if args.key?(:score)
|
40305
|
+
end
|
40306
|
+
end
|
40307
|
+
|
40308
|
+
# Results for TrajectoryInOrderMatch metric.
|
40309
|
+
class GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchResults
|
40310
|
+
include Google::Apis::Core::Hashable
|
40311
|
+
|
40312
|
+
# Output only. TrajectoryInOrderMatch metric values.
|
40313
|
+
# Corresponds to the JSON property `trajectoryInOrderMatchMetricValues`
|
40314
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchMetricValue>]
|
40315
|
+
attr_accessor :trajectory_in_order_match_metric_values
|
40316
|
+
|
40317
|
+
def initialize(**args)
|
40318
|
+
update!(**args)
|
40319
|
+
end
|
40320
|
+
|
40321
|
+
# Update properties of this object
|
40322
|
+
def update!(**args)
|
40323
|
+
@trajectory_in_order_match_metric_values = args[:trajectory_in_order_match_metric_values] if args.key?(:trajectory_in_order_match_metric_values)
|
40324
|
+
end
|
40325
|
+
end
|
40326
|
+
|
40327
|
+
# Spec for TrajectoryInOrderMatch metric - returns 1 if tool calls in the
|
40328
|
+
# reference trajectory appear in the predicted trajectory in the same order,
|
40329
|
+
# else 0.
|
40330
|
+
class GoogleCloudAiplatformV1beta1TrajectoryInOrderMatchSpec
|
40331
|
+
include Google::Apis::Core::Hashable
|
40332
|
+
|
40333
|
+
def initialize(**args)
|
40334
|
+
update!(**args)
|
40335
|
+
end
|
40336
|
+
|
40337
|
+
# Update properties of this object
|
40338
|
+
def update!(**args)
|
40339
|
+
end
|
40340
|
+
end
|
40341
|
+
|
40342
|
+
# Instances and metric spec for TrajectoryPrecision metric.
|
40343
|
+
class GoogleCloudAiplatformV1beta1TrajectoryPrecisionInput
|
40344
|
+
include Google::Apis::Core::Hashable
|
40345
|
+
|
40346
|
+
# Required. Repeated TrajectoryPrecision instance.
|
40347
|
+
# Corresponds to the JSON property `instances`
|
40348
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryPrecisionInstance>]
|
40349
|
+
attr_accessor :instances
|
40350
|
+
|
40351
|
+
# Spec for TrajectoryPrecision metric - returns a float score based on average
|
40352
|
+
# precision of individual tool calls.
|
40353
|
+
# Corresponds to the JSON property `metricSpec`
|
40354
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryPrecisionSpec]
|
40355
|
+
attr_accessor :metric_spec
|
40356
|
+
|
40357
|
+
def initialize(**args)
|
40358
|
+
update!(**args)
|
40359
|
+
end
|
40360
|
+
|
40361
|
+
# Update properties of this object
|
40362
|
+
def update!(**args)
|
40363
|
+
@instances = args[:instances] if args.key?(:instances)
|
40364
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
40365
|
+
end
|
40366
|
+
end
|
40367
|
+
|
40368
|
+
# Spec for TrajectoryPrecision instance.
|
40369
|
+
class GoogleCloudAiplatformV1beta1TrajectoryPrecisionInstance
|
40370
|
+
include Google::Apis::Core::Hashable
|
40371
|
+
|
40372
|
+
# Spec for trajectory.
|
40373
|
+
# Corresponds to the JSON property `predictedTrajectory`
|
40374
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory]
|
40375
|
+
attr_accessor :predicted_trajectory
|
40376
|
+
|
40377
|
+
# Spec for trajectory.
|
40378
|
+
# Corresponds to the JSON property `referenceTrajectory`
|
40379
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory]
|
40380
|
+
attr_accessor :reference_trajectory
|
40381
|
+
|
40382
|
+
def initialize(**args)
|
40383
|
+
update!(**args)
|
40384
|
+
end
|
40385
|
+
|
40386
|
+
# Update properties of this object
|
40387
|
+
def update!(**args)
|
40388
|
+
@predicted_trajectory = args[:predicted_trajectory] if args.key?(:predicted_trajectory)
|
40389
|
+
@reference_trajectory = args[:reference_trajectory] if args.key?(:reference_trajectory)
|
40390
|
+
end
|
40391
|
+
end
|
40392
|
+
|
40393
|
+
# TrajectoryPrecision metric value for an instance.
|
40394
|
+
class GoogleCloudAiplatformV1beta1TrajectoryPrecisionMetricValue
|
40395
|
+
include Google::Apis::Core::Hashable
|
40396
|
+
|
40397
|
+
# Output only. TrajectoryPrecision score.
|
40398
|
+
# Corresponds to the JSON property `score`
|
40399
|
+
# @return [Float]
|
40400
|
+
attr_accessor :score
|
40401
|
+
|
40402
|
+
def initialize(**args)
|
40403
|
+
update!(**args)
|
40404
|
+
end
|
40405
|
+
|
40406
|
+
# Update properties of this object
|
40407
|
+
def update!(**args)
|
40408
|
+
@score = args[:score] if args.key?(:score)
|
40409
|
+
end
|
40410
|
+
end
|
40411
|
+
|
40412
|
+
# Results for TrajectoryPrecision metric.
|
40413
|
+
class GoogleCloudAiplatformV1beta1TrajectoryPrecisionResults
|
40414
|
+
include Google::Apis::Core::Hashable
|
40415
|
+
|
40416
|
+
# Output only. TrajectoryPrecision metric values.
|
40417
|
+
# Corresponds to the JSON property `trajectoryPrecisionMetricValues`
|
40418
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryPrecisionMetricValue>]
|
40419
|
+
attr_accessor :trajectory_precision_metric_values
|
40420
|
+
|
40421
|
+
def initialize(**args)
|
40422
|
+
update!(**args)
|
40423
|
+
end
|
40424
|
+
|
40425
|
+
# Update properties of this object
|
40426
|
+
def update!(**args)
|
40427
|
+
@trajectory_precision_metric_values = args[:trajectory_precision_metric_values] if args.key?(:trajectory_precision_metric_values)
|
40428
|
+
end
|
40429
|
+
end
|
40430
|
+
|
40431
|
+
# Spec for TrajectoryPrecision metric - returns a float score based on average
|
40432
|
+
# precision of individual tool calls.
|
40433
|
+
class GoogleCloudAiplatformV1beta1TrajectoryPrecisionSpec
|
40434
|
+
include Google::Apis::Core::Hashable
|
40435
|
+
|
40436
|
+
def initialize(**args)
|
40437
|
+
update!(**args)
|
40438
|
+
end
|
40439
|
+
|
40440
|
+
# Update properties of this object
|
40441
|
+
def update!(**args)
|
40442
|
+
end
|
40443
|
+
end
|
40444
|
+
|
40445
|
+
# Instances and metric spec for TrajectoryRecall metric.
|
40446
|
+
class GoogleCloudAiplatformV1beta1TrajectoryRecallInput
|
40447
|
+
include Google::Apis::Core::Hashable
|
40448
|
+
|
40449
|
+
# Required. Repeated TrajectoryRecall instance.
|
40450
|
+
# Corresponds to the JSON property `instances`
|
40451
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryRecallInstance>]
|
40452
|
+
attr_accessor :instances
|
40453
|
+
|
40454
|
+
# Spec for TrajectoryRecall metric - returns a float score based on average
|
40455
|
+
# recall of individual tool calls.
|
40456
|
+
# Corresponds to the JSON property `metricSpec`
|
40457
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryRecallSpec]
|
40458
|
+
attr_accessor :metric_spec
|
40459
|
+
|
40460
|
+
def initialize(**args)
|
40461
|
+
update!(**args)
|
40462
|
+
end
|
40463
|
+
|
40464
|
+
# Update properties of this object
|
40465
|
+
def update!(**args)
|
40466
|
+
@instances = args[:instances] if args.key?(:instances)
|
40467
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
40468
|
+
end
|
40469
|
+
end
|
40470
|
+
|
40471
|
+
# Spec for TrajectoryRecall instance.
|
40472
|
+
class GoogleCloudAiplatformV1beta1TrajectoryRecallInstance
|
40473
|
+
include Google::Apis::Core::Hashable
|
40474
|
+
|
40475
|
+
# Spec for trajectory.
|
40476
|
+
# Corresponds to the JSON property `predictedTrajectory`
|
40477
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory]
|
40478
|
+
attr_accessor :predicted_trajectory
|
40479
|
+
|
40480
|
+
# Spec for trajectory.
|
40481
|
+
# Corresponds to the JSON property `referenceTrajectory`
|
40482
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory]
|
40483
|
+
attr_accessor :reference_trajectory
|
40484
|
+
|
40485
|
+
def initialize(**args)
|
40486
|
+
update!(**args)
|
40487
|
+
end
|
40488
|
+
|
40489
|
+
# Update properties of this object
|
40490
|
+
def update!(**args)
|
40491
|
+
@predicted_trajectory = args[:predicted_trajectory] if args.key?(:predicted_trajectory)
|
40492
|
+
@reference_trajectory = args[:reference_trajectory] if args.key?(:reference_trajectory)
|
40493
|
+
end
|
40494
|
+
end
|
40495
|
+
|
40496
|
+
# TrajectoryRecall metric value for an instance.
|
40497
|
+
class GoogleCloudAiplatformV1beta1TrajectoryRecallMetricValue
|
40498
|
+
include Google::Apis::Core::Hashable
|
40499
|
+
|
40500
|
+
# Output only. TrajectoryRecall score.
|
40501
|
+
# Corresponds to the JSON property `score`
|
40502
|
+
# @return [Float]
|
40503
|
+
attr_accessor :score
|
40504
|
+
|
40505
|
+
def initialize(**args)
|
40506
|
+
update!(**args)
|
40507
|
+
end
|
40508
|
+
|
40509
|
+
# Update properties of this object
|
40510
|
+
def update!(**args)
|
40511
|
+
@score = args[:score] if args.key?(:score)
|
40512
|
+
end
|
40513
|
+
end
|
40514
|
+
|
40515
|
+
# Results for TrajectoryRecall metric.
|
40516
|
+
class GoogleCloudAiplatformV1beta1TrajectoryRecallResults
|
40517
|
+
include Google::Apis::Core::Hashable
|
40518
|
+
|
40519
|
+
# Output only. TrajectoryRecall metric values.
|
40520
|
+
# Corresponds to the JSON property `trajectoryRecallMetricValues`
|
40521
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectoryRecallMetricValue>]
|
40522
|
+
attr_accessor :trajectory_recall_metric_values
|
40523
|
+
|
40524
|
+
def initialize(**args)
|
40525
|
+
update!(**args)
|
40526
|
+
end
|
40527
|
+
|
40528
|
+
# Update properties of this object
|
40529
|
+
def update!(**args)
|
40530
|
+
@trajectory_recall_metric_values = args[:trajectory_recall_metric_values] if args.key?(:trajectory_recall_metric_values)
|
40531
|
+
end
|
40532
|
+
end
|
40533
|
+
|
40534
|
+
# Spec for TrajectoryRecall metric - returns a float score based on average
|
40535
|
+
# recall of individual tool calls.
|
40536
|
+
class GoogleCloudAiplatformV1beta1TrajectoryRecallSpec
|
40537
|
+
include Google::Apis::Core::Hashable
|
40538
|
+
|
40539
|
+
def initialize(**args)
|
40540
|
+
update!(**args)
|
40541
|
+
end
|
40542
|
+
|
40543
|
+
# Update properties of this object
|
40544
|
+
def update!(**args)
|
40545
|
+
end
|
40546
|
+
end
|
40547
|
+
|
40548
|
+
# Instances and metric spec for TrajectorySingleToolUse metric.
|
40549
|
+
class GoogleCloudAiplatformV1beta1TrajectorySingleToolUseInput
|
40550
|
+
include Google::Apis::Core::Hashable
|
40551
|
+
|
40552
|
+
# Required. Repeated TrajectorySingleToolUse instance.
|
40553
|
+
# Corresponds to the JSON property `instances`
|
40554
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectorySingleToolUseInstance>]
|
40555
|
+
attr_accessor :instances
|
40556
|
+
|
40557
|
+
# Spec for TrajectorySingleToolUse metric - returns 1 if tool is present in the
|
40558
|
+
# predicted trajectory, else 0.
|
40559
|
+
# Corresponds to the JSON property `metricSpec`
|
40560
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectorySingleToolUseSpec]
|
40561
|
+
attr_accessor :metric_spec
|
40562
|
+
|
40563
|
+
def initialize(**args)
|
40564
|
+
update!(**args)
|
40565
|
+
end
|
40566
|
+
|
40567
|
+
# Update properties of this object
|
40568
|
+
def update!(**args)
|
40569
|
+
@instances = args[:instances] if args.key?(:instances)
|
40570
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
40571
|
+
end
|
40572
|
+
end
|
40573
|
+
|
40574
|
+
# Spec for TrajectorySingleToolUse instance.
|
40575
|
+
class GoogleCloudAiplatformV1beta1TrajectorySingleToolUseInstance
|
40576
|
+
include Google::Apis::Core::Hashable
|
40577
|
+
|
40578
|
+
# Spec for trajectory.
|
40579
|
+
# Corresponds to the JSON property `predictedTrajectory`
|
40580
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Trajectory]
|
40581
|
+
attr_accessor :predicted_trajectory
|
40582
|
+
|
40583
|
+
def initialize(**args)
|
40584
|
+
update!(**args)
|
40585
|
+
end
|
40586
|
+
|
40587
|
+
# Update properties of this object
|
40588
|
+
def update!(**args)
|
40589
|
+
@predicted_trajectory = args[:predicted_trajectory] if args.key?(:predicted_trajectory)
|
40590
|
+
end
|
40591
|
+
end
|
40592
|
+
|
40593
|
+
# TrajectorySingleToolUse metric value for an instance.
|
40594
|
+
class GoogleCloudAiplatformV1beta1TrajectorySingleToolUseMetricValue
|
40595
|
+
include Google::Apis::Core::Hashable
|
40596
|
+
|
40597
|
+
# Output only. TrajectorySingleToolUse score.
|
40598
|
+
# Corresponds to the JSON property `score`
|
40599
|
+
# @return [Float]
|
40600
|
+
attr_accessor :score
|
40601
|
+
|
40602
|
+
def initialize(**args)
|
40603
|
+
update!(**args)
|
40604
|
+
end
|
40605
|
+
|
40606
|
+
# Update properties of this object
|
40607
|
+
def update!(**args)
|
40608
|
+
@score = args[:score] if args.key?(:score)
|
40609
|
+
end
|
40610
|
+
end
|
40611
|
+
|
40612
|
+
# Results for TrajectorySingleToolUse metric.
|
40613
|
+
class GoogleCloudAiplatformV1beta1TrajectorySingleToolUseResults
|
40614
|
+
include Google::Apis::Core::Hashable
|
40615
|
+
|
40616
|
+
# Output only. TrajectorySingleToolUse metric values.
|
40617
|
+
# Corresponds to the JSON property `trajectorySingleToolUseMetricValues`
|
40618
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TrajectorySingleToolUseMetricValue>]
|
40619
|
+
attr_accessor :trajectory_single_tool_use_metric_values
|
40620
|
+
|
40621
|
+
def initialize(**args)
|
40622
|
+
update!(**args)
|
40623
|
+
end
|
40624
|
+
|
40625
|
+
# Update properties of this object
|
40626
|
+
def update!(**args)
|
40627
|
+
@trajectory_single_tool_use_metric_values = args[:trajectory_single_tool_use_metric_values] if args.key?(:trajectory_single_tool_use_metric_values)
|
40628
|
+
end
|
40629
|
+
end
|
40630
|
+
|
40631
|
+
# Spec for TrajectorySingleToolUse metric - returns 1 if tool is present in the
|
40632
|
+
# predicted trajectory, else 0.
|
40633
|
+
class GoogleCloudAiplatformV1beta1TrajectorySingleToolUseSpec
|
40634
|
+
include Google::Apis::Core::Hashable
|
40635
|
+
|
40636
|
+
# Required. Spec for tool name to be checked for in the predicted trajectory.
|
40637
|
+
# Corresponds to the JSON property `toolName`
|
40638
|
+
# @return [String]
|
40639
|
+
attr_accessor :tool_name
|
40640
|
+
|
40641
|
+
def initialize(**args)
|
40642
|
+
update!(**args)
|
40643
|
+
end
|
40644
|
+
|
40645
|
+
# Update properties of this object
|
40646
|
+
def update!(**args)
|
40647
|
+
@tool_name = args[:tool_name] if args.key?(:tool_name)
|
40648
|
+
end
|
40649
|
+
end
|
40650
|
+
|
39691
40651
|
# A message representing a Trial. A Trial contains a unique set of Parameters
|
39692
40652
|
# that has been or will be evaluated, along with the objective metrics got by
|
39693
40653
|
# running the Trial.
|
@@ -41048,6 +42008,25 @@ module Google
|
|
41048
42008
|
end
|
41049
42009
|
end
|
41050
42010
|
|
42011
|
+
# The configuration for the voice to use.
|
42012
|
+
class GoogleCloudAiplatformV1beta1VoiceConfig
|
42013
|
+
include Google::Apis::Core::Hashable
|
42014
|
+
|
42015
|
+
# The configuration for the prebuilt speaker to use.
|
42016
|
+
# Corresponds to the JSON property `prebuiltVoiceConfig`
|
42017
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig]
|
42018
|
+
attr_accessor :prebuilt_voice_config
|
42019
|
+
|
42020
|
+
def initialize(**args)
|
42021
|
+
update!(**args)
|
42022
|
+
end
|
42023
|
+
|
42024
|
+
# Update properties of this object
|
42025
|
+
def update!(**args)
|
42026
|
+
@prebuilt_voice_config = args[:prebuilt_voice_config] if args.key?(:prebuilt_voice_config)
|
42027
|
+
end
|
42028
|
+
end
|
42029
|
+
|
41051
42030
|
# Represents the spec of a worker pool in a job.
|
41052
42031
|
class GoogleCloudAiplatformV1beta1WorkerPoolSpec
|
41053
42032
|
include Google::Apis::Core::Hashable
|