ToolInvocationResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)The result of the tool invocation check.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
parameter_correctness_score |
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. This field is a member of oneof_ _parameter_correctness_score.
|
outcome |
google.cloud.ces_v1beta.types.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. |
explanation |
str
Output only. A free text explanation for the tool invocation result. |