public static interface EvaluationResult.OverallToolInvocationResultOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getOutcome()
public abstract EvaluationResult.Outcome getOutcome()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.
.google.cloud.ces.v1beta.EvaluationResult.Outcome outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EvaluationResult.Outcome |
The outcome. |
getOutcomeValue()
public abstract int getOutcomeValue()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.
.google.cloud.ces.v1beta.EvaluationResult.Outcome outcome = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for outcome. |
getToolInvocationScore()
public abstract float getToolInvocationScore()The overall tool invocation score for this turn. This indicates the overall percent of tools from the expected turn that were actually invoked.
optional float tool_invocation_score = 1;
| Returns | |
|---|---|
| Type | Description |
float |
The toolInvocationScore. |
hasToolInvocationScore()
public abstract boolean hasToolInvocationScore()The overall tool invocation score for this turn. This indicates the overall percent of tools from the expected turn that were actually invoked.
optional float tool_invocation_score = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the toolInvocationScore field is set. |