google-apis-aiplatform_v1beta1 0.42.0 → 0.43.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 +353 -22
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +171 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +469 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98fa39c0f2a0af4c5aba98f7cfcc357e5959bf3deaba68052deb6f7fc700e314
|
4
|
+
data.tar.gz: 140f4f9f0a2dbc8eb8d72bd445c2629f36c11a09d5f5a72475d60a7ed01d20da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0985b79693d21ae527a96f6c05c0be204651a470d8ff3c6bf964dac3ef2fc1e3f7ced5537978d8faf1c3a171eb679927e92a983f9a21f7e4aefb08a26e84856d'
|
7
|
+
data.tar.gz: a270f10c812e1dd41b800f6e83ef5f72e7d8c1e7e8dc19865d66741af08d2c5ee6e2c599fa5f609e528e95017e5df80dcc5bec5d9051eee5fe24f89e7b6c3c15
|
data/CHANGELOG.md
CHANGED
@@ -1752,12 +1752,12 @@ module Google
|
|
1752
1752
|
# @return [String]
|
1753
1753
|
attr_accessor :autorater_model
|
1754
1754
|
|
1755
|
-
# Optional. Whether to flip the candidate and baseline
|
1756
|
-
# applicable to the pairwise metric. If enabled, also
|
1757
|
-
# candidate_response_field_name and
|
1758
|
-
# baseline_response_field_name. When rendering
|
1759
|
-
# metric_prompt_template, the candidate and baseline fields
|
1760
|
-
# half of the samples to reduce bias.
|
1755
|
+
# Optional. Default is true. Whether to flip the candidate and baseline
|
1756
|
+
# responses. This is only applicable to the pairwise metric. If enabled, also
|
1757
|
+
# provide PairwiseMetricSpec.candidate_response_field_name and
|
1758
|
+
# PairwiseMetricSpec.baseline_response_field_name. When rendering
|
1759
|
+
# PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields
|
1760
|
+
# will be flipped for half of the samples to reduce bias.
|
1761
1761
|
# Corresponds to the JSON property `flipEnabled`
|
1762
1762
|
# @return [Boolean]
|
1763
1763
|
attr_accessor :flip_enabled
|
@@ -7663,7 +7663,9 @@ module Google
|
|
7663
7663
|
class GoogleCloudAiplatformV1beta1DistillationSpec
|
7664
7664
|
include Google::Apis::Core::Hashable
|
7665
7665
|
|
7666
|
-
# The base teacher model that is being distilled
|
7666
|
+
# The base teacher model that is being distilled. See [Supported models](https://
|
7667
|
+
# cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#
|
7668
|
+
# supported_models).
|
7667
7669
|
# Corresponds to the JSON property `baseTeacherModel`
|
7668
7670
|
# @return [String]
|
7669
7671
|
attr_accessor :base_teacher_model
|
@@ -8866,6 +8868,11 @@ module Google
|
|
8866
8868
|
attr_accessor :state_delta
|
8867
8869
|
|
8868
8870
|
# Optional. If set, the event transfers to the specified agent.
|
8871
|
+
# Corresponds to the JSON property `transferAgent`
|
8872
|
+
# @return [String]
|
8873
|
+
attr_accessor :transfer_agent
|
8874
|
+
|
8875
|
+
# Deprecated. If set, the event transfers to the specified agent.
|
8869
8876
|
# Corresponds to the JSON property `transferToAgent`
|
8870
8877
|
# @return [Boolean]
|
8871
8878
|
attr_accessor :transfer_to_agent
|
@@ -8882,6 +8889,7 @@ module Google
|
|
8882
8889
|
@requested_auth_configs = args[:requested_auth_configs] if args.key?(:requested_auth_configs)
|
8883
8890
|
@skip_summarization = args[:skip_summarization] if args.key?(:skip_summarization)
|
8884
8891
|
@state_delta = args[:state_delta] if args.key?(:state_delta)
|
8892
|
+
@transfer_agent = args[:transfer_agent] if args.key?(:transfer_agent)
|
8885
8893
|
@transfer_to_agent = args[:transfer_to_agent] if args.key?(:transfer_to_agent)
|
8886
8894
|
end
|
8887
8895
|
end
|
@@ -9143,8 +9151,7 @@ module Google
|
|
9143
9151
|
include Google::Apis::Core::Hashable
|
9144
9152
|
|
9145
9153
|
# Required. The embedding model to be used for vector embedding. Immutable.
|
9146
|
-
# Supported models: * "
|
9147
|
-
# embedding-005" * "text-multilingual-embedding-002"
|
9154
|
+
# Supported models: * "text-embedding-005" * "text-multilingual-embedding-002"
|
9148
9155
|
# Corresponds to the JSON property `vertexEmbeddingModel`
|
9149
9156
|
# @return [String]
|
9150
9157
|
attr_accessor :vertex_embedding_model
|
@@ -10910,6 +10917,12 @@ module Google
|
|
10910
10917
|
class GoogleCloudAiplatformV1beta1Fact
|
10911
10918
|
include Google::Apis::Core::Hashable
|
10912
10919
|
|
10920
|
+
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
10921
|
+
# metadata.
|
10922
|
+
# Corresponds to the JSON property `chunk`
|
10923
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagChunk]
|
10924
|
+
attr_accessor :chunk
|
10925
|
+
|
10913
10926
|
# Query that is used to retrieve this fact.
|
10914
10927
|
# Corresponds to the JSON property `query`
|
10915
10928
|
# @return [String]
|
@@ -10952,6 +10965,7 @@ module Google
|
|
10952
10965
|
|
10953
10966
|
# Update properties of this object
|
10954
10967
|
def update!(**args)
|
10968
|
+
@chunk = args[:chunk] if args.key?(:chunk)
|
10955
10969
|
@query = args[:query] if args.key?(:query)
|
10956
10970
|
@score = args[:score] if args.key?(:score)
|
10957
10971
|
@summary = args[:summary] if args.key?(:summary)
|
@@ -13293,7 +13307,7 @@ module Google
|
|
13293
13307
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Example>]
|
13294
13308
|
attr_accessor :examples
|
13295
13309
|
|
13296
|
-
# A token, which can be sent as
|
13310
|
+
# A token, which can be sent as FetchExamplesRequest.page_token to retrieve the
|
13297
13311
|
# next page. Absence of this field indicates there are no subsequent pages.
|
13298
13312
|
# Corresponds to the JSON property `nextPageToken`
|
13299
13313
|
# @return [String]
|
@@ -13987,8 +14001,8 @@ module Google
|
|
13987
14001
|
class GoogleCloudAiplatformV1beta1FunctionCall
|
13988
14002
|
include Google::Apis::Core::Hashable
|
13989
14003
|
|
13990
|
-
# Optional.
|
13991
|
-
#
|
14004
|
+
# Optional. The function parameters and values in JSON object format. See [
|
14005
|
+
# FunctionDeclaration.parameters] for parameter details.
|
13992
14006
|
# Corresponds to the JSON property `args`
|
13993
14007
|
# @return [Hash<String,Object>]
|
13994
14008
|
attr_accessor :args
|
@@ -14157,7 +14171,7 @@ module Google
|
|
14157
14171
|
|
14158
14172
|
# Required. Google Cloud Storage URI(-s) to the input file(s). May contain
|
14159
14173
|
# wildcards. For more information on wildcards, see https://cloud.google.com/
|
14160
|
-
# storage/docs/
|
14174
|
+
# storage/docs/wildcards.
|
14161
14175
|
# Corresponds to the JSON property `uris`
|
14162
14176
|
# @return [Array<String>]
|
14163
14177
|
attr_accessor :uris
|
@@ -14733,6 +14747,11 @@ module Google
|
|
14733
14747
|
# @return [String]
|
14734
14748
|
attr_accessor :media_resolution
|
14735
14749
|
|
14750
|
+
# Config for model selection.
|
14751
|
+
# Corresponds to the JSON property `modelConfig`
|
14752
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig]
|
14753
|
+
attr_accessor :model_config
|
14754
|
+
|
14736
14755
|
# Optional. Positive penalties.
|
14737
14756
|
# Corresponds to the JSON property `presencePenalty`
|
14738
14757
|
# @return [Float]
|
@@ -14790,6 +14809,11 @@ module Google
|
|
14790
14809
|
# @return [Float]
|
14791
14810
|
attr_accessor :temperature
|
14792
14811
|
|
14812
|
+
# Config for thinking features.
|
14813
|
+
# Corresponds to the JSON property `thinkingConfig`
|
14814
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig]
|
14815
|
+
attr_accessor :thinking_config
|
14816
|
+
|
14793
14817
|
# Optional. If specified, top-k sampling will be used.
|
14794
14818
|
# Corresponds to the JSON property `topK`
|
14795
14819
|
# @return [Float]
|
@@ -14812,6 +14836,7 @@ module Google
|
|
14812
14836
|
@logprobs = args[:logprobs] if args.key?(:logprobs)
|
14813
14837
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
14814
14838
|
@media_resolution = args[:media_resolution] if args.key?(:media_resolution)
|
14839
|
+
@model_config = args[:model_config] if args.key?(:model_config)
|
14815
14840
|
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
14816
14841
|
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
|
14817
14842
|
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
|
@@ -14822,11 +14847,31 @@ module Google
|
|
14822
14847
|
@speech_config = args[:speech_config] if args.key?(:speech_config)
|
14823
14848
|
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
14824
14849
|
@temperature = args[:temperature] if args.key?(:temperature)
|
14850
|
+
@thinking_config = args[:thinking_config] if args.key?(:thinking_config)
|
14825
14851
|
@top_k = args[:top_k] if args.key?(:top_k)
|
14826
14852
|
@top_p = args[:top_p] if args.key?(:top_p)
|
14827
14853
|
end
|
14828
14854
|
end
|
14829
14855
|
|
14856
|
+
# Config for model selection.
|
14857
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigModelConfig
|
14858
|
+
include Google::Apis::Core::Hashable
|
14859
|
+
|
14860
|
+
# Required. Feature selection preference.
|
14861
|
+
# Corresponds to the JSON property `featureSelectionPreference`
|
14862
|
+
# @return [String]
|
14863
|
+
attr_accessor :feature_selection_preference
|
14864
|
+
|
14865
|
+
def initialize(**args)
|
14866
|
+
update!(**args)
|
14867
|
+
end
|
14868
|
+
|
14869
|
+
# Update properties of this object
|
14870
|
+
def update!(**args)
|
14871
|
+
@feature_selection_preference = args[:feature_selection_preference] if args.key?(:feature_selection_preference)
|
14872
|
+
end
|
14873
|
+
end
|
14874
|
+
|
14830
14875
|
# The configuration for routing the request to a specific model.
|
14831
14876
|
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig
|
14832
14877
|
include Google::Apis::Core::Hashable
|
@@ -14877,8 +14922,9 @@ module Google
|
|
14877
14922
|
class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode
|
14878
14923
|
include Google::Apis::Core::Hashable
|
14879
14924
|
|
14880
|
-
# The model name to use. Only the public LLM models are accepted.
|
14881
|
-
#
|
14925
|
+
# The model name to use. Only the public LLM models are accepted. See [Supported
|
14926
|
+
# models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/
|
14927
|
+
# inference#supported-models).
|
14882
14928
|
# Corresponds to the JSON property `modelName`
|
14883
14929
|
# @return [String]
|
14884
14930
|
attr_accessor :model_name
|
@@ -14893,6 +14939,26 @@ module Google
|
|
14893
14939
|
end
|
14894
14940
|
end
|
14895
14941
|
|
14942
|
+
# Config for thinking features.
|
14943
|
+
class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig
|
14944
|
+
include Google::Apis::Core::Hashable
|
14945
|
+
|
14946
|
+
# Optional. Indicates the thinking budget in tokens. This is only applied when
|
14947
|
+
# enable_thinking is true.
|
14948
|
+
# Corresponds to the JSON property `thinkingBudget`
|
14949
|
+
# @return [Fixnum]
|
14950
|
+
attr_accessor :thinking_budget
|
14951
|
+
|
14952
|
+
def initialize(**args)
|
14953
|
+
update!(**args)
|
14954
|
+
end
|
14955
|
+
|
14956
|
+
# Update properties of this object
|
14957
|
+
def update!(**args)
|
14958
|
+
@thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
|
14959
|
+
end
|
14960
|
+
end
|
14961
|
+
|
14896
14962
|
# Generic Metadata shared by all operations.
|
14897
14963
|
class GoogleCloudAiplatformV1beta1GenericOperationMetadata
|
14898
14964
|
include Google::Apis::Core::Hashable
|
@@ -15140,6 +15206,12 @@ module Google
|
|
15140
15206
|
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
15141
15207
|
include Google::Apis::Core::Hashable
|
15142
15208
|
|
15209
|
+
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
15210
|
+
# metadata.
|
15211
|
+
# Corresponds to the JSON property `ragChunk`
|
15212
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagChunk]
|
15213
|
+
attr_accessor :rag_chunk
|
15214
|
+
|
15143
15215
|
# Text of the attribution.
|
15144
15216
|
# Corresponds to the JSON property `text`
|
15145
15217
|
# @return [String]
|
@@ -15161,6 +15233,7 @@ module Google
|
|
15161
15233
|
|
15162
15234
|
# Update properties of this object
|
15163
15235
|
def update!(**args)
|
15236
|
+
@rag_chunk = args[:rag_chunk] if args.key?(:rag_chunk)
|
15164
15237
|
@text = args[:text] if args.key?(:text)
|
15165
15238
|
@title = args[:title] if args.key?(:title)
|
15166
15239
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -21244,8 +21317,7 @@ module Google
|
|
21244
21317
|
attr_accessor :format
|
21245
21318
|
|
21246
21319
|
# Google Cloud Storage URI to the input file(s). May contain wildcards. For more
|
21247
|
-
# information on wildcards, see https://cloud.google.com/storage/docs/
|
21248
|
-
# addlhelp/WildcardNames.
|
21320
|
+
# information on wildcards, see https://cloud.google.com/storage/docs/wildcards.
|
21249
21321
|
# Corresponds to the JSON property `gcsUri`
|
21250
21322
|
# @return [String]
|
21251
21323
|
attr_accessor :gcs_uri
|
@@ -23732,6 +23804,42 @@ module Google
|
|
23732
23804
|
end
|
23733
23805
|
end
|
23734
23806
|
|
23807
|
+
# Notebook Reservation Affinity for consuming Zonal reservation.
|
23808
|
+
class GoogleCloudAiplatformV1beta1NotebookReservationAffinity
|
23809
|
+
include Google::Apis::Core::Hashable
|
23810
|
+
|
23811
|
+
# Required. Specifies the type of reservation from which this instance can
|
23812
|
+
# consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or
|
23813
|
+
# RESERVATION_NONE. See Consuming reserved instances for examples.
|
23814
|
+
# Corresponds to the JSON property `consumeReservationType`
|
23815
|
+
# @return [String]
|
23816
|
+
attr_accessor :consume_reservation_type
|
23817
|
+
|
23818
|
+
# Optional. Corresponds to the label key of a reservation resource. To target a
|
23819
|
+
# RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as
|
23820
|
+
# the key and specify the name of your reservation as its value.
|
23821
|
+
# Corresponds to the JSON property `key`
|
23822
|
+
# @return [String]
|
23823
|
+
attr_accessor :key
|
23824
|
+
|
23825
|
+
# Optional. Corresponds to the label values of a reservation resource. This must
|
23826
|
+
# be the full path name of Reservation.
|
23827
|
+
# Corresponds to the JSON property `values`
|
23828
|
+
# @return [Array<String>]
|
23829
|
+
attr_accessor :values
|
23830
|
+
|
23831
|
+
def initialize(**args)
|
23832
|
+
update!(**args)
|
23833
|
+
end
|
23834
|
+
|
23835
|
+
# Update properties of this object
|
23836
|
+
def update!(**args)
|
23837
|
+
@consume_reservation_type = args[:consume_reservation_type] if args.key?(:consume_reservation_type)
|
23838
|
+
@key = args[:key] if args.key?(:key)
|
23839
|
+
@values = args[:values] if args.key?(:values)
|
23840
|
+
end
|
23841
|
+
end
|
23842
|
+
|
23735
23843
|
# A runtime is a virtual machine allocated to a particular user for a particular
|
23736
23844
|
# Notebook file on temporary basis with lifetime limited to 24 hours.
|
23737
23845
|
class GoogleCloudAiplatformV1beta1NotebookRuntime
|
@@ -23848,6 +23956,11 @@ module Google
|
|
23848
23956
|
# @return [String]
|
23849
23957
|
attr_accessor :proxy_uri
|
23850
23958
|
|
23959
|
+
# Notebook Reservation Affinity for consuming Zonal reservation.
|
23960
|
+
# Corresponds to the JSON property `reservationAffinity`
|
23961
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookReservationAffinity]
|
23962
|
+
attr_accessor :reservation_affinity
|
23963
|
+
|
23851
23964
|
# Output only. The runtime (instance) state of the NotebookRuntime.
|
23852
23965
|
# Corresponds to the JSON property `runtimeState`
|
23853
23966
|
# @return [String]
|
@@ -23926,6 +24039,7 @@ module Google
|
|
23926
24039
|
@notebook_runtime_template_ref = args[:notebook_runtime_template_ref] if args.key?(:notebook_runtime_template_ref)
|
23927
24040
|
@notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
|
23928
24041
|
@proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
|
24042
|
+
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
23929
24043
|
@runtime_state = args[:runtime_state] if args.key?(:runtime_state)
|
23930
24044
|
@runtime_user = args[:runtime_user] if args.key?(:runtime_user)
|
23931
24045
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
@@ -24030,6 +24144,11 @@ module Google
|
|
24030
24144
|
# @return [String]
|
24031
24145
|
attr_accessor :notebook_runtime_type
|
24032
24146
|
|
24147
|
+
# Notebook Reservation Affinity for consuming Zonal reservation.
|
24148
|
+
# Corresponds to the JSON property `reservationAffinity`
|
24149
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookReservationAffinity]
|
24150
|
+
attr_accessor :reservation_affinity
|
24151
|
+
|
24033
24152
|
# Deprecated: This field is ignored and the "Vertex AI Notebook Service Account"
|
24034
24153
|
# (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used
|
24035
24154
|
# for the runtime workload identity. See https://cloud.google.com/iam/docs/
|
@@ -24083,6 +24202,7 @@ module Google
|
|
24083
24202
|
@network_spec = args[:network_spec] if args.key?(:network_spec)
|
24084
24203
|
@network_tags = args[:network_tags] if args.key?(:network_tags)
|
24085
24204
|
@notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
|
24205
|
+
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
24086
24206
|
@service_account = args[:service_account] if args.key?(:service_account)
|
24087
24207
|
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
|
24088
24208
|
@software_config = args[:software_config] if args.key?(:software_config)
|
@@ -25939,12 +26059,27 @@ module Google
|
|
25939
26059
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQueryDestination]
|
25940
26060
|
attr_accessor :bigquery_destination
|
25941
26061
|
|
26062
|
+
# This field is used for large models. If true, in addition to the original
|
26063
|
+
# large model logs, logs will be converted in OTel schema format, and saved in
|
26064
|
+
# otel_log column. Default value is false.
|
26065
|
+
# Corresponds to the JSON property `enableOtelLogging`
|
26066
|
+
# @return [Boolean]
|
26067
|
+
attr_accessor :enable_otel_logging
|
26068
|
+
alias_method :enable_otel_logging?, :enable_otel_logging
|
26069
|
+
|
25942
26070
|
# If logging is enabled or not.
|
25943
26071
|
# Corresponds to the JSON property `enabled`
|
25944
26072
|
# @return [Boolean]
|
25945
26073
|
attr_accessor :enabled
|
25946
26074
|
alias_method :enabled?, :enabled
|
25947
26075
|
|
26076
|
+
# Output only. The schema version used in creating the BigQuery table for the
|
26077
|
+
# request response logging. The versions are "v1" and "v2". The current default
|
26078
|
+
# version is "v1".
|
26079
|
+
# Corresponds to the JSON property `requestResponseLoggingSchemaVersion`
|
26080
|
+
# @return [String]
|
26081
|
+
attr_accessor :request_response_logging_schema_version
|
26082
|
+
|
25948
26083
|
# Percentage of requests to be logged, expressed as a fraction in range(0,1].
|
25949
26084
|
# Corresponds to the JSON property `samplingRate`
|
25950
26085
|
# @return [Float]
|
@@ -25957,7 +26092,9 @@ module Google
|
|
25957
26092
|
# Update properties of this object
|
25958
26093
|
def update!(**args)
|
25959
26094
|
@bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
|
26095
|
+
@enable_otel_logging = args[:enable_otel_logging] if args.key?(:enable_otel_logging)
|
25960
26096
|
@enabled = args[:enabled] if args.key?(:enabled)
|
26097
|
+
@request_response_logging_schema_version = args[:request_response_logging_schema_version] if args.key?(:request_response_logging_schema_version)
|
25961
26098
|
@sampling_rate = args[:sampling_rate] if args.key?(:sampling_rate)
|
25962
26099
|
end
|
25963
26100
|
end
|
@@ -26297,8 +26434,8 @@ module Google
|
|
26297
26434
|
# @return [Fixnum]
|
26298
26435
|
attr_accessor :port
|
26299
26436
|
|
26300
|
-
# Service is the name of the service to place in the gRPC HealthCheckRequest
|
26301
|
-
#
|
26437
|
+
# Service is the name of the service to place in the gRPC HealthCheckRequest.
|
26438
|
+
# See https://github.com/grpc/grpc/blob/master/doc/health-checking.md. If this
|
26302
26439
|
# is not specified, the default behavior is defined by gRPC.
|
26303
26440
|
# Corresponds to the JSON property `service`
|
26304
26441
|
# @return [String]
|
@@ -26914,6 +27051,25 @@ module Google
|
|
26914
27051
|
end
|
26915
27052
|
end
|
26916
27053
|
|
27054
|
+
# This message contains configs of a publisher model.
|
27055
|
+
class GoogleCloudAiplatformV1beta1PublisherModelConfig
|
27056
|
+
include Google::Apis::Core::Hashable
|
27057
|
+
|
27058
|
+
# Configuration for logging request-response to a BigQuery table.
|
27059
|
+
# Corresponds to the JSON property `loggingConfig`
|
27060
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig]
|
27061
|
+
attr_accessor :logging_config
|
27062
|
+
|
27063
|
+
def initialize(**args)
|
27064
|
+
update!(**args)
|
27065
|
+
end
|
27066
|
+
|
27067
|
+
# Update properties of this object
|
27068
|
+
def update!(**args)
|
27069
|
+
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
27070
|
+
end
|
27071
|
+
end
|
27072
|
+
|
26917
27073
|
# A named piece of documentation.
|
26918
27074
|
class GoogleCloudAiplatformV1beta1PublisherModelDocumentation
|
26919
27075
|
include Google::Apis::Core::Hashable
|
@@ -27930,6 +28086,57 @@ module Google
|
|
27930
28086
|
end
|
27931
28087
|
end
|
27932
28088
|
|
28089
|
+
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
28090
|
+
# metadata.
|
28091
|
+
class GoogleCloudAiplatformV1beta1RagChunk
|
28092
|
+
include Google::Apis::Core::Hashable
|
28093
|
+
|
28094
|
+
# Represents where the chunk starts and ends in the document.
|
28095
|
+
# Corresponds to the JSON property `pageSpan`
|
28096
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagChunkPageSpan]
|
28097
|
+
attr_accessor :page_span
|
28098
|
+
|
28099
|
+
# The content of the chunk.
|
28100
|
+
# Corresponds to the JSON property `text`
|
28101
|
+
# @return [String]
|
28102
|
+
attr_accessor :text
|
28103
|
+
|
28104
|
+
def initialize(**args)
|
28105
|
+
update!(**args)
|
28106
|
+
end
|
28107
|
+
|
28108
|
+
# Update properties of this object
|
28109
|
+
def update!(**args)
|
28110
|
+
@page_span = args[:page_span] if args.key?(:page_span)
|
28111
|
+
@text = args[:text] if args.key?(:text)
|
28112
|
+
end
|
28113
|
+
end
|
28114
|
+
|
28115
|
+
# Represents where the chunk starts and ends in the document.
|
28116
|
+
class GoogleCloudAiplatformV1beta1RagChunkPageSpan
|
28117
|
+
include Google::Apis::Core::Hashable
|
28118
|
+
|
28119
|
+
# Page where chunk starts in the document. Inclusive. 1-indexed.
|
28120
|
+
# Corresponds to the JSON property `firstPage`
|
28121
|
+
# @return [Fixnum]
|
28122
|
+
attr_accessor :first_page
|
28123
|
+
|
28124
|
+
# Page where chunk ends in the document. Inclusive. 1-indexed.
|
28125
|
+
# Corresponds to the JSON property `lastPage`
|
28126
|
+
# @return [Fixnum]
|
28127
|
+
attr_accessor :last_page
|
28128
|
+
|
28129
|
+
def initialize(**args)
|
28130
|
+
update!(**args)
|
28131
|
+
end
|
28132
|
+
|
28133
|
+
# Update properties of this object
|
28134
|
+
def update!(**args)
|
28135
|
+
@first_page = args[:first_page] if args.key?(:first_page)
|
28136
|
+
@last_page = args[:last_page] if args.key?(:last_page)
|
28137
|
+
end
|
28138
|
+
end
|
28139
|
+
|
27933
28140
|
# Relevant contexts for one query.
|
27934
28141
|
class GoogleCloudAiplatformV1beta1RagContexts
|
27935
28142
|
include Google::Apis::Core::Hashable
|
@@ -27953,6 +28160,12 @@ module Google
|
|
27953
28160
|
class GoogleCloudAiplatformV1beta1RagContextsContext
|
27954
28161
|
include Google::Apis::Core::Hashable
|
27955
28162
|
|
28163
|
+
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
28164
|
+
# metadata.
|
28165
|
+
# Corresponds to the JSON property `chunk`
|
28166
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagChunk]
|
28167
|
+
attr_accessor :chunk
|
28168
|
+
|
27956
28169
|
# The distance between the query dense embedding vector and the context text
|
27957
28170
|
# vector.
|
27958
28171
|
# Corresponds to the JSON property `distance`
|
@@ -27999,6 +28212,7 @@ module Google
|
|
27999
28212
|
|
28000
28213
|
# Update properties of this object
|
28001
28214
|
def update!(**args)
|
28215
|
+
@chunk = args[:chunk] if args.key?(:chunk)
|
28002
28216
|
@distance = args[:distance] if args.key?(:distance)
|
28003
28217
|
@score = args[:score] if args.key?(:score)
|
28004
28218
|
@source_display_name = args[:source_display_name] if args.key?(:source_display_name)
|
@@ -28229,6 +28443,32 @@ module Google
|
|
28229
28443
|
end
|
28230
28444
|
end
|
28231
28445
|
|
28446
|
+
# Config for RagEngine.
|
28447
|
+
class GoogleCloudAiplatformV1beta1RagEngineConfig
|
28448
|
+
include Google::Apis::Core::Hashable
|
28449
|
+
|
28450
|
+
# Identifier. The name of the RagEngineConfig. Format: `projects/`project`/
|
28451
|
+
# locations/`location`/ragEngineConfig`
|
28452
|
+
# Corresponds to the JSON property `name`
|
28453
|
+
# @return [String]
|
28454
|
+
attr_accessor :name
|
28455
|
+
|
28456
|
+
# Configuration message for RagManagedDb used by RagEngine.
|
28457
|
+
# Corresponds to the JSON property `ragManagedDbConfig`
|
28458
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfig]
|
28459
|
+
attr_accessor :rag_managed_db_config
|
28460
|
+
|
28461
|
+
def initialize(**args)
|
28462
|
+
update!(**args)
|
28463
|
+
end
|
28464
|
+
|
28465
|
+
# Update properties of this object
|
28466
|
+
def update!(**args)
|
28467
|
+
@name = args[:name] if args.key?(:name)
|
28468
|
+
@rag_managed_db_config = args[:rag_managed_db_config] if args.key?(:rag_managed_db_config)
|
28469
|
+
end
|
28470
|
+
end
|
28471
|
+
|
28232
28472
|
# A RagFile contains user data for chunking, embedding and indexing.
|
28233
28473
|
class GoogleCloudAiplatformV1beta1RagFile
|
28234
28474
|
include Google::Apis::Core::Hashable
|
@@ -28548,6 +28788,67 @@ module Google
|
|
28548
28788
|
end
|
28549
28789
|
end
|
28550
28790
|
|
28791
|
+
# Configuration message for RagManagedDb used by RagEngine.
|
28792
|
+
class GoogleCloudAiplatformV1beta1RagManagedDbConfig
|
28793
|
+
include Google::Apis::Core::Hashable
|
28794
|
+
|
28795
|
+
# Basic tier is a cost-effective and low compute tier suitable for the following
|
28796
|
+
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
|
28797
|
+
# insensitive workload. * Only using RAG Engine with external vector DBs.
|
28798
|
+
# Corresponds to the JSON property `basic`
|
28799
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic]
|
28800
|
+
attr_accessor :basic
|
28801
|
+
|
28802
|
+
# Enterprise tier offers production grade performance along with autoscaling
|
28803
|
+
# functionality. It is suitable for customers with large amounts of data or
|
28804
|
+
# performance sensitive workloads. NOTE: This is the default tier if not
|
28805
|
+
# explicitly chosen.
|
28806
|
+
# Corresponds to the JSON property `enterprise`
|
28807
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise]
|
28808
|
+
attr_accessor :enterprise
|
28809
|
+
|
28810
|
+
def initialize(**args)
|
28811
|
+
update!(**args)
|
28812
|
+
end
|
28813
|
+
|
28814
|
+
# Update properties of this object
|
28815
|
+
def update!(**args)
|
28816
|
+
@basic = args[:basic] if args.key?(:basic)
|
28817
|
+
@enterprise = args[:enterprise] if args.key?(:enterprise)
|
28818
|
+
end
|
28819
|
+
end
|
28820
|
+
|
28821
|
+
# Basic tier is a cost-effective and low compute tier suitable for the following
|
28822
|
+
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
|
28823
|
+
# insensitive workload. * Only using RAG Engine with external vector DBs.
|
28824
|
+
class GoogleCloudAiplatformV1beta1RagManagedDbConfigBasic
|
28825
|
+
include Google::Apis::Core::Hashable
|
28826
|
+
|
28827
|
+
def initialize(**args)
|
28828
|
+
update!(**args)
|
28829
|
+
end
|
28830
|
+
|
28831
|
+
# Update properties of this object
|
28832
|
+
def update!(**args)
|
28833
|
+
end
|
28834
|
+
end
|
28835
|
+
|
28836
|
+
# Enterprise tier offers production grade performance along with autoscaling
|
28837
|
+
# functionality. It is suitable for customers with large amounts of data or
|
28838
|
+
# performance sensitive workloads. NOTE: This is the default tier if not
|
28839
|
+
# explicitly chosen.
|
28840
|
+
class GoogleCloudAiplatformV1beta1RagManagedDbConfigEnterprise
|
28841
|
+
include Google::Apis::Core::Hashable
|
28842
|
+
|
28843
|
+
def initialize(**args)
|
28844
|
+
update!(**args)
|
28845
|
+
end
|
28846
|
+
|
28847
|
+
# Update properties of this object
|
28848
|
+
def update!(**args)
|
28849
|
+
end
|
28850
|
+
end
|
28851
|
+
|
28551
28852
|
# A query to retrieve relevant contexts.
|
28552
28853
|
class GoogleCloudAiplatformV1beta1RagQuery
|
28553
28854
|
include Google::Apis::Core::Hashable
|
@@ -28728,7 +29029,9 @@ module Google
|
|
28728
29029
|
class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker
|
28729
29030
|
include Google::Apis::Core::Hashable
|
28730
29031
|
|
28731
|
-
# Optional. The model name used for ranking.
|
29032
|
+
# Optional. The model name used for ranking. See [Supported models](https://
|
29033
|
+
# cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#
|
29034
|
+
# supported-models).
|
28732
29035
|
# Corresponds to the JSON property `modelName`
|
28733
29036
|
# @return [String]
|
28734
29037
|
attr_accessor :model_name
|
@@ -29462,7 +29765,8 @@ module Google
|
|
29462
29765
|
include Google::Apis::Core::Hashable
|
29463
29766
|
|
29464
29767
|
# Optional. The OSS agent framework used to develop the agent. Currently
|
29465
|
-
# supported values: "langchain", "langgraph", "ag2", "
|
29768
|
+
# supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index",
|
29769
|
+
# "custom".
|
29466
29770
|
# Corresponds to the JSON property `agentFramework`
|
29467
29771
|
# @return [String]
|
29468
29772
|
attr_accessor :agent_framework
|
@@ -39027,6 +39331,25 @@ module Google
|
|
39027
39331
|
end
|
39028
39332
|
end
|
39029
39333
|
|
39334
|
+
# Request message for EndpointService.SetPublisherModelConfig.
|
39335
|
+
class GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest
|
39336
|
+
include Google::Apis::Core::Hashable
|
39337
|
+
|
39338
|
+
# This message contains configs of a publisher model.
|
39339
|
+
# Corresponds to the JSON property `publisherModelConfig`
|
39340
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig]
|
39341
|
+
attr_accessor :publisher_model_config
|
39342
|
+
|
39343
|
+
def initialize(**args)
|
39344
|
+
update!(**args)
|
39345
|
+
end
|
39346
|
+
|
39347
|
+
# Update properties of this object
|
39348
|
+
def update!(**args)
|
39349
|
+
@publisher_model_config = args[:publisher_model_config] if args.key?(:publisher_model_config)
|
39350
|
+
end
|
39351
|
+
end
|
39352
|
+
|
39030
39353
|
# The SharePointSources to pass to ImportRagFiles.
|
39031
39354
|
class GoogleCloudAiplatformV1beta1SharePointSources
|
39032
39355
|
include Google::Apis::Core::Hashable
|
@@ -39399,6 +39722,11 @@ module Google
|
|
39399
39722
|
class GoogleCloudAiplatformV1beta1SpeechConfig
|
39400
39723
|
include Google::Apis::Core::Hashable
|
39401
39724
|
|
39725
|
+
# Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.
|
39726
|
+
# Corresponds to the JSON property `languageCode`
|
39727
|
+
# @return [String]
|
39728
|
+
attr_accessor :language_code
|
39729
|
+
|
39402
39730
|
# The configuration for the voice to use.
|
39403
39731
|
# Corresponds to the JSON property `voiceConfig`
|
39404
39732
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VoiceConfig]
|
@@ -39410,6 +39738,7 @@ module Google
|
|
39410
39738
|
|
39411
39739
|
# Update properties of this object
|
39412
39740
|
def update!(**args)
|
39741
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
39413
39742
|
@voice_config = args[:voice_config] if args.key?(:voice_config)
|
39414
39743
|
end
|
39415
39744
|
end
|
@@ -43959,7 +44288,9 @@ module Google
|
|
43959
44288
|
class GoogleCloudAiplatformV1beta1TuningJob
|
43960
44289
|
include Google::Apis::Core::Hashable
|
43961
44290
|
|
43962
|
-
# The base model that is being tuned
|
44291
|
+
# The base model that is being tuned. See [Supported models](https://cloud.
|
44292
|
+
# google.com/vertex-ai/generative-ai/docs/model-reference/tuning#
|
44293
|
+
# supported_models).
|
43963
44294
|
# Corresponds to the JSON property `baseModel`
|
43964
44295
|
# @return [String]
|
43965
44296
|
attr_accessor :base_model
|