Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::RunEvaluationRequest.
Request message for EvaluationService.RunEvaluation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#app
def app() -> ::String-
(::String) — Required. The app to evaluate.
Format:
projects/{project}/locations/{location}/apps/{app}
#app=
def app=(value) -> ::String-
value (::String) — Required. The app to evaluate.
Format:
projects/{project}/locations/{location}/apps/{app}
-
(::String) — Required. The app to evaluate.
Format:
projects/{project}/locations/{location}/apps/{app}
#app_version
def app_version() -> ::String-
(::String) — Optional. The app version to evaluate.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
#app_version=
def app_version=(value) -> ::String-
value (::String) — Optional. The app version to evaluate.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
-
(::String) — Optional. The app version to evaluate.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
#config
def config() -> ::Google::Cloud::Ces::V1beta::EvaluationConfig- (::Google::Cloud::Ces::V1beta::EvaluationConfig) — Optional. The configuration to use for the run.
#config=
def config=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationConfig- value (::Google::Cloud::Ces::V1beta::EvaluationConfig) — Optional. The configuration to use for the run.
- (::Google::Cloud::Ces::V1beta::EvaluationConfig) — Optional. The configuration to use for the run.
#display_name
def display_name() -> ::String- (::String) — Optional. The display name of the evaluation run.
#display_name=
def display_name=(value) -> ::String- value (::String) — Optional. The display name of the evaluation run.
- (::String) — Optional. The display name of the evaluation run.
#evaluation_dataset
def evaluation_dataset() -> ::String-
(::String) — Optional. An evaluation dataset to run.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluationDatasets/{evaluationDataset}
#evaluation_dataset=
def evaluation_dataset=(value) -> ::String-
value (::String) — Optional. An evaluation dataset to run.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluationDatasets/{evaluationDataset}
-
(::String) — Optional. An evaluation dataset to run.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluationDatasets/{evaluationDataset}
#evaluations
def evaluations() -> ::Array<::String>-
(::Array<::String>) — Optional. List of evaluations to run.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}
#evaluations=
def evaluations=(value) -> ::Array<::String>-
value (::Array<::String>) — Optional. List of evaluations to run.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}
-
(::Array<::String>) — Optional. List of evaluations to run.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}
#generate_latency_report
def generate_latency_report() -> ::Boolean- (::Boolean) — Optional. Whether to generate a latency report for the evaluation run.
#generate_latency_report=
def generate_latency_report=(value) -> ::Boolean- value (::Boolean) — Optional. Whether to generate a latency report for the evaluation run.
- (::Boolean) — Optional. Whether to generate a latency report for the evaluation run.
#golden_run_method
def golden_run_method() -> ::Google::Cloud::Ces::V1beta::GoldenRunMethod- (::Google::Cloud::Ces::V1beta::GoldenRunMethod) — Optional. The method to run the evaluation if it is a golden evaluation. If not set, default to STABLE.
#golden_run_method=
def golden_run_method=(value) -> ::Google::Cloud::Ces::V1beta::GoldenRunMethod- value (::Google::Cloud::Ces::V1beta::GoldenRunMethod) — Optional. The method to run the evaluation if it is a golden evaluation. If not set, default to STABLE.
- (::Google::Cloud::Ces::V1beta::GoldenRunMethod) — Optional. The method to run the evaluation if it is a golden evaluation. If not set, default to STABLE.
#optimization_config
def optimization_config() -> ::Google::Cloud::Ces::V1beta::OptimizationConfig- (::Google::Cloud::Ces::V1beta::OptimizationConfig) — Optional. Configuration for running the optimization step after the evaluation run. If not set, the optimization step will not be run.
#optimization_config=
def optimization_config=(value) -> ::Google::Cloud::Ces::V1beta::OptimizationConfig- value (::Google::Cloud::Ces::V1beta::OptimizationConfig) — Optional. Configuration for running the optimization step after the evaluation run. If not set, the optimization step will not be run.
- (::Google::Cloud::Ces::V1beta::OptimizationConfig) — Optional. Configuration for running the optimization step after the evaluation run. If not set, the optimization step will not be run.
#persona_run_configs
def persona_run_configs() -> ::Array<::Google::Cloud::Ces::V1beta::PersonaRunConfig>- (::Array<::Google::Cloud::Ces::V1beta::PersonaRunConfig>) — Optional. The configuration to use for the run per persona.
#persona_run_configs=
def persona_run_configs=(value) -> ::Array<::Google::Cloud::Ces::V1beta::PersonaRunConfig>- value (::Array<::Google::Cloud::Ces::V1beta::PersonaRunConfig>) — Optional. The configuration to use for the run per persona.
- (::Array<::Google::Cloud::Ces::V1beta::PersonaRunConfig>) — Optional. The configuration to use for the run per persona.
#run_count
def run_count() -> ::Integer- (::Integer) — Optional. The number of times to run the evaluation. If not set, the default value is 1 per golden, and 5 per scenario.
#run_count=
def run_count=(value) -> ::Integer- value (::Integer) — Optional. The number of times to run the evaluation. If not set, the default value is 1 per golden, and 5 per scenario.
- (::Integer) — Optional. The number of times to run the evaluation. If not set, the default value is 1 per golden, and 5 per scenario.
#scheduled_evaluation_run
def scheduled_evaluation_run() -> ::String-
(::String) — Optional. The resource name of the
ScheduledEvaluationRunthat is triggering this evaluation run.If this field is set, the
scheduled_evaluation_runfield on the createdEvaluationRunresource will be populated from this value. Format:projects/{project}/locations/{location}/apps/{app}/scheduledEvaluationRuns/{scheduled_evaluation_run}
#scheduled_evaluation_run=
def scheduled_evaluation_run=(value) -> ::String-
value (::String) — Optional. The resource name of the
ScheduledEvaluationRunthat is triggering this evaluation run.If this field is set, the
scheduled_evaluation_runfield on the createdEvaluationRunresource will be populated from this value. Format:projects/{project}/locations/{location}/apps/{app}/scheduledEvaluationRuns/{scheduled_evaluation_run}
-
(::String) — Optional. The resource name of the
ScheduledEvaluationRunthat is triggering this evaluation run.If this field is set, the
scheduled_evaluation_runfield on the createdEvaluationRunresource will be populated from this value. Format:projects/{project}/locations/{location}/apps/{app}/scheduledEvaluationRuns/{scheduled_evaluation_run}