Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add fast_tryout_enabled to FasterDeploymentConfig v1 proto #27596

Merged
merged 8 commits into from
Nov 14, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -2026,6 +2026,8 @@ def get_annotation_spec request, options = nil

##
# Lists Annotations belongs to a dataitem
# This RPC is only available in InternalDatasetService. It is only used for
# exporting conversation data to CCAI Insights.
#
# @overload list_annotations(request, options = nil)
# Pass arguments to `list_annotations` via a request object, either of type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1895,6 +1895,8 @@ def get_annotation_spec request, options = nil

##
# Lists Annotations belongs to a dataitem
# This RPC is only available in InternalDatasetService. It is only used for
# exporting conversation data to CCAI Insights.
#
# @overload list_annotations(request, options = nil)
# Pass arguments to `list_annotations` via a request object, either of type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def initialize
# @param options [::Gapic::CallOptions, ::Hash]
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
#
# @overload evaluate_instances(exact_match_input: nil, bleu_input: nil, rouge_input: nil, fluency_input: nil, coherence_input: nil, safety_input: nil, groundedness_input: nil, fulfillment_input: nil, summarization_quality_input: nil, pairwise_summarization_quality_input: nil, summarization_helpfulness_input: nil, summarization_verbosity_input: nil, question_answering_quality_input: nil, pairwise_question_answering_quality_input: nil, question_answering_relevance_input: nil, question_answering_helpfulness_input: nil, question_answering_correctness_input: nil, pointwise_metric_input: nil, pairwise_metric_input: nil, tool_call_valid_input: nil, tool_name_match_input: nil, tool_parameter_key_match_input: nil, tool_parameter_kv_match_input: nil, location: nil)
# @overload evaluate_instances(exact_match_input: nil, bleu_input: nil, rouge_input: nil, fluency_input: nil, coherence_input: nil, safety_input: nil, groundedness_input: nil, fulfillment_input: nil, summarization_quality_input: nil, pairwise_summarization_quality_input: nil, summarization_helpfulness_input: nil, summarization_verbosity_input: nil, question_answering_quality_input: nil, pairwise_question_answering_quality_input: nil, question_answering_relevance_input: nil, question_answering_helpfulness_input: nil, question_answering_correctness_input: nil, pointwise_metric_input: nil, pairwise_metric_input: nil, tool_call_valid_input: nil, tool_name_match_input: nil, tool_parameter_key_match_input: nil, tool_parameter_kv_match_input: nil, comet_input: nil, metricx_input: nil, location: nil)
# Pass arguments to `evaluate_instances` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
Expand Down Expand Up @@ -263,6 +263,11 @@ def initialize
# Input for tool parameter key match metric.
# @param tool_parameter_kv_match_input [::Google::Cloud::AIPlatform::V1::ToolParameterKVMatchInput, ::Hash]
# Input for tool parameter key value match metric.
# @param comet_input [::Google::Cloud::AIPlatform::V1::CometInput, ::Hash]
# Translation metrics.
# Input for Comet metric.
# @param metricx_input [::Google::Cloud::AIPlatform::V1::MetricxInput, ::Hash]
# Input for Metricx metric.
# @param location [::String]
# Required. The resource name of the Location to evaluate the instances.
# Format: `projects/{project}/locations/{location}`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def initialize
# @param options [::Gapic::CallOptions, ::Hash]
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
#
# @overload evaluate_instances(exact_match_input: nil, bleu_input: nil, rouge_input: nil, fluency_input: nil, coherence_input: nil, safety_input: nil, groundedness_input: nil, fulfillment_input: nil, summarization_quality_input: nil, pairwise_summarization_quality_input: nil, summarization_helpfulness_input: nil, summarization_verbosity_input: nil, question_answering_quality_input: nil, pairwise_question_answering_quality_input: nil, question_answering_relevance_input: nil, question_answering_helpfulness_input: nil, question_answering_correctness_input: nil, pointwise_metric_input: nil, pairwise_metric_input: nil, tool_call_valid_input: nil, tool_name_match_input: nil, tool_parameter_key_match_input: nil, tool_parameter_kv_match_input: nil, location: nil)
# @overload evaluate_instances(exact_match_input: nil, bleu_input: nil, rouge_input: nil, fluency_input: nil, coherence_input: nil, safety_input: nil, groundedness_input: nil, fulfillment_input: nil, summarization_quality_input: nil, pairwise_summarization_quality_input: nil, summarization_helpfulness_input: nil, summarization_verbosity_input: nil, question_answering_quality_input: nil, pairwise_question_answering_quality_input: nil, question_answering_relevance_input: nil, question_answering_helpfulness_input: nil, question_answering_correctness_input: nil, pointwise_metric_input: nil, pairwise_metric_input: nil, tool_call_valid_input: nil, tool_name_match_input: nil, tool_parameter_key_match_input: nil, tool_parameter_kv_match_input: nil, comet_input: nil, metricx_input: nil, location: nil)
# Pass arguments to `evaluate_instances` via keyword arguments. Note that at
# least one keyword argument is required. To specify no parameters, or to keep all
# the default parameter values, pass an empty Hash as a request object (see above).
Expand Down Expand Up @@ -258,6 +258,11 @@ def initialize
# Input for tool parameter key match metric.
# @param tool_parameter_kv_match_input [::Google::Cloud::AIPlatform::V1::ToolParameterKVMatchInput, ::Hash]
# Input for tool parameter key value match metric.
# @param comet_input [::Google::Cloud::AIPlatform::V1::CometInput, ::Hash]
# Translation metrics.
# Input for Comet metric.
# @param metricx_input [::Google::Cloud::AIPlatform::V1::MetricxInput, ::Hash]
# Input for Metricx metric.
# @param location [::String]
# Required. The resource name of the Location to evaluate the instances.
# Format: `projects/{project}/locations/{location}`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,7 @@ def list_feature_views request, options = nil
# * `feature_registry_source.feature_groups`
# * `sync_config`
# * `sync_config.cron`
# * `optimized_config.automatic_resources`
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,7 @@ def list_feature_views request, options = nil
# * `feature_registry_source.feature_groups`
# * `sync_config`
# * `sync_config.cron`
# * `optimized_config.automatic_resources`
# @yield [result, operation] Access the result along with the TransportOperation object
# @yieldparam result [::Gapic::Operation]
# @yieldparam operation [::Gapic::Rest::TransportOperation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -447,12 +447,12 @@ def get_feature_group request, options = nil
# coerced to 100.
# @param page_token [::String]
# A page token, received from a previous
# [FeatureGroupAdminService.ListFeatureGroups][] call.
# Provide this to retrieve the subsequent page.
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_feature_groups FeatureRegistryService.ListFeatureGroups}
# call. Provide this to retrieve the subsequent page.
#
# When paginating, all other parameters provided to
# [FeatureGroupAdminService.ListFeatureGroups][] must
# match the call that provided the page token.
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_feature_groups FeatureRegistryService.ListFeatureGroups}
# must match the call that provided the page token.
# @param order_by [::String]
# A comma-separated list of fields to order by, sorted in ascending order.
# Use "desc" after a field name for descending.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,12 +428,12 @@ def get_feature_group request, options = nil
# coerced to 100.
# @param page_token [::String]
# A page token, received from a previous
# [FeatureGroupAdminService.ListFeatureGroups][] call.
# Provide this to retrieve the subsequent page.
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Rest::Client#list_feature_groups FeatureRegistryService.ListFeatureGroups}
# call. Provide this to retrieve the subsequent page.
#
# When paginating, all other parameters provided to
# [FeatureGroupAdminService.ListFeatureGroups][] must
# match the call that provided the page token.
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Rest::Client#list_feature_groups FeatureRegistryService.ListFeatureGroups}
# must match the call that provided the page token.
# @param order_by [::String]
# A comma-separated list of fields to order by, sorted in ascending order.
# Use "desc" after a field name for descending.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,9 @@ def get_tuning_job request, options = nil
# Optional. The standard list page size.
# @param page_token [::String]
# Optional. The standard list page token.
# Typically obtained via [ListTuningJob.next_page_token][] of the
# previous GenAiTuningService.ListTuningJob][] call.
# Typically obtained via
# {::Google::Cloud::AIPlatform::V1::ListTuningJobsResponse#next_page_token ListTuningJobsResponse.next_page_token}
# of the previous GenAiTuningService.ListTuningJob][] call.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::TuningJob>]
Expand Down Expand Up @@ -584,8 +585,6 @@ def cancel_tuning_job request, options = nil

##
# Rebase a TunedModel.
# Creates a LongRunningOperation that takes a legacy Tuned GenAI model
# Reference and creates a TuningJob based on newly available model.
#
# @overload rebase_tuned_model(request, options = nil)
# Pass arguments to `rebase_tuned_model` via a request object, either of type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,9 @@ def get_tuning_job request, options = nil
# Optional. The standard list page size.
# @param page_token [::String]
# Optional. The standard list page token.
# Typically obtained via [ListTuningJob.next_page_token][] of the
# previous GenAiTuningService.ListTuningJob][] call.
# Typically obtained via
# {::Google::Cloud::AIPlatform::V1::ListTuningJobsResponse#next_page_token ListTuningJobsResponse.next_page_token}
# of the previous GenAiTuningService.ListTuningJob][] call.
# @yield [result, operation] Access the result along with the TransportOperation object
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AIPlatform::V1::TuningJob>]
# @yieldparam operation [::Gapic::Rest::TransportOperation]
Expand Down Expand Up @@ -551,8 +552,6 @@ def cancel_tuning_job request, options = nil

##
# Rebase a TunedModel.
# Creates a LongRunningOperation that takes a legacy Tuned GenAI model
# Reference and creates a TuningJob based on newly available model.
#
# @overload rebase_tuned_model(request, options = nil)
# Pass arguments to `rebase_tuned_model` via a request object, either of type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -923,8 +923,10 @@ def undeploy_index request, options = nil
# `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`
# @param deployed_index [::Google::Cloud::AIPlatform::V1::DeployedIndex, ::Hash]
# Required. The DeployedIndex to be updated within the IndexEndpoint.
# Currently, the updatable fields are [DeployedIndex][automatic_resources]
# and [DeployedIndex][dedicated_resources]
# Currently, the updatable fields are
# {::Google::Cloud::AIPlatform::V1::DeployedIndex#automatic_resources DeployedIndex.automatic_resources}
# and
# {::Google::Cloud::AIPlatform::V1::DeployedIndex#dedicated_resources DeployedIndex.dedicated_resources}
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -869,8 +869,10 @@ def undeploy_index request, options = nil
# `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`
# @param deployed_index [::Google::Cloud::AIPlatform::V1::DeployedIndex, ::Hash]
# Required. The DeployedIndex to be updated within the IndexEndpoint.
# Currently, the updatable fields are [DeployedIndex][automatic_resources]
# and [DeployedIndex][dedicated_resources]
# Currently, the updatable fields are
# {::Google::Cloud::AIPlatform::V1::DeployedIndex#automatic_resources DeployedIndex.automatic_resources}
# and
# {::Google::Cloud::AIPlatform::V1::DeployedIndex#dedicated_resources DeployedIndex.dedicated_resources}
# @yield [result, operation] Access the result along with the TransportOperation object
# @yieldparam result [::Gapic::Operation]
# @yieldparam operation [::Gapic::Rest::TransportOperation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1675,7 +1675,8 @@ def get_notebook_execution_job request, options = nil
# @param page_token [::String]
# Optional. The standard list page token.
# Typically obtained via
# [ListNotebookExecutionJobs.next_page_token][] of the previous
# {::Google::Cloud::AIPlatform::V1::ListNotebookExecutionJobsResponse#next_page_token ListNotebookExecutionJobsResponse.next_page_token}
# of the previous
# {::Google::Cloud::AIPlatform::V1::NotebookService::Client#list_notebook_execution_jobs NotebookService.ListNotebookExecutionJobs}
# call.
# @param order_by [::String]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1572,7 +1572,8 @@ def get_notebook_execution_job request, options = nil
# @param page_token [::String]
# Optional. The standard list page token.
# Typically obtained via
# [ListNotebookExecutionJobs.next_page_token][] of the previous
# {::Google::Cloud::AIPlatform::V1::ListNotebookExecutionJobsResponse#next_page_token ListNotebookExecutionJobsResponse.next_page_token}
# of the previous
# {::Google::Cloud::AIPlatform::V1::NotebookService::Rest::Client#list_notebook_execution_jobs NotebookService.ListNotebookExecutionJobs}
# call.
# @param order_by [::String]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ def get_persistent_resource request, options = nil
# @param page_token [::String]
# Optional. The standard list page token.
# Typically obtained via
# [ListPersistentResourceResponse.next_page_token][] of the previous
# [PersistentResourceService.ListPersistentResource][] call.
# {::Google::Cloud::AIPlatform::V1::ListPersistentResourcesResponse#next_page_token ListPersistentResourcesResponse.next_page_token}
# of the previous [PersistentResourceService.ListPersistentResource][] call.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::AIPlatform::V1::PersistentResource>]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ def get_persistent_resource request, options = nil
# @param page_token [::String]
# Optional. The standard list page token.
# Typically obtained via
# [ListPersistentResourceResponse.next_page_token][] of the previous
# [PersistentResourceService.ListPersistentResource][] call.
# {::Google::Cloud::AIPlatform::V1::ListPersistentResourcesResponse#next_page_token ListPersistentResourcesResponse.next_page_token}
# of the previous [PersistentResourceService.ListPersistentResource][] call.
# @yield [result, operation] Access the result along with the TransportOperation object
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AIPlatform::V1::PersistentResource>]
# @yieldparam operation [::Gapic::Rest::TransportOperation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -730,8 +730,9 @@ def pause_schedule request, options = nil
#
# When the Schedule is resumed, new runs will be scheduled starting from the
# next execution time after the current time based on the time_specification
# in the Schedule. If [Schedule.catchUp][] is set up true, all
# missed runs will be scheduled for backfill first.
# in the Schedule. If
# {::Google::Cloud::AIPlatform::V1::Schedule#catch_up Schedule.catch_up} is set up
# true, all missed runs will be scheduled for backfill first.
#
# @overload resume_schedule(request, options = nil)
# Pass arguments to `resume_schedule` via a request object, either of type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -690,8 +690,9 @@ def pause_schedule request, options = nil
#
# When the Schedule is resumed, new runs will be scheduled starting from the
# next execution time after the current time based on the time_specification
# in the Schedule. If [Schedule.catchUp][] is set up true, all
# missed runs will be scheduled for backfill first.
# in the Schedule. If
# {::Google::Cloud::AIPlatform::V1::Schedule#catch_up Schedule.catch_up} is set up
# true, all missed runs will be scheduled for backfill first.
#
# @overload resume_schedule(request, options = nil)
# Pass arguments to `resume_schedule` via a request object, either of type
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading