google-apis-aiplatform_v1 0.41.0 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|
|
@@ -2438,7 +2437,7 @@ module Google
|
|
2438
2437
|
end
|
2439
2438
|
end
|
2440
2439
|
|
2441
|
-
# Content blob.
|
2440
|
+
# Content blob.
|
2442
2441
|
class GoogleCloudAiplatformV1Blob
|
2443
2442
|
include Google::Apis::Core::Hashable
|
2444
2443
|
|
@@ -5078,7 +5077,8 @@ module Google
|
|
5078
5077
|
# @return [String]
|
5079
5078
|
attr_accessor :model_reference
|
5080
5079
|
|
5081
|
-
# Output only. Identifier. The resource name of the Dataset.
|
5080
|
+
# Output only. Identifier. The resource name of the Dataset. Format: `projects/`
|
5081
|
+
# project`/locations/`location`/datasets/`dataset``
|
5082
5082
|
# Corresponds to the JSON property `name`
|
5083
5083
|
# @return [String]
|
5084
5084
|
attr_accessor :name
|
@@ -6908,6 +6908,36 @@ module Google
|
|
6908
6908
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolParameterKvMatchInput]
|
6909
6909
|
attr_accessor :tool_parameter_kv_match_input
|
6910
6910
|
|
6911
|
+
# Instances and metric spec for TrajectoryAnyOrderMatch metric.
|
6912
|
+
# Corresponds to the JSON property `trajectoryAnyOrderMatchInput`
|
6913
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput]
|
6914
|
+
attr_accessor :trajectory_any_order_match_input
|
6915
|
+
|
6916
|
+
# Instances and metric spec for TrajectoryExactMatch metric.
|
6917
|
+
# Corresponds to the JSON property `trajectoryExactMatchInput`
|
6918
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryExactMatchInput]
|
6919
|
+
attr_accessor :trajectory_exact_match_input
|
6920
|
+
|
6921
|
+
# Instances and metric spec for TrajectoryInOrderMatch metric.
|
6922
|
+
# Corresponds to the JSON property `trajectoryInOrderMatchInput`
|
6923
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryInOrderMatchInput]
|
6924
|
+
attr_accessor :trajectory_in_order_match_input
|
6925
|
+
|
6926
|
+
# Instances and metric spec for TrajectoryPrecision metric.
|
6927
|
+
# Corresponds to the JSON property `trajectoryPrecisionInput`
|
6928
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryPrecisionInput]
|
6929
|
+
attr_accessor :trajectory_precision_input
|
6930
|
+
|
6931
|
+
# Instances and metric spec for TrajectoryRecall metric.
|
6932
|
+
# Corresponds to the JSON property `trajectoryRecallInput`
|
6933
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryRecallInput]
|
6934
|
+
attr_accessor :trajectory_recall_input
|
6935
|
+
|
6936
|
+
# Instances and metric spec for TrajectorySingleToolUse metric.
|
6937
|
+
# Corresponds to the JSON property `trajectorySingleToolUseInput`
|
6938
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectorySingleToolUseInput]
|
6939
|
+
attr_accessor :trajectory_single_tool_use_input
|
6940
|
+
|
6911
6941
|
def initialize(**args)
|
6912
6942
|
update!(**args)
|
6913
6943
|
end
|
@@ -6939,6 +6969,12 @@ module Google
|
|
6939
6969
|
@tool_name_match_input = args[:tool_name_match_input] if args.key?(:tool_name_match_input)
|
6940
6970
|
@tool_parameter_key_match_input = args[:tool_parameter_key_match_input] if args.key?(:tool_parameter_key_match_input)
|
6941
6971
|
@tool_parameter_kv_match_input = args[:tool_parameter_kv_match_input] if args.key?(:tool_parameter_kv_match_input)
|
6972
|
+
@trajectory_any_order_match_input = args[:trajectory_any_order_match_input] if args.key?(:trajectory_any_order_match_input)
|
6973
|
+
@trajectory_exact_match_input = args[:trajectory_exact_match_input] if args.key?(:trajectory_exact_match_input)
|
6974
|
+
@trajectory_in_order_match_input = args[:trajectory_in_order_match_input] if args.key?(:trajectory_in_order_match_input)
|
6975
|
+
@trajectory_precision_input = args[:trajectory_precision_input] if args.key?(:trajectory_precision_input)
|
6976
|
+
@trajectory_recall_input = args[:trajectory_recall_input] if args.key?(:trajectory_recall_input)
|
6977
|
+
@trajectory_single_tool_use_input = args[:trajectory_single_tool_use_input] if args.key?(:trajectory_single_tool_use_input)
|
6942
6978
|
end
|
6943
6979
|
end
|
6944
6980
|
|
@@ -7073,6 +7109,36 @@ module Google
|
|
7073
7109
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolParameterKvMatchResults]
|
7074
7110
|
attr_accessor :tool_parameter_kv_match_results
|
7075
7111
|
|
7112
|
+
# Results for TrajectoryAnyOrderMatch metric.
|
7113
|
+
# Corresponds to the JSON property `trajectoryAnyOrderMatchResults`
|
7114
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults]
|
7115
|
+
attr_accessor :trajectory_any_order_match_results
|
7116
|
+
|
7117
|
+
# Results for TrajectoryExactMatch metric.
|
7118
|
+
# Corresponds to the JSON property `trajectoryExactMatchResults`
|
7119
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryExactMatchResults]
|
7120
|
+
attr_accessor :trajectory_exact_match_results
|
7121
|
+
|
7122
|
+
# Results for TrajectoryInOrderMatch metric.
|
7123
|
+
# Corresponds to the JSON property `trajectoryInOrderMatchResults`
|
7124
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryInOrderMatchResults]
|
7125
|
+
attr_accessor :trajectory_in_order_match_results
|
7126
|
+
|
7127
|
+
# Results for TrajectoryPrecision metric.
|
7128
|
+
# Corresponds to the JSON property `trajectoryPrecisionResults`
|
7129
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryPrecisionResults]
|
7130
|
+
attr_accessor :trajectory_precision_results
|
7131
|
+
|
7132
|
+
# Results for TrajectoryRecall metric.
|
7133
|
+
# Corresponds to the JSON property `trajectoryRecallResults`
|
7134
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryRecallResults]
|
7135
|
+
attr_accessor :trajectory_recall_results
|
7136
|
+
|
7137
|
+
# Results for TrajectorySingleToolUse metric.
|
7138
|
+
# Corresponds to the JSON property `trajectorySingleToolUseResults`
|
7139
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectorySingleToolUseResults]
|
7140
|
+
attr_accessor :trajectory_single_tool_use_results
|
7141
|
+
|
7076
7142
|
def initialize(**args)
|
7077
7143
|
update!(**args)
|
7078
7144
|
end
|
@@ -7104,6 +7170,12 @@ module Google
|
|
7104
7170
|
@tool_name_match_results = args[:tool_name_match_results] if args.key?(:tool_name_match_results)
|
7105
7171
|
@tool_parameter_key_match_results = args[:tool_parameter_key_match_results] if args.key?(:tool_parameter_key_match_results)
|
7106
7172
|
@tool_parameter_kv_match_results = args[:tool_parameter_kv_match_results] if args.key?(:tool_parameter_kv_match_results)
|
7173
|
+
@trajectory_any_order_match_results = args[:trajectory_any_order_match_results] if args.key?(:trajectory_any_order_match_results)
|
7174
|
+
@trajectory_exact_match_results = args[:trajectory_exact_match_results] if args.key?(:trajectory_exact_match_results)
|
7175
|
+
@trajectory_in_order_match_results = args[:trajectory_in_order_match_results] if args.key?(:trajectory_in_order_match_results)
|
7176
|
+
@trajectory_precision_results = args[:trajectory_precision_results] if args.key?(:trajectory_precision_results)
|
7177
|
+
@trajectory_recall_results = args[:trajectory_recall_results] if args.key?(:trajectory_recall_results)
|
7178
|
+
@trajectory_single_tool_use_results = args[:trajectory_single_tool_use_results] if args.key?(:trajectory_single_tool_use_results)
|
7107
7179
|
end
|
7108
7180
|
end
|
7109
7181
|
|
@@ -11501,6 +11573,11 @@ module Google
|
|
11501
11573
|
# @return [Fixnum]
|
11502
11574
|
attr_accessor :max_output_tokens
|
11503
11575
|
|
11576
|
+
# Optional. If specified, the media resolution specified will be used.
|
11577
|
+
# Corresponds to the JSON property `mediaResolution`
|
11578
|
+
# @return [String]
|
11579
|
+
attr_accessor :media_resolution
|
11580
|
+
|
11504
11581
|
# Optional. Positive penalties.
|
11505
11582
|
# Corresponds to the JSON property `presencePenalty`
|
11506
11583
|
# @return [Float]
|
@@ -11521,6 +11598,11 @@ module Google
|
|
11521
11598
|
# @return [String]
|
11522
11599
|
attr_accessor :response_mime_type
|
11523
11600
|
|
11601
|
+
# Optional. The modalities of the response.
|
11602
|
+
# Corresponds to the JSON property `responseModalities`
|
11603
|
+
# @return [Array<String>]
|
11604
|
+
attr_accessor :response_modalities
|
11605
|
+
|
11524
11606
|
# Schema is used to define the format of input/output data. Represents a select
|
11525
11607
|
# subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
|
11526
11608
|
# schema-object). More fields may be added in the future as needed.
|
@@ -11538,6 +11620,11 @@ module Google
|
|
11538
11620
|
# @return [Fixnum]
|
11539
11621
|
attr_accessor :seed
|
11540
11622
|
|
11623
|
+
# The speech generation config.
|
11624
|
+
# Corresponds to the JSON property `speechConfig`
|
11625
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SpeechConfig]
|
11626
|
+
attr_accessor :speech_config
|
11627
|
+
|
11541
11628
|
# Optional. Stop sequences.
|
11542
11629
|
# Corresponds to the JSON property `stopSequences`
|
11543
11630
|
# @return [Array<String>]
|
@@ -11569,12 +11656,15 @@ module Google
|
|
11569
11656
|
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
|
11570
11657
|
@logprobs = args[:logprobs] if args.key?(:logprobs)
|
11571
11658
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
11659
|
+
@media_resolution = args[:media_resolution] if args.key?(:media_resolution)
|
11572
11660
|
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
11573
11661
|
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
|
11574
11662
|
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
|
11663
|
+
@response_modalities = args[:response_modalities] if args.key?(:response_modalities)
|
11575
11664
|
@response_schema = args[:response_schema] if args.key?(:response_schema)
|
11576
11665
|
@routing_config = args[:routing_config] if args.key?(:routing_config)
|
11577
11666
|
@seed = args[:seed] if args.key?(:seed)
|
11667
|
+
@speech_config = args[:speech_config] if args.key?(:speech_config)
|
11578
11668
|
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
11579
11669
|
@temperature = args[:temperature] if args.key?(:temperature)
|
11580
11670
|
@top_k = args[:top_k] if args.key?(:top_k)
|
@@ -12569,6 +12659,11 @@ module Google
|
|
12569
12659
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileTransformationConfig]
|
12570
12660
|
attr_accessor :rag_file_transformation_config
|
12571
12661
|
|
12662
|
+
# The SharePointSources to pass to ImportRagFiles.
|
12663
|
+
# Corresponds to the JSON property `sharePointSources`
|
12664
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SharePointSources]
|
12665
|
+
attr_accessor :share_point_sources
|
12666
|
+
|
12572
12667
|
# The Slack source for the ImportRagFilesRequest.
|
12573
12668
|
# Corresponds to the JSON property `slackSource`
|
12574
12669
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SlackSource]
|
@@ -12587,6 +12682,7 @@ module Google
|
|
12587
12682
|
@partial_failure_bigquery_sink = args[:partial_failure_bigquery_sink] if args.key?(:partial_failure_bigquery_sink)
|
12588
12683
|
@partial_failure_gcs_sink = args[:partial_failure_gcs_sink] if args.key?(:partial_failure_gcs_sink)
|
12589
12684
|
@rag_file_transformation_config = args[:rag_file_transformation_config] if args.key?(:rag_file_transformation_config)
|
12685
|
+
@share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
|
12590
12686
|
@slack_source = args[:slack_source] if args.key?(:slack_source)
|
12591
12687
|
end
|
12592
12688
|
end
|
@@ -16191,6 +16287,12 @@ module Google
|
|
16191
16287
|
# @return [String]
|
16192
16288
|
attr_accessor :image_uri
|
16193
16289
|
|
16290
|
+
# Probe describes a health check to be performed against a container to
|
16291
|
+
# determine whether it is alive or ready to receive traffic.
|
16292
|
+
# Corresponds to the JSON property `livenessProbe`
|
16293
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe]
|
16294
|
+
attr_accessor :liveness_probe
|
16295
|
+
|
16194
16296
|
# Immutable. List of ports to expose from the container. Vertex AI sends any
|
16195
16297
|
# prediction requests that it receives to the first port on this list. Vertex AI
|
16196
16298
|
# also sends [liveness and health checks](https://cloud.google.com/vertex-ai/
|
@@ -16253,6 +16355,7 @@ module Google
|
|
16253
16355
|
@health_probe = args[:health_probe] if args.key?(:health_probe)
|
16254
16356
|
@health_route = args[:health_route] if args.key?(:health_route)
|
16255
16357
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
16358
|
+
@liveness_probe = args[:liveness_probe] if args.key?(:liveness_probe)
|
16256
16359
|
@ports = args[:ports] if args.key?(:ports)
|
16257
16360
|
@predict_route = args[:predict_route] if args.key?(:predict_route)
|
16258
16361
|
@shared_memory_size_mb = args[:shared_memory_size_mb] if args.key?(:shared_memory_size_mb)
|
@@ -18809,6 +18912,11 @@ module Google
|
|
18809
18912
|
# @return [String]
|
18810
18913
|
attr_accessor :create_time
|
18811
18914
|
|
18915
|
+
# Represents the spec of persistent disk options.
|
18916
|
+
# Corresponds to the JSON property `dataPersistentDiskSpec`
|
18917
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PersistentDiskSpec]
|
18918
|
+
attr_accessor :data_persistent_disk_spec
|
18919
|
+
|
18812
18920
|
# The description of the NotebookRuntime.
|
18813
18921
|
# Corresponds to the JSON property `description`
|
18814
18922
|
# @return [String]
|
@@ -18826,6 +18934,11 @@ module Google
|
|
18826
18934
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
18827
18935
|
attr_accessor :encryption_spec
|
18828
18936
|
|
18937
|
+
# The euc configuration of NotebookRuntimeTemplate.
|
18938
|
+
# Corresponds to the JSON property `eucConfig`
|
18939
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookEucConfig]
|
18940
|
+
attr_accessor :euc_config
|
18941
|
+
|
18829
18942
|
# Output only. Timestamp when this NotebookRuntime will be expired: 1. System
|
18830
18943
|
# Predefined NotebookRuntime: 24 hours after creation. After expiration, system
|
18831
18944
|
# predifined runtime will be deleted. 2. User created NotebookRuntime: 6 months
|
@@ -18869,11 +18982,21 @@ module Google
|
|
18869
18982
|
# @return [Hash<String,String>]
|
18870
18983
|
attr_accessor :labels
|
18871
18984
|
|
18985
|
+
# Specification of a single machine.
|
18986
|
+
# Corresponds to the JSON property `machineSpec`
|
18987
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MachineSpec]
|
18988
|
+
attr_accessor :machine_spec
|
18989
|
+
|
18872
18990
|
# Output only. The resource name of the NotebookRuntime.
|
18873
18991
|
# Corresponds to the JSON property `name`
|
18874
18992
|
# @return [String]
|
18875
18993
|
attr_accessor :name
|
18876
18994
|
|
18995
|
+
# Network spec.
|
18996
|
+
# Corresponds to the JSON property `networkSpec`
|
18997
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NetworkSpec]
|
18998
|
+
attr_accessor :network_spec
|
18999
|
+
|
18877
19000
|
# Optional. The Compute Engine tags to add to runtime (see [Tagging instances](
|
18878
19001
|
# https://cloud.google.com/vpc/docs/add-remove-network-tags)).
|
18879
19002
|
# Corresponds to the JSON property `networkTags`
|
@@ -18917,11 +19040,23 @@ module Google
|
|
18917
19040
|
attr_accessor :satisfies_pzs
|
18918
19041
|
alias_method :satisfies_pzs?, :satisfies_pzs
|
18919
19042
|
|
18920
|
-
# Output only.
|
19043
|
+
# Output only. Deprecated: This field is no longer used and the "Vertex AI
|
19044
|
+
# Notebook Service Account" (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.
|
19045
|
+
# gserviceaccount.com) is used for the runtime workload identity. See https://
|
19046
|
+
# cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account
|
19047
|
+
# for more details. The service account that the NotebookRuntime workload runs
|
19048
|
+
# as.
|
18921
19049
|
# Corresponds to the JSON property `serviceAccount`
|
18922
19050
|
# @return [String]
|
18923
19051
|
attr_accessor :service_account
|
18924
19052
|
|
19053
|
+
# A set of Shielded Instance options. See [Images using supported Shielded VM
|
19054
|
+
# features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
|
19055
|
+
# vm).
|
19056
|
+
# Corresponds to the JSON property `shieldedVmConfig`
|
19057
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ShieldedVmConfig]
|
19058
|
+
attr_accessor :shielded_vm_config
|
19059
|
+
|
18925
19060
|
# Output only. Timestamp when this NotebookRuntime was most recently updated.
|
18926
19061
|
# Corresponds to the JSON property `updateTime`
|
18927
19062
|
# @return [String]
|
@@ -18939,15 +19074,19 @@ module Google
|
|
18939
19074
|
# Update properties of this object
|
18940
19075
|
def update!(**args)
|
18941
19076
|
@create_time = args[:create_time] if args.key?(:create_time)
|
19077
|
+
@data_persistent_disk_spec = args[:data_persistent_disk_spec] if args.key?(:data_persistent_disk_spec)
|
18942
19078
|
@description = args[:description] if args.key?(:description)
|
18943
19079
|
@display_name = args[:display_name] if args.key?(:display_name)
|
18944
19080
|
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
19081
|
+
@euc_config = args[:euc_config] if args.key?(:euc_config)
|
18945
19082
|
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
18946
19083
|
@health_state = args[:health_state] if args.key?(:health_state)
|
18947
19084
|
@idle_shutdown_config = args[:idle_shutdown_config] if args.key?(:idle_shutdown_config)
|
18948
19085
|
@is_upgradable = args[:is_upgradable] if args.key?(:is_upgradable)
|
18949
19086
|
@labels = args[:labels] if args.key?(:labels)
|
19087
|
+
@machine_spec = args[:machine_spec] if args.key?(:machine_spec)
|
18950
19088
|
@name = args[:name] if args.key?(:name)
|
19089
|
+
@network_spec = args[:network_spec] if args.key?(:network_spec)
|
18951
19090
|
@network_tags = args[:network_tags] if args.key?(:network_tags)
|
18952
19091
|
@notebook_runtime_template_ref = args[:notebook_runtime_template_ref] if args.key?(:notebook_runtime_template_ref)
|
18953
19092
|
@notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
|
@@ -18957,6 +19096,7 @@ module Google
|
|
18957
19096
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
18958
19097
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
18959
19098
|
@service_account = args[:service_account] if args.key?(:service_account)
|
19099
|
+
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
|
18960
19100
|
@update_time = args[:update_time] if args.key?(:update_time)
|
18961
19101
|
@version = args[:version] if args.key?(:version)
|
18962
19102
|
end
|
@@ -19012,7 +19152,8 @@ module Google
|
|
19012
19152
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookIdleShutdownConfig]
|
19013
19153
|
attr_accessor :idle_shutdown_config
|
19014
19154
|
|
19015
|
-
# Output only.
|
19155
|
+
# Output only. Deprecated: This field has no behavior. Use notebook_runtime_type
|
19156
|
+
# = 'ONE_CLICK' instead. The default template to use if not specified.
|
19016
19157
|
# Corresponds to the JSON property `isDefault`
|
19017
19158
|
# @return [Boolean]
|
19018
19159
|
attr_accessor :is_default
|
@@ -19053,7 +19194,12 @@ module Google
|
|
19053
19194
|
# @return [String]
|
19054
19195
|
attr_accessor :notebook_runtime_type
|
19055
19196
|
|
19056
|
-
#
|
19197
|
+
# Deprecated: This field is ignored and the "Vertex AI Notebook Service Account"
|
19198
|
+
# (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used
|
19199
|
+
# for the runtime workload identity. See https://cloud.google.com/iam/docs/
|
19200
|
+
# service-agents#vertex-ai-notebook-service-account for more details. For
|
19201
|
+
# NotebookExecutionJob, use NotebookExecutionJob.service_account instead. The
|
19202
|
+
# service account that the runtime workload runs as. You can use any service
|
19057
19203
|
# account within the same project, but you must have the service account user
|
19058
19204
|
# permission to use the instance. If not specified, the [Compute Engine default
|
19059
19205
|
# service account](https://cloud.google.com/compute/docs/access/service-accounts#
|
@@ -19522,7 +19668,7 @@ module Google
|
|
19522
19668
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponse]
|
19523
19669
|
attr_accessor :function_response
|
19524
19670
|
|
19525
|
-
# Content blob.
|
19671
|
+
# Content blob.
|
19526
19672
|
# Corresponds to the JSON property `inlineData`
|
19527
19673
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Blob]
|
19528
19674
|
attr_accessor :inline_data
|
@@ -20413,6 +20559,25 @@ module Google
|
|
20413
20559
|
end
|
20414
20560
|
end
|
20415
20561
|
|
20562
|
+
# The configuration for the prebuilt speaker to use.
|
20563
|
+
class GoogleCloudAiplatformV1PrebuiltVoiceConfig
|
20564
|
+
include Google::Apis::Core::Hashable
|
20565
|
+
|
20566
|
+
# The name of the preset voice to use.
|
20567
|
+
# Corresponds to the JSON property `voiceName`
|
20568
|
+
# @return [String]
|
20569
|
+
attr_accessor :voice_name
|
20570
|
+
|
20571
|
+
def initialize(**args)
|
20572
|
+
update!(**args)
|
20573
|
+
end
|
20574
|
+
|
20575
|
+
# Update properties of this object
|
20576
|
+
def update!(**args)
|
20577
|
+
@voice_name = args[:voice_name] if args.key?(:voice_name)
|
20578
|
+
end
|
20579
|
+
end
|
20580
|
+
|
20416
20581
|
# Assigns input data to training, validation, and test sets based on the value
|
20417
20582
|
# of a provided key. Supported only for tabular Datasets.
|
20418
20583
|
class GoogleCloudAiplatformV1PredefinedSplit
|
@@ -20758,6 +20923,16 @@ module Google
|
|
20758
20923
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeExecAction]
|
20759
20924
|
attr_accessor :exec
|
20760
20925
|
|
20926
|
+
# GrpcAction checks the health of a container using a gRPC service.
|
20927
|
+
# Corresponds to the JSON property `grpc`
|
20928
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeGrpcAction]
|
20929
|
+
attr_accessor :grpc
|
20930
|
+
|
20931
|
+
# HttpGetAction describes an action based on HTTP Get requests.
|
20932
|
+
# Corresponds to the JSON property `httpGet`
|
20933
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeHttpGetAction]
|
20934
|
+
attr_accessor :http_get
|
20935
|
+
|
20761
20936
|
# How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
|
20762
20937
|
# value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe
|
20763
20938
|
# argument 'periodSeconds'.
|
@@ -20765,6 +20940,12 @@ module Google
|
|
20765
20940
|
# @return [Fixnum]
|
20766
20941
|
attr_accessor :period_seconds
|
20767
20942
|
|
20943
|
+
# TcpSocketAction probes the health of a container by opening a TCP socket
|
20944
|
+
# connection.
|
20945
|
+
# Corresponds to the JSON property `tcpSocket`
|
20946
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeTcpSocketAction]
|
20947
|
+
attr_accessor :tcp_socket
|
20948
|
+
|
20768
20949
|
# Number of seconds after which the probe times out. Defaults to 1 second.
|
20769
20950
|
# Minimum value is 1. Must be greater or equal to period_seconds. Maps to
|
20770
20951
|
# Kubernetes probe argument 'timeoutSeconds'.
|
@@ -20779,7 +20960,10 @@ module Google
|
|
20779
20960
|
# Update properties of this object
|
20780
20961
|
def update!(**args)
|
20781
20962
|
@exec = args[:exec] if args.key?(:exec)
|
20963
|
+
@grpc = args[:grpc] if args.key?(:grpc)
|
20964
|
+
@http_get = args[:http_get] if args.key?(:http_get)
|
20782
20965
|
@period_seconds = args[:period_seconds] if args.key?(:period_seconds)
|
20966
|
+
@tcp_socket = args[:tcp_socket] if args.key?(:tcp_socket)
|
20783
20967
|
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
20784
20968
|
end
|
20785
20969
|
end
|
@@ -20808,6 +20992,133 @@ module Google
|
|
20808
20992
|
end
|
20809
20993
|
end
|
20810
20994
|
|
20995
|
+
# GrpcAction checks the health of a container using a gRPC service.
|
20996
|
+
class GoogleCloudAiplatformV1ProbeGrpcAction
|
20997
|
+
include Google::Apis::Core::Hashable
|
20998
|
+
|
20999
|
+
# Port number of the gRPC service. Number must be in the range 1 to 65535.
|
21000
|
+
# Corresponds to the JSON property `port`
|
21001
|
+
# @return [Fixnum]
|
21002
|
+
attr_accessor :port
|
21003
|
+
|
21004
|
+
# Service is the name of the service to place in the gRPC HealthCheckRequest (
|
21005
|
+
# see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this
|
21006
|
+
# is not specified, the default behavior is defined by gRPC.
|
21007
|
+
# Corresponds to the JSON property `service`
|
21008
|
+
# @return [String]
|
21009
|
+
attr_accessor :service
|
21010
|
+
|
21011
|
+
def initialize(**args)
|
21012
|
+
update!(**args)
|
21013
|
+
end
|
21014
|
+
|
21015
|
+
# Update properties of this object
|
21016
|
+
def update!(**args)
|
21017
|
+
@port = args[:port] if args.key?(:port)
|
21018
|
+
@service = args[:service] if args.key?(:service)
|
21019
|
+
end
|
21020
|
+
end
|
21021
|
+
|
21022
|
+
# HttpGetAction describes an action based on HTTP Get requests.
|
21023
|
+
class GoogleCloudAiplatformV1ProbeHttpGetAction
|
21024
|
+
include Google::Apis::Core::Hashable
|
21025
|
+
|
21026
|
+
# Host name to connect to, defaults to the model serving container's IP. You
|
21027
|
+
# probably want to set "Host" in httpHeaders instead.
|
21028
|
+
# Corresponds to the JSON property `host`
|
21029
|
+
# @return [String]
|
21030
|
+
attr_accessor :host
|
21031
|
+
|
21032
|
+
# Custom headers to set in the request. HTTP allows repeated headers.
|
21033
|
+
# Corresponds to the JSON property `httpHeaders`
|
21034
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeHttpHeader>]
|
21035
|
+
attr_accessor :http_headers
|
21036
|
+
|
21037
|
+
# Path to access on the HTTP server.
|
21038
|
+
# Corresponds to the JSON property `path`
|
21039
|
+
# @return [String]
|
21040
|
+
attr_accessor :path
|
21041
|
+
|
21042
|
+
# Number of the port to access on the container. Number must be in the range 1
|
21043
|
+
# to 65535.
|
21044
|
+
# Corresponds to the JSON property `port`
|
21045
|
+
# @return [Fixnum]
|
21046
|
+
attr_accessor :port
|
21047
|
+
|
21048
|
+
# Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values
|
21049
|
+
# are "HTTP" or "HTTPS".
|
21050
|
+
# Corresponds to the JSON property `scheme`
|
21051
|
+
# @return [String]
|
21052
|
+
attr_accessor :scheme
|
21053
|
+
|
21054
|
+
def initialize(**args)
|
21055
|
+
update!(**args)
|
21056
|
+
end
|
21057
|
+
|
21058
|
+
# Update properties of this object
|
21059
|
+
def update!(**args)
|
21060
|
+
@host = args[:host] if args.key?(:host)
|
21061
|
+
@http_headers = args[:http_headers] if args.key?(:http_headers)
|
21062
|
+
@path = args[:path] if args.key?(:path)
|
21063
|
+
@port = args[:port] if args.key?(:port)
|
21064
|
+
@scheme = args[:scheme] if args.key?(:scheme)
|
21065
|
+
end
|
21066
|
+
end
|
21067
|
+
|
21068
|
+
# HttpHeader describes a custom header to be used in HTTP probes
|
21069
|
+
class GoogleCloudAiplatformV1ProbeHttpHeader
|
21070
|
+
include Google::Apis::Core::Hashable
|
21071
|
+
|
21072
|
+
# The header field name. This will be canonicalized upon output, so case-variant
|
21073
|
+
# names will be understood as the same header.
|
21074
|
+
# Corresponds to the JSON property `name`
|
21075
|
+
# @return [String]
|
21076
|
+
attr_accessor :name
|
21077
|
+
|
21078
|
+
# The header field value
|
21079
|
+
# Corresponds to the JSON property `value`
|
21080
|
+
# @return [String]
|
21081
|
+
attr_accessor :value
|
21082
|
+
|
21083
|
+
def initialize(**args)
|
21084
|
+
update!(**args)
|
21085
|
+
end
|
21086
|
+
|
21087
|
+
# Update properties of this object
|
21088
|
+
def update!(**args)
|
21089
|
+
@name = args[:name] if args.key?(:name)
|
21090
|
+
@value = args[:value] if args.key?(:value)
|
21091
|
+
end
|
21092
|
+
end
|
21093
|
+
|
21094
|
+
# TcpSocketAction probes the health of a container by opening a TCP socket
|
21095
|
+
# connection.
|
21096
|
+
class GoogleCloudAiplatformV1ProbeTcpSocketAction
|
21097
|
+
include Google::Apis::Core::Hashable
|
21098
|
+
|
21099
|
+
# Optional: Host name to connect to, defaults to the model serving container's
|
21100
|
+
# IP.
|
21101
|
+
# Corresponds to the JSON property `host`
|
21102
|
+
# @return [String]
|
21103
|
+
attr_accessor :host
|
21104
|
+
|
21105
|
+
# Number of the port to access on the container. Number must be in the range 1
|
21106
|
+
# to 65535.
|
21107
|
+
# Corresponds to the JSON property `port`
|
21108
|
+
# @return [Fixnum]
|
21109
|
+
attr_accessor :port
|
21110
|
+
|
21111
|
+
def initialize(**args)
|
21112
|
+
update!(**args)
|
21113
|
+
end
|
21114
|
+
|
21115
|
+
# Update properties of this object
|
21116
|
+
def update!(**args)
|
21117
|
+
@host = args[:host] if args.key?(:host)
|
21118
|
+
@port = args[:port] if args.key?(:port)
|
21119
|
+
end
|
21120
|
+
end
|
21121
|
+
|
20811
21122
|
# PscAutomatedEndpoints defines the output of the forwarding rule automatically
|
20812
21123
|
# created by each PscAutomationConfig.
|
20813
21124
|
class GoogleCloudAiplatformV1PscAutomatedEndpoints
|
@@ -22412,6 +22723,11 @@ module Google
|
|
22412
22723
|
# @return [String]
|
22413
22724
|
attr_accessor :name
|
22414
22725
|
|
22726
|
+
# The SharePointSources to pass to ImportRagFiles.
|
22727
|
+
# Corresponds to the JSON property `sharePointSources`
|
22728
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SharePointSources]
|
22729
|
+
attr_accessor :share_point_sources
|
22730
|
+
|
22415
22731
|
# The Slack source for the ImportRagFilesRequest.
|
22416
22732
|
# Corresponds to the JSON property `slackSource`
|
22417
22733
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SlackSource]
|
@@ -22437,6 +22753,7 @@ module Google
|
|
22437
22753
|
@google_drive_source = args[:google_drive_source] if args.key?(:google_drive_source)
|
22438
22754
|
@jira_source = args[:jira_source] if args.key?(:jira_source)
|
22439
22755
|
@name = args[:name] if args.key?(:name)
|
22756
|
+
@share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
|
22440
22757
|
@slack_source = args[:slack_source] if args.key?(:slack_source)
|
22441
22758
|
@update_time = args[:update_time] if args.key?(:update_time)
|
22442
22759
|
end
|
@@ -22607,6 +22924,11 @@ module Google
|
|
22607
22924
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEmbeddingModelConfig]
|
22608
22925
|
attr_accessor :rag_embedding_model_config
|
22609
22926
|
|
22927
|
+
# The config for the default RAG-managed Vector DB.
|
22928
|
+
# Corresponds to the JSON property `ragManagedDb`
|
22929
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb]
|
22930
|
+
attr_accessor :rag_managed_db
|
22931
|
+
|
22610
22932
|
# The config for the Vertex Vector Search.
|
22611
22933
|
# Corresponds to the JSON property `vertexVectorSearch`
|
22612
22934
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch]
|
@@ -22621,6 +22943,7 @@ module Google
|
|
22621
22943
|
@api_auth = args[:api_auth] if args.key?(:api_auth)
|
22622
22944
|
@pinecone = args[:pinecone] if args.key?(:pinecone)
|
22623
22945
|
@rag_embedding_model_config = args[:rag_embedding_model_config] if args.key?(:rag_embedding_model_config)
|
22946
|
+
@rag_managed_db = args[:rag_managed_db] if args.key?(:rag_managed_db)
|
22624
22947
|
@vertex_vector_search = args[:vertex_vector_search] if args.key?(:vertex_vector_search)
|
22625
22948
|
end
|
22626
22949
|
end
|
@@ -22644,6 +22967,19 @@ module Google
|
|
22644
22967
|
end
|
22645
22968
|
end
|
22646
22969
|
|
22970
|
+
# The config for the default RAG-managed Vector DB.
|
22971
|
+
class GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb
|
22972
|
+
include Google::Apis::Core::Hashable
|
22973
|
+
|
22974
|
+
def initialize(**args)
|
22975
|
+
update!(**args)
|
22976
|
+
end
|
22977
|
+
|
22978
|
+
# Update properties of this object
|
22979
|
+
def update!(**args)
|
22980
|
+
end
|
22981
|
+
end
|
22982
|
+
|
22647
22983
|
# The config for the Vertex Vector Search.
|
22648
22984
|
class GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch
|
22649
22985
|
include Google::Apis::Core::Hashable
|
@@ -31684,6 +32020,95 @@ module Google
|
|
31684
32020
|
end
|
31685
32021
|
end
|
31686
32022
|
|
32023
|
+
# The SharePointSources to pass to ImportRagFiles.
|
32024
|
+
class GoogleCloudAiplatformV1SharePointSources
|
32025
|
+
include Google::Apis::Core::Hashable
|
32026
|
+
|
32027
|
+
# The SharePoint sources.
|
32028
|
+
# Corresponds to the JSON property `sharePointSources`
|
32029
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SharePointSourcesSharePointSource>]
|
32030
|
+
attr_accessor :share_point_sources
|
32031
|
+
|
32032
|
+
def initialize(**args)
|
32033
|
+
update!(**args)
|
32034
|
+
end
|
32035
|
+
|
32036
|
+
# Update properties of this object
|
32037
|
+
def update!(**args)
|
32038
|
+
@share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
|
32039
|
+
end
|
32040
|
+
end
|
32041
|
+
|
32042
|
+
# An individual SharePointSource.
|
32043
|
+
class GoogleCloudAiplatformV1SharePointSourcesSharePointSource
|
32044
|
+
include Google::Apis::Core::Hashable
|
32045
|
+
|
32046
|
+
# The Application ID for the app registered in Microsoft Azure Portal. The
|
32047
|
+
# application must also be configured with MS Graph permissions "Files.ReadAll",
|
32048
|
+
# "Sites.ReadAll" and BrowserSiteLists.Read.All.
|
32049
|
+
# Corresponds to the JSON property `clientId`
|
32050
|
+
# @return [String]
|
32051
|
+
attr_accessor :client_id
|
32052
|
+
|
32053
|
+
# The API secret.
|
32054
|
+
# Corresponds to the JSON property `clientSecret`
|
32055
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ApiAuthApiKeyConfig]
|
32056
|
+
attr_accessor :client_secret
|
32057
|
+
|
32058
|
+
# The ID of the drive to download from.
|
32059
|
+
# Corresponds to the JSON property `driveId`
|
32060
|
+
# @return [String]
|
32061
|
+
attr_accessor :drive_id
|
32062
|
+
|
32063
|
+
# The name of the drive to download from.
|
32064
|
+
# Corresponds to the JSON property `driveName`
|
32065
|
+
# @return [String]
|
32066
|
+
attr_accessor :drive_name
|
32067
|
+
|
32068
|
+
# Output only. The SharePoint file id. Output only.
|
32069
|
+
# Corresponds to the JSON property `fileId`
|
32070
|
+
# @return [String]
|
32071
|
+
attr_accessor :file_id
|
32072
|
+
|
32073
|
+
# The ID of the SharePoint folder to download from.
|
32074
|
+
# Corresponds to the JSON property `sharepointFolderId`
|
32075
|
+
# @return [String]
|
32076
|
+
attr_accessor :sharepoint_folder_id
|
32077
|
+
|
32078
|
+
# The path of the SharePoint folder to download from.
|
32079
|
+
# Corresponds to the JSON property `sharepointFolderPath`
|
32080
|
+
# @return [String]
|
32081
|
+
attr_accessor :sharepoint_folder_path
|
32082
|
+
|
32083
|
+
# The name of the SharePoint site to download from. This can be the site name or
|
32084
|
+
# the site id.
|
32085
|
+
# Corresponds to the JSON property `sharepointSiteName`
|
32086
|
+
# @return [String]
|
32087
|
+
attr_accessor :sharepoint_site_name
|
32088
|
+
|
32089
|
+
# Unique identifier of the Azure Active Directory Instance.
|
32090
|
+
# Corresponds to the JSON property `tenantId`
|
32091
|
+
# @return [String]
|
32092
|
+
attr_accessor :tenant_id
|
32093
|
+
|
32094
|
+
def initialize(**args)
|
32095
|
+
update!(**args)
|
32096
|
+
end
|
32097
|
+
|
32098
|
+
# Update properties of this object
|
32099
|
+
def update!(**args)
|
32100
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
32101
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
32102
|
+
@drive_id = args[:drive_id] if args.key?(:drive_id)
|
32103
|
+
@drive_name = args[:drive_name] if args.key?(:drive_name)
|
32104
|
+
@file_id = args[:file_id] if args.key?(:file_id)
|
32105
|
+
@sharepoint_folder_id = args[:sharepoint_folder_id] if args.key?(:sharepoint_folder_id)
|
32106
|
+
@sharepoint_folder_path = args[:sharepoint_folder_path] if args.key?(:sharepoint_folder_path)
|
32107
|
+
@sharepoint_site_name = args[:sharepoint_site_name] if args.key?(:sharepoint_site_name)
|
32108
|
+
@tenant_id = args[:tenant_id] if args.key?(:tenant_id)
|
32109
|
+
end
|
32110
|
+
end
|
32111
|
+
|
31687
32112
|
# A set of Shielded Instance options. See [Images using supported Shielded VM
|
31688
32113
|
# features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
|
31689
32114
|
# vm).
|
@@ -31888,6 +32313,25 @@ module Google
|
|
31888
32313
|
end
|
31889
32314
|
end
|
31890
32315
|
|
32316
|
+
# The speech generation config.
|
32317
|
+
class GoogleCloudAiplatformV1SpeechConfig
|
32318
|
+
include Google::Apis::Core::Hashable
|
32319
|
+
|
32320
|
+
# The configuration for the voice to use.
|
32321
|
+
# Corresponds to the JSON property `voiceConfig`
|
32322
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VoiceConfig]
|
32323
|
+
attr_accessor :voice_config
|
32324
|
+
|
32325
|
+
def initialize(**args)
|
32326
|
+
update!(**args)
|
32327
|
+
end
|
32328
|
+
|
32329
|
+
# Update properties of this object
|
32330
|
+
def update!(**args)
|
32331
|
+
@voice_config = args[:voice_config] if args.key?(:voice_config)
|
32332
|
+
end
|
32333
|
+
end
|
32334
|
+
|
31891
32335
|
# Metadata information for NotebookService.StartNotebookRuntime.
|
31892
32336
|
class GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata
|
31893
32337
|
include Google::Apis::Core::Hashable
|
@@ -32002,6 +32446,33 @@ module Google
|
|
32002
32446
|
end
|
32003
32447
|
end
|
32004
32448
|
|
32449
|
+
# Request message for ReasoningEngineExecutionService.StreamQuery.
|
32450
|
+
class GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest
|
32451
|
+
include Google::Apis::Core::Hashable
|
32452
|
+
|
32453
|
+
# Optional. Class method to be used for the stream query. It is optional and
|
32454
|
+
# defaults to "stream_query" if unspecified.
|
32455
|
+
# Corresponds to the JSON property `classMethod`
|
32456
|
+
# @return [String]
|
32457
|
+
attr_accessor :class_method
|
32458
|
+
|
32459
|
+
# Optional. Input content provided by users in JSON object format. Examples
|
32460
|
+
# include text query, function calling parameters, media bytes, etc.
|
32461
|
+
# Corresponds to the JSON property `input`
|
32462
|
+
# @return [Hash<String,Object>]
|
32463
|
+
attr_accessor :input
|
32464
|
+
|
32465
|
+
def initialize(**args)
|
32466
|
+
update!(**args)
|
32467
|
+
end
|
32468
|
+
|
32469
|
+
# Update properties of this object
|
32470
|
+
def update!(**args)
|
32471
|
+
@class_method = args[:class_method] if args.key?(:class_method)
|
32472
|
+
@input = args[:input] if args.key?(:input)
|
32473
|
+
end
|
32474
|
+
end
|
32475
|
+
|
32005
32476
|
# Request message for PredictionService.StreamRawPredict.
|
32006
32477
|
class GoogleCloudAiplatformV1StreamRawPredictRequest
|
32007
32478
|
include Google::Apis::Core::Hashable
|
@@ -34395,6 +34866,12 @@ module Google
|
|
34395
34866
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration>]
|
34396
34867
|
attr_accessor :function_declarations
|
34397
34868
|
|
34869
|
+
# GoogleSearch tool type. Tool to support Google Search in Model. Powered by
|
34870
|
+
# Google.
|
34871
|
+
# Corresponds to the JSON property `googleSearch`
|
34872
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolGoogleSearch]
|
34873
|
+
attr_accessor :google_search
|
34874
|
+
|
34398
34875
|
# Tool to retrieve public web data for grounding, powered by Google.
|
34399
34876
|
# Corresponds to the JSON property `googleSearchRetrieval`
|
34400
34877
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval]
|
@@ -34412,11 +34889,37 @@ module Google
|
|
34412
34889
|
# Update properties of this object
|
34413
34890
|
def update!(**args)
|
34414
34891
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
34892
|
+
@google_search = args[:google_search] if args.key?(:google_search)
|
34415
34893
|
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
34416
34894
|
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
34417
34895
|
end
|
34418
34896
|
end
|
34419
34897
|
|
34898
|
+
# Spec for tool call.
|
34899
|
+
class GoogleCloudAiplatformV1ToolCall
|
34900
|
+
include Google::Apis::Core::Hashable
|
34901
|
+
|
34902
|
+
# Optional. Spec for tool input
|
34903
|
+
# Corresponds to the JSON property `toolInput`
|
34904
|
+
# @return [String]
|
34905
|
+
attr_accessor :tool_input
|
34906
|
+
|
34907
|
+
# Required. Spec for tool name
|
34908
|
+
# Corresponds to the JSON property `toolName`
|
34909
|
+
# @return [String]
|
34910
|
+
attr_accessor :tool_name
|
34911
|
+
|
34912
|
+
def initialize(**args)
|
34913
|
+
update!(**args)
|
34914
|
+
end
|
34915
|
+
|
34916
|
+
# Update properties of this object
|
34917
|
+
def update!(**args)
|
34918
|
+
@tool_input = args[:tool_input] if args.key?(:tool_input)
|
34919
|
+
@tool_name = args[:tool_name] if args.key?(:tool_name)
|
34920
|
+
end
|
34921
|
+
end
|
34922
|
+
|
34420
34923
|
# Input for tool call valid metric.
|
34421
34924
|
class GoogleCloudAiplatformV1ToolCallValidInput
|
34422
34925
|
include Google::Apis::Core::Hashable
|
@@ -34537,6 +35040,20 @@ module Google
|
|
34537
35040
|
end
|
34538
35041
|
end
|
34539
35042
|
|
35043
|
+
# GoogleSearch tool type. Tool to support Google Search in Model. Powered by
|
35044
|
+
# Google.
|
35045
|
+
class GoogleCloudAiplatformV1ToolGoogleSearch
|
35046
|
+
include Google::Apis::Core::Hashable
|
35047
|
+
|
35048
|
+
def initialize(**args)
|
35049
|
+
update!(**args)
|
35050
|
+
end
|
35051
|
+
|
35052
|
+
# Update properties of this object
|
35053
|
+
def update!(**args)
|
35054
|
+
end
|
35055
|
+
end
|
35056
|
+
|
34540
35057
|
# Input for tool name match metric.
|
34541
35058
|
class GoogleCloudAiplatformV1ToolNameMatchInput
|
34542
35059
|
include Google::Apis::Core::Hashable
|
@@ -35016,6 +35533,645 @@ module Google
|
|
35016
35533
|
end
|
35017
35534
|
end
|
35018
35535
|
|
35536
|
+
# Spec for trajectory.
|
35537
|
+
class GoogleCloudAiplatformV1Trajectory
|
35538
|
+
include Google::Apis::Core::Hashable
|
35539
|
+
|
35540
|
+
# Required. Tool calls in the trajectory.
|
35541
|
+
# Corresponds to the JSON property `toolCalls`
|
35542
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCall>]
|
35543
|
+
attr_accessor :tool_calls
|
35544
|
+
|
35545
|
+
def initialize(**args)
|
35546
|
+
update!(**args)
|
35547
|
+
end
|
35548
|
+
|
35549
|
+
# Update properties of this object
|
35550
|
+
def update!(**args)
|
35551
|
+
@tool_calls = args[:tool_calls] if args.key?(:tool_calls)
|
35552
|
+
end
|
35553
|
+
end
|
35554
|
+
|
35555
|
+
# Instances and metric spec for TrajectoryAnyOrderMatch metric.
|
35556
|
+
class GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput
|
35557
|
+
include Google::Apis::Core::Hashable
|
35558
|
+
|
35559
|
+
# Required. Repeated TrajectoryAnyOrderMatch instance.
|
35560
|
+
# Corresponds to the JSON property `instances`
|
35561
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance>]
|
35562
|
+
attr_accessor :instances
|
35563
|
+
|
35564
|
+
# Spec for TrajectoryAnyOrderMatch metric - returns 1 if all tool calls in the
|
35565
|
+
# reference trajectory appear in the predicted trajectory in any order, else 0.
|
35566
|
+
# Corresponds to the JSON property `metricSpec`
|
35567
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec]
|
35568
|
+
attr_accessor :metric_spec
|
35569
|
+
|
35570
|
+
def initialize(**args)
|
35571
|
+
update!(**args)
|
35572
|
+
end
|
35573
|
+
|
35574
|
+
# Update properties of this object
|
35575
|
+
def update!(**args)
|
35576
|
+
@instances = args[:instances] if args.key?(:instances)
|
35577
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
35578
|
+
end
|
35579
|
+
end
|
35580
|
+
|
35581
|
+
# Spec for TrajectoryAnyOrderMatch instance.
|
35582
|
+
class GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance
|
35583
|
+
include Google::Apis::Core::Hashable
|
35584
|
+
|
35585
|
+
# Spec for trajectory.
|
35586
|
+
# Corresponds to the JSON property `predictedTrajectory`
|
35587
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory]
|
35588
|
+
attr_accessor :predicted_trajectory
|
35589
|
+
|
35590
|
+
# Spec for trajectory.
|
35591
|
+
# Corresponds to the JSON property `referenceTrajectory`
|
35592
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory]
|
35593
|
+
attr_accessor :reference_trajectory
|
35594
|
+
|
35595
|
+
def initialize(**args)
|
35596
|
+
update!(**args)
|
35597
|
+
end
|
35598
|
+
|
35599
|
+
# Update properties of this object
|
35600
|
+
def update!(**args)
|
35601
|
+
@predicted_trajectory = args[:predicted_trajectory] if args.key?(:predicted_trajectory)
|
35602
|
+
@reference_trajectory = args[:reference_trajectory] if args.key?(:reference_trajectory)
|
35603
|
+
end
|
35604
|
+
end
|
35605
|
+
|
35606
|
+
# TrajectoryAnyOrderMatch metric value for an instance.
|
35607
|
+
class GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue
|
35608
|
+
include Google::Apis::Core::Hashable
|
35609
|
+
|
35610
|
+
# Output only. TrajectoryAnyOrderMatch score.
|
35611
|
+
# Corresponds to the JSON property `score`
|
35612
|
+
# @return [Float]
|
35613
|
+
attr_accessor :score
|
35614
|
+
|
35615
|
+
def initialize(**args)
|
35616
|
+
update!(**args)
|
35617
|
+
end
|
35618
|
+
|
35619
|
+
# Update properties of this object
|
35620
|
+
def update!(**args)
|
35621
|
+
@score = args[:score] if args.key?(:score)
|
35622
|
+
end
|
35623
|
+
end
|
35624
|
+
|
35625
|
+
# Results for TrajectoryAnyOrderMatch metric.
|
35626
|
+
class GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults
|
35627
|
+
include Google::Apis::Core::Hashable
|
35628
|
+
|
35629
|
+
# Output only. TrajectoryAnyOrderMatch metric values.
|
35630
|
+
# Corresponds to the JSON property `trajectoryAnyOrderMatchMetricValues`
|
35631
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue>]
|
35632
|
+
attr_accessor :trajectory_any_order_match_metric_values
|
35633
|
+
|
35634
|
+
def initialize(**args)
|
35635
|
+
update!(**args)
|
35636
|
+
end
|
35637
|
+
|
35638
|
+
# Update properties of this object
|
35639
|
+
def update!(**args)
|
35640
|
+
@trajectory_any_order_match_metric_values = args[:trajectory_any_order_match_metric_values] if args.key?(:trajectory_any_order_match_metric_values)
|
35641
|
+
end
|
35642
|
+
end
|
35643
|
+
|
35644
|
+
# Spec for TrajectoryAnyOrderMatch metric - returns 1 if all tool calls in the
|
35645
|
+
# reference trajectory appear in the predicted trajectory in any order, else 0.
|
35646
|
+
class GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec
|
35647
|
+
include Google::Apis::Core::Hashable
|
35648
|
+
|
35649
|
+
def initialize(**args)
|
35650
|
+
update!(**args)
|
35651
|
+
end
|
35652
|
+
|
35653
|
+
# Update properties of this object
|
35654
|
+
def update!(**args)
|
35655
|
+
end
|
35656
|
+
end
|
35657
|
+
|
35658
|
+
# Instances and metric spec for TrajectoryExactMatch metric.
|
35659
|
+
class GoogleCloudAiplatformV1TrajectoryExactMatchInput
|
35660
|
+
include Google::Apis::Core::Hashable
|
35661
|
+
|
35662
|
+
# Required. Repeated TrajectoryExactMatch instance.
|
35663
|
+
# Corresponds to the JSON property `instances`
|
35664
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryExactMatchInstance>]
|
35665
|
+
attr_accessor :instances
|
35666
|
+
|
35667
|
+
# Spec for TrajectoryExactMatch metric - returns 1 if tool calls in the
|
35668
|
+
# reference trajectory exactly match the predicted trajectory, else 0.
|
35669
|
+
# Corresponds to the JSON property `metricSpec`
|
35670
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryExactMatchSpec]
|
35671
|
+
attr_accessor :metric_spec
|
35672
|
+
|
35673
|
+
def initialize(**args)
|
35674
|
+
update!(**args)
|
35675
|
+
end
|
35676
|
+
|
35677
|
+
# Update properties of this object
|
35678
|
+
def update!(**args)
|
35679
|
+
@instances = args[:instances] if args.key?(:instances)
|
35680
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
35681
|
+
end
|
35682
|
+
end
|
35683
|
+
|
35684
|
+
# Spec for TrajectoryExactMatch instance.
|
35685
|
+
class GoogleCloudAiplatformV1TrajectoryExactMatchInstance
|
35686
|
+
include Google::Apis::Core::Hashable
|
35687
|
+
|
35688
|
+
# Spec for trajectory.
|
35689
|
+
# Corresponds to the JSON property `predictedTrajectory`
|
35690
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory]
|
35691
|
+
attr_accessor :predicted_trajectory
|
35692
|
+
|
35693
|
+
# Spec for trajectory.
|
35694
|
+
# Corresponds to the JSON property `referenceTrajectory`
|
35695
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory]
|
35696
|
+
attr_accessor :reference_trajectory
|
35697
|
+
|
35698
|
+
def initialize(**args)
|
35699
|
+
update!(**args)
|
35700
|
+
end
|
35701
|
+
|
35702
|
+
# Update properties of this object
|
35703
|
+
def update!(**args)
|
35704
|
+
@predicted_trajectory = args[:predicted_trajectory] if args.key?(:predicted_trajectory)
|
35705
|
+
@reference_trajectory = args[:reference_trajectory] if args.key?(:reference_trajectory)
|
35706
|
+
end
|
35707
|
+
end
|
35708
|
+
|
35709
|
+
# TrajectoryExactMatch metric value for an instance.
|
35710
|
+
class GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue
|
35711
|
+
include Google::Apis::Core::Hashable
|
35712
|
+
|
35713
|
+
# Output only. TrajectoryExactMatch score.
|
35714
|
+
# Corresponds to the JSON property `score`
|
35715
|
+
# @return [Float]
|
35716
|
+
attr_accessor :score
|
35717
|
+
|
35718
|
+
def initialize(**args)
|
35719
|
+
update!(**args)
|
35720
|
+
end
|
35721
|
+
|
35722
|
+
# Update properties of this object
|
35723
|
+
def update!(**args)
|
35724
|
+
@score = args[:score] if args.key?(:score)
|
35725
|
+
end
|
35726
|
+
end
|
35727
|
+
|
35728
|
+
# Results for TrajectoryExactMatch metric.
|
35729
|
+
class GoogleCloudAiplatformV1TrajectoryExactMatchResults
|
35730
|
+
include Google::Apis::Core::Hashable
|
35731
|
+
|
35732
|
+
# Output only. TrajectoryExactMatch metric values.
|
35733
|
+
# Corresponds to the JSON property `trajectoryExactMatchMetricValues`
|
35734
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue>]
|
35735
|
+
attr_accessor :trajectory_exact_match_metric_values
|
35736
|
+
|
35737
|
+
def initialize(**args)
|
35738
|
+
update!(**args)
|
35739
|
+
end
|
35740
|
+
|
35741
|
+
# Update properties of this object
|
35742
|
+
def update!(**args)
|
35743
|
+
@trajectory_exact_match_metric_values = args[:trajectory_exact_match_metric_values] if args.key?(:trajectory_exact_match_metric_values)
|
35744
|
+
end
|
35745
|
+
end
|
35746
|
+
|
35747
|
+
# Spec for TrajectoryExactMatch metric - returns 1 if tool calls in the
|
35748
|
+
# reference trajectory exactly match the predicted trajectory, else 0.
|
35749
|
+
class GoogleCloudAiplatformV1TrajectoryExactMatchSpec
|
35750
|
+
include Google::Apis::Core::Hashable
|
35751
|
+
|
35752
|
+
def initialize(**args)
|
35753
|
+
update!(**args)
|
35754
|
+
end
|
35755
|
+
|
35756
|
+
# Update properties of this object
|
35757
|
+
def update!(**args)
|
35758
|
+
end
|
35759
|
+
end
|
35760
|
+
|
35761
|
+
# Instances and metric spec for TrajectoryInOrderMatch metric.
|
35762
|
+
class GoogleCloudAiplatformV1TrajectoryInOrderMatchInput
|
35763
|
+
include Google::Apis::Core::Hashable
|
35764
|
+
|
35765
|
+
# Required. Repeated TrajectoryInOrderMatch instance.
|
35766
|
+
# Corresponds to the JSON property `instances`
|
35767
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance>]
|
35768
|
+
attr_accessor :instances
|
35769
|
+
|
35770
|
+
# Spec for TrajectoryInOrderMatch metric - returns 1 if tool calls in the
|
35771
|
+
# reference trajectory appear in the predicted trajectory in the same order,
|
35772
|
+
# else 0.
|
35773
|
+
# Corresponds to the JSON property `metricSpec`
|
35774
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec]
|
35775
|
+
attr_accessor :metric_spec
|
35776
|
+
|
35777
|
+
def initialize(**args)
|
35778
|
+
update!(**args)
|
35779
|
+
end
|
35780
|
+
|
35781
|
+
# Update properties of this object
|
35782
|
+
def update!(**args)
|
35783
|
+
@instances = args[:instances] if args.key?(:instances)
|
35784
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
35785
|
+
end
|
35786
|
+
end
|
35787
|
+
|
35788
|
+
# Spec for TrajectoryInOrderMatch instance.
|
35789
|
+
class GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance
|
35790
|
+
include Google::Apis::Core::Hashable
|
35791
|
+
|
35792
|
+
# Spec for trajectory.
|
35793
|
+
# Corresponds to the JSON property `predictedTrajectory`
|
35794
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory]
|
35795
|
+
attr_accessor :predicted_trajectory
|
35796
|
+
|
35797
|
+
# Spec for trajectory.
|
35798
|
+
# Corresponds to the JSON property `referenceTrajectory`
|
35799
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory]
|
35800
|
+
attr_accessor :reference_trajectory
|
35801
|
+
|
35802
|
+
def initialize(**args)
|
35803
|
+
update!(**args)
|
35804
|
+
end
|
35805
|
+
|
35806
|
+
# Update properties of this object
|
35807
|
+
def update!(**args)
|
35808
|
+
@predicted_trajectory = args[:predicted_trajectory] if args.key?(:predicted_trajectory)
|
35809
|
+
@reference_trajectory = args[:reference_trajectory] if args.key?(:reference_trajectory)
|
35810
|
+
end
|
35811
|
+
end
|
35812
|
+
|
35813
|
+
# TrajectoryInOrderMatch metric value for an instance.
|
35814
|
+
class GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue
|
35815
|
+
include Google::Apis::Core::Hashable
|
35816
|
+
|
35817
|
+
# Output only. TrajectoryInOrderMatch score.
|
35818
|
+
# Corresponds to the JSON property `score`
|
35819
|
+
# @return [Float]
|
35820
|
+
attr_accessor :score
|
35821
|
+
|
35822
|
+
def initialize(**args)
|
35823
|
+
update!(**args)
|
35824
|
+
end
|
35825
|
+
|
35826
|
+
# Update properties of this object
|
35827
|
+
def update!(**args)
|
35828
|
+
@score = args[:score] if args.key?(:score)
|
35829
|
+
end
|
35830
|
+
end
|
35831
|
+
|
35832
|
+
# Results for TrajectoryInOrderMatch metric.
|
35833
|
+
class GoogleCloudAiplatformV1TrajectoryInOrderMatchResults
|
35834
|
+
include Google::Apis::Core::Hashable
|
35835
|
+
|
35836
|
+
# Output only. TrajectoryInOrderMatch metric values.
|
35837
|
+
# Corresponds to the JSON property `trajectoryInOrderMatchMetricValues`
|
35838
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue>]
|
35839
|
+
attr_accessor :trajectory_in_order_match_metric_values
|
35840
|
+
|
35841
|
+
def initialize(**args)
|
35842
|
+
update!(**args)
|
35843
|
+
end
|
35844
|
+
|
35845
|
+
# Update properties of this object
|
35846
|
+
def update!(**args)
|
35847
|
+
@trajectory_in_order_match_metric_values = args[:trajectory_in_order_match_metric_values] if args.key?(:trajectory_in_order_match_metric_values)
|
35848
|
+
end
|
35849
|
+
end
|
35850
|
+
|
35851
|
+
# Spec for TrajectoryInOrderMatch metric - returns 1 if tool calls in the
|
35852
|
+
# reference trajectory appear in the predicted trajectory in the same order,
|
35853
|
+
# else 0.
|
35854
|
+
class GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec
|
35855
|
+
include Google::Apis::Core::Hashable
|
35856
|
+
|
35857
|
+
def initialize(**args)
|
35858
|
+
update!(**args)
|
35859
|
+
end
|
35860
|
+
|
35861
|
+
# Update properties of this object
|
35862
|
+
def update!(**args)
|
35863
|
+
end
|
35864
|
+
end
|
35865
|
+
|
35866
|
+
# Instances and metric spec for TrajectoryPrecision metric.
|
35867
|
+
class GoogleCloudAiplatformV1TrajectoryPrecisionInput
|
35868
|
+
include Google::Apis::Core::Hashable
|
35869
|
+
|
35870
|
+
# Required. Repeated TrajectoryPrecision instance.
|
35871
|
+
# Corresponds to the JSON property `instances`
|
35872
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryPrecisionInstance>]
|
35873
|
+
attr_accessor :instances
|
35874
|
+
|
35875
|
+
# Spec for TrajectoryPrecision metric - returns a float score based on average
|
35876
|
+
# precision of individual tool calls.
|
35877
|
+
# Corresponds to the JSON property `metricSpec`
|
35878
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryPrecisionSpec]
|
35879
|
+
attr_accessor :metric_spec
|
35880
|
+
|
35881
|
+
def initialize(**args)
|
35882
|
+
update!(**args)
|
35883
|
+
end
|
35884
|
+
|
35885
|
+
# Update properties of this object
|
35886
|
+
def update!(**args)
|
35887
|
+
@instances = args[:instances] if args.key?(:instances)
|
35888
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
35889
|
+
end
|
35890
|
+
end
|
35891
|
+
|
35892
|
+
# Spec for TrajectoryPrecision instance.
|
35893
|
+
class GoogleCloudAiplatformV1TrajectoryPrecisionInstance
|
35894
|
+
include Google::Apis::Core::Hashable
|
35895
|
+
|
35896
|
+
# Spec for trajectory.
|
35897
|
+
# Corresponds to the JSON property `predictedTrajectory`
|
35898
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory]
|
35899
|
+
attr_accessor :predicted_trajectory
|
35900
|
+
|
35901
|
+
# Spec for trajectory.
|
35902
|
+
# Corresponds to the JSON property `referenceTrajectory`
|
35903
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory]
|
35904
|
+
attr_accessor :reference_trajectory
|
35905
|
+
|
35906
|
+
def initialize(**args)
|
35907
|
+
update!(**args)
|
35908
|
+
end
|
35909
|
+
|
35910
|
+
# Update properties of this object
|
35911
|
+
def update!(**args)
|
35912
|
+
@predicted_trajectory = args[:predicted_trajectory] if args.key?(:predicted_trajectory)
|
35913
|
+
@reference_trajectory = args[:reference_trajectory] if args.key?(:reference_trajectory)
|
35914
|
+
end
|
35915
|
+
end
|
35916
|
+
|
35917
|
+
# TrajectoryPrecision metric value for an instance.
|
35918
|
+
class GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue
|
35919
|
+
include Google::Apis::Core::Hashable
|
35920
|
+
|
35921
|
+
# Output only. TrajectoryPrecision score.
|
35922
|
+
# Corresponds to the JSON property `score`
|
35923
|
+
# @return [Float]
|
35924
|
+
attr_accessor :score
|
35925
|
+
|
35926
|
+
def initialize(**args)
|
35927
|
+
update!(**args)
|
35928
|
+
end
|
35929
|
+
|
35930
|
+
# Update properties of this object
|
35931
|
+
def update!(**args)
|
35932
|
+
@score = args[:score] if args.key?(:score)
|
35933
|
+
end
|
35934
|
+
end
|
35935
|
+
|
35936
|
+
# Results for TrajectoryPrecision metric.
|
35937
|
+
class GoogleCloudAiplatformV1TrajectoryPrecisionResults
|
35938
|
+
include Google::Apis::Core::Hashable
|
35939
|
+
|
35940
|
+
# Output only. TrajectoryPrecision metric values.
|
35941
|
+
# Corresponds to the JSON property `trajectoryPrecisionMetricValues`
|
35942
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue>]
|
35943
|
+
attr_accessor :trajectory_precision_metric_values
|
35944
|
+
|
35945
|
+
def initialize(**args)
|
35946
|
+
update!(**args)
|
35947
|
+
end
|
35948
|
+
|
35949
|
+
# Update properties of this object
|
35950
|
+
def update!(**args)
|
35951
|
+
@trajectory_precision_metric_values = args[:trajectory_precision_metric_values] if args.key?(:trajectory_precision_metric_values)
|
35952
|
+
end
|
35953
|
+
end
|
35954
|
+
|
35955
|
+
# Spec for TrajectoryPrecision metric - returns a float score based on average
|
35956
|
+
# precision of individual tool calls.
|
35957
|
+
class GoogleCloudAiplatformV1TrajectoryPrecisionSpec
|
35958
|
+
include Google::Apis::Core::Hashable
|
35959
|
+
|
35960
|
+
def initialize(**args)
|
35961
|
+
update!(**args)
|
35962
|
+
end
|
35963
|
+
|
35964
|
+
# Update properties of this object
|
35965
|
+
def update!(**args)
|
35966
|
+
end
|
35967
|
+
end
|
35968
|
+
|
35969
|
+
# Instances and metric spec for TrajectoryRecall metric.
|
35970
|
+
class GoogleCloudAiplatformV1TrajectoryRecallInput
|
35971
|
+
include Google::Apis::Core::Hashable
|
35972
|
+
|
35973
|
+
# Required. Repeated TrajectoryRecall instance.
|
35974
|
+
# Corresponds to the JSON property `instances`
|
35975
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryRecallInstance>]
|
35976
|
+
attr_accessor :instances
|
35977
|
+
|
35978
|
+
# Spec for TrajectoryRecall metric - returns a float score based on average
|
35979
|
+
# recall of individual tool calls.
|
35980
|
+
# Corresponds to the JSON property `metricSpec`
|
35981
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryRecallSpec]
|
35982
|
+
attr_accessor :metric_spec
|
35983
|
+
|
35984
|
+
def initialize(**args)
|
35985
|
+
update!(**args)
|
35986
|
+
end
|
35987
|
+
|
35988
|
+
# Update properties of this object
|
35989
|
+
def update!(**args)
|
35990
|
+
@instances = args[:instances] if args.key?(:instances)
|
35991
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
35992
|
+
end
|
35993
|
+
end
|
35994
|
+
|
35995
|
+
# Spec for TrajectoryRecall instance.
|
35996
|
+
class GoogleCloudAiplatformV1TrajectoryRecallInstance
|
35997
|
+
include Google::Apis::Core::Hashable
|
35998
|
+
|
35999
|
+
# Spec for trajectory.
|
36000
|
+
# Corresponds to the JSON property `predictedTrajectory`
|
36001
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory]
|
36002
|
+
attr_accessor :predicted_trajectory
|
36003
|
+
|
36004
|
+
# Spec for trajectory.
|
36005
|
+
# Corresponds to the JSON property `referenceTrajectory`
|
36006
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory]
|
36007
|
+
attr_accessor :reference_trajectory
|
36008
|
+
|
36009
|
+
def initialize(**args)
|
36010
|
+
update!(**args)
|
36011
|
+
end
|
36012
|
+
|
36013
|
+
# Update properties of this object
|
36014
|
+
def update!(**args)
|
36015
|
+
@predicted_trajectory = args[:predicted_trajectory] if args.key?(:predicted_trajectory)
|
36016
|
+
@reference_trajectory = args[:reference_trajectory] if args.key?(:reference_trajectory)
|
36017
|
+
end
|
36018
|
+
end
|
36019
|
+
|
36020
|
+
# TrajectoryRecall metric value for an instance.
|
36021
|
+
class GoogleCloudAiplatformV1TrajectoryRecallMetricValue
|
36022
|
+
include Google::Apis::Core::Hashable
|
36023
|
+
|
36024
|
+
# Output only. TrajectoryRecall score.
|
36025
|
+
# Corresponds to the JSON property `score`
|
36026
|
+
# @return [Float]
|
36027
|
+
attr_accessor :score
|
36028
|
+
|
36029
|
+
def initialize(**args)
|
36030
|
+
update!(**args)
|
36031
|
+
end
|
36032
|
+
|
36033
|
+
# Update properties of this object
|
36034
|
+
def update!(**args)
|
36035
|
+
@score = args[:score] if args.key?(:score)
|
36036
|
+
end
|
36037
|
+
end
|
36038
|
+
|
36039
|
+
# Results for TrajectoryRecall metric.
|
36040
|
+
class GoogleCloudAiplatformV1TrajectoryRecallResults
|
36041
|
+
include Google::Apis::Core::Hashable
|
36042
|
+
|
36043
|
+
# Output only. TrajectoryRecall metric values.
|
36044
|
+
# Corresponds to the JSON property `trajectoryRecallMetricValues`
|
36045
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryRecallMetricValue>]
|
36046
|
+
attr_accessor :trajectory_recall_metric_values
|
36047
|
+
|
36048
|
+
def initialize(**args)
|
36049
|
+
update!(**args)
|
36050
|
+
end
|
36051
|
+
|
36052
|
+
# Update properties of this object
|
36053
|
+
def update!(**args)
|
36054
|
+
@trajectory_recall_metric_values = args[:trajectory_recall_metric_values] if args.key?(:trajectory_recall_metric_values)
|
36055
|
+
end
|
36056
|
+
end
|
36057
|
+
|
36058
|
+
# Spec for TrajectoryRecall metric - returns a float score based on average
|
36059
|
+
# recall of individual tool calls.
|
36060
|
+
class GoogleCloudAiplatformV1TrajectoryRecallSpec
|
36061
|
+
include Google::Apis::Core::Hashable
|
36062
|
+
|
36063
|
+
def initialize(**args)
|
36064
|
+
update!(**args)
|
36065
|
+
end
|
36066
|
+
|
36067
|
+
# Update properties of this object
|
36068
|
+
def update!(**args)
|
36069
|
+
end
|
36070
|
+
end
|
36071
|
+
|
36072
|
+
# Instances and metric spec for TrajectorySingleToolUse metric.
|
36073
|
+
class GoogleCloudAiplatformV1TrajectorySingleToolUseInput
|
36074
|
+
include Google::Apis::Core::Hashable
|
36075
|
+
|
36076
|
+
# Required. Repeated TrajectorySingleToolUse instance.
|
36077
|
+
# Corresponds to the JSON property `instances`
|
36078
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectorySingleToolUseInstance>]
|
36079
|
+
attr_accessor :instances
|
36080
|
+
|
36081
|
+
# Spec for TrajectorySingleToolUse metric - returns 1 if tool is present in the
|
36082
|
+
# predicted trajectory, else 0.
|
36083
|
+
# Corresponds to the JSON property `metricSpec`
|
36084
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectorySingleToolUseSpec]
|
36085
|
+
attr_accessor :metric_spec
|
36086
|
+
|
36087
|
+
def initialize(**args)
|
36088
|
+
update!(**args)
|
36089
|
+
end
|
36090
|
+
|
36091
|
+
# Update properties of this object
|
36092
|
+
def update!(**args)
|
36093
|
+
@instances = args[:instances] if args.key?(:instances)
|
36094
|
+
@metric_spec = args[:metric_spec] if args.key?(:metric_spec)
|
36095
|
+
end
|
36096
|
+
end
|
36097
|
+
|
36098
|
+
# Spec for TrajectorySingleToolUse instance.
|
36099
|
+
class GoogleCloudAiplatformV1TrajectorySingleToolUseInstance
|
36100
|
+
include Google::Apis::Core::Hashable
|
36101
|
+
|
36102
|
+
# Spec for trajectory.
|
36103
|
+
# Corresponds to the JSON property `predictedTrajectory`
|
36104
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Trajectory]
|
36105
|
+
attr_accessor :predicted_trajectory
|
36106
|
+
|
36107
|
+
def initialize(**args)
|
36108
|
+
update!(**args)
|
36109
|
+
end
|
36110
|
+
|
36111
|
+
# Update properties of this object
|
36112
|
+
def update!(**args)
|
36113
|
+
@predicted_trajectory = args[:predicted_trajectory] if args.key?(:predicted_trajectory)
|
36114
|
+
end
|
36115
|
+
end
|
36116
|
+
|
36117
|
+
# TrajectorySingleToolUse metric value for an instance.
|
36118
|
+
class GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue
|
36119
|
+
include Google::Apis::Core::Hashable
|
36120
|
+
|
36121
|
+
# Output only. TrajectorySingleToolUse score.
|
36122
|
+
# Corresponds to the JSON property `score`
|
36123
|
+
# @return [Float]
|
36124
|
+
attr_accessor :score
|
36125
|
+
|
36126
|
+
def initialize(**args)
|
36127
|
+
update!(**args)
|
36128
|
+
end
|
36129
|
+
|
36130
|
+
# Update properties of this object
|
36131
|
+
def update!(**args)
|
36132
|
+
@score = args[:score] if args.key?(:score)
|
36133
|
+
end
|
36134
|
+
end
|
36135
|
+
|
36136
|
+
# Results for TrajectorySingleToolUse metric.
|
36137
|
+
class GoogleCloudAiplatformV1TrajectorySingleToolUseResults
|
36138
|
+
include Google::Apis::Core::Hashable
|
36139
|
+
|
36140
|
+
# Output only. TrajectorySingleToolUse metric values.
|
36141
|
+
# Corresponds to the JSON property `trajectorySingleToolUseMetricValues`
|
36142
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue>]
|
36143
|
+
attr_accessor :trajectory_single_tool_use_metric_values
|
36144
|
+
|
36145
|
+
def initialize(**args)
|
36146
|
+
update!(**args)
|
36147
|
+
end
|
36148
|
+
|
36149
|
+
# Update properties of this object
|
36150
|
+
def update!(**args)
|
36151
|
+
@trajectory_single_tool_use_metric_values = args[:trajectory_single_tool_use_metric_values] if args.key?(:trajectory_single_tool_use_metric_values)
|
36152
|
+
end
|
36153
|
+
end
|
36154
|
+
|
36155
|
+
# Spec for TrajectorySingleToolUse metric - returns 1 if tool is present in the
|
36156
|
+
# predicted trajectory, else 0.
|
36157
|
+
class GoogleCloudAiplatformV1TrajectorySingleToolUseSpec
|
36158
|
+
include Google::Apis::Core::Hashable
|
36159
|
+
|
36160
|
+
# Required. Spec for tool name to be checked for in the predicted trajectory.
|
36161
|
+
# Corresponds to the JSON property `toolName`
|
36162
|
+
# @return [String]
|
36163
|
+
attr_accessor :tool_name
|
36164
|
+
|
36165
|
+
def initialize(**args)
|
36166
|
+
update!(**args)
|
36167
|
+
end
|
36168
|
+
|
36169
|
+
# Update properties of this object
|
36170
|
+
def update!(**args)
|
36171
|
+
@tool_name = args[:tool_name] if args.key?(:tool_name)
|
36172
|
+
end
|
36173
|
+
end
|
36174
|
+
|
35019
36175
|
# A message representing a Trial. A Trial contains a unique set of Parameters
|
35020
36176
|
# that has been or will be evaluated, along with the objective metrics got by
|
35021
36177
|
# running the Trial.
|
@@ -36277,6 +37433,25 @@ module Google
|
|
36277
37433
|
end
|
36278
37434
|
end
|
36279
37435
|
|
37436
|
+
# The configuration for the voice to use.
|
37437
|
+
class GoogleCloudAiplatformV1VoiceConfig
|
37438
|
+
include Google::Apis::Core::Hashable
|
37439
|
+
|
37440
|
+
# The configuration for the prebuilt speaker to use.
|
37441
|
+
# Corresponds to the JSON property `prebuiltVoiceConfig`
|
37442
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrebuiltVoiceConfig]
|
37443
|
+
attr_accessor :prebuilt_voice_config
|
37444
|
+
|
37445
|
+
def initialize(**args)
|
37446
|
+
update!(**args)
|
37447
|
+
end
|
37448
|
+
|
37449
|
+
# Update properties of this object
|
37450
|
+
def update!(**args)
|
37451
|
+
@prebuilt_voice_config = args[:prebuilt_voice_config] if args.key?(:prebuilt_voice_config)
|
37452
|
+
end
|
37453
|
+
end
|
37454
|
+
|
36280
37455
|
# Represents the spec of a worker pool in a job.
|
36281
37456
|
class GoogleCloudAiplatformV1WorkerPoolSpec
|
36282
37457
|
include Google::Apis::Core::Hashable
|