Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationResult.
An evaluation result represents the output of running an Evaluation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#app_version
def app_version() -> ::String-
(::String) — Output only. The app version used to generate the conversation that
resulted in this result. Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}
#app_version_display_name
def app_version_display_name() -> ::String-
(::String) — Output only. The display name of the
app_versionthat the evaluation ran against.
#changelog
def changelog() -> ::String- (::String) — Output only. The changelog of the app version that the evaluation ran against. This is populated if user runs evaluation on latest/draft.
#changelog_create_time
def changelog_create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The create time of the changelog of the app version that the evaluation ran against. This is populated if user runs evaluation on latest/draft.
#config
def config() -> ::Google::Cloud::Ces::V1beta::EvaluationConfig- (::Google::Cloud::Ces::V1beta::EvaluationConfig) — Output only. The configuration used in the evaluation run that resulted in this result.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Timestamp when the evaluation result was created.
#display_name
def display_name() -> ::String-
(::String) —
Required. Display name of the Evaluation Result. Unique within an Evaluation. By default, it has the following format: "
#display_name=
def display_name=(value) -> ::String-
value (::String) —
Required. Display name of the Evaluation Result. Unique within an Evaluation. By default, it has the following format: "
-
(::String) —
Required. Display name of the Evaluation Result. Unique within an Evaluation. By default, it has the following format: "
#error
def error() -> ::Google::Rpc::Status-
(::Google::Rpc::Status) — Output only. Deprecated: Use
error_infoinstead. Errors encountered during execution.
#error_info
def error_info() -> ::Google::Cloud::Ces::V1beta::EvaluationErrorInfo- (::Google::Cloud::Ces::V1beta::EvaluationErrorInfo) — Output only. Error information for the evaluation result.
#evaluation_metrics_thresholds
def evaluation_metrics_thresholds() -> ::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds- (::Google::Cloud::Ces::V1beta::EvaluationMetricsThresholds) — Output only. The evaluation thresholds for the result.
#evaluation_run
def evaluation_run() -> ::String-
(::String) — Output only. The evaluation run that produced this result.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluationRun}
#evaluation_status
def evaluation_status() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::Outcome- (::Google::Cloud::Ces::V1beta::EvaluationResult::Outcome) — Output only. The outcome of the evaluation. Only populated if execution_state is COMPLETE.
#execution_state
def execution_state() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::ExecutionState- (::Google::Cloud::Ces::V1beta::EvaluationResult::ExecutionState) — Output only. The state of the evaluation result execution.
#golden_result
def golden_result() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::GoldenResult-
(::Google::Cloud::Ces::V1beta::EvaluationResult::GoldenResult) — Output only. The outcome of a golden evaluation.
Note: The following fields are mutually exclusive:
golden_result,scenario_result. If a field in that set is populated, all other fields in the set will automatically be cleared.
#golden_run_method
def golden_run_method() -> ::Google::Cloud::Ces::V1beta::GoldenRunMethod- (::Google::Cloud::Ces::V1beta::GoldenRunMethod) — Output only. The method used to run the golden evaluation.
#initiated_by
def initiated_by() -> ::String- (::String) — Output only. The user who initiated the evaluation run that resulted in this result.
#name
def name() -> ::String-
(::String) — Identifier. The unique identifier of the evaluation result.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{result}
#name=
def name=(value) -> ::String-
value (::String) — Identifier. The unique identifier of the evaluation result.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{result}
-
(::String) — Identifier. The unique identifier of the evaluation result.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}/results/{result}
#persona
def persona() -> ::Google::Cloud::Ces::V1beta::EvaluationPersona- (::Google::Cloud::Ces::V1beta::EvaluationPersona) — Output only. The persona used to generate the conversation for the evaluation result.
#scenario_result
def scenario_result() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::ScenarioResult-
(::Google::Cloud::Ces::V1beta::EvaluationResult::ScenarioResult) — Output only. The outcome of a scenario evaluation.
Note: The following fields are mutually exclusive:
scenario_result,golden_result. If a field in that set is populated, all other fields in the set will automatically be cleared.