Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationResult::OverallToolInvocationResult.
The result of the overall tool invocation check.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#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 tool_invocation_score to the overall_tool_invocation_correctness_threshold. If the score is equal to or above the threshold, the outcome will be PASS. Otherwise, the outcome will be FAIL.
#tool_invocation_score
def tool_invocation_score() -> ::Float
Returns
- (::Float) — The overall tool invocation score for this turn. This indicates the overall percent of tools from the expected turn that were actually invoked.
#tool_invocation_score=
def tool_invocation_score=(value) -> ::Float
Parameter
- value (::Float) — The overall tool invocation score for this turn. This indicates the overall percent of tools from the expected turn that were actually invoked.
Returns
- (::Float) — The overall tool invocation score for this turn. This indicates the overall percent of tools from the expected turn that were actually invoked.