Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationResult::GoldenExpectationOutcome::ToolInvocationResult.
The result of the tool invocation check.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#explanation
def explanation() -> ::String
Returns
- (::String) — Output only. A free text explanation for the tool invocation result.
#outcome
def outcome() -> ::Google::Cloud::Ces::V1beta::EvaluationResult::Outcome
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationResult::Outcome) — Output only. The outcome of the tool invocation check. This is determined by comparing the parameter_correctness_score to the threshold. If the score is equal to or above the threshold, the outcome will be PASS. Otherwise, the outcome will be FAIL.
#parameter_correctness_score
def parameter_correctness_score() -> ::Float
Returns
- (::Float) — Output only. The tool invocation parameter correctness score. This indicates the percent of parameters from the expected tool call that were also present in the actual tool call.