Class OverallToolInvocationResult (0.3.0)

OverallToolInvocationResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
tool_invocation_score float
The overall tool invocation score for this turn. This indicates the overall percent of tools from the expected turn that were actually invoked. This field is a member of oneof_ _tool_invocation_score.
outcome google.cloud.ces_v1beta.types.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.