public sealed class EvaluationResult.Types.OverallToolInvocationResult : IMessage<EvaluationResult.Types.OverallToolInvocationResult>, IEquatable<EvaluationResult.Types.OverallToolInvocationResult>, IDeepCloneable<EvaluationResult.Types.OverallToolInvocationResult>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class EvaluationResult.Types.OverallToolInvocationResult.
The result of the overall tool invocation check.
Implements
IMessageEvaluationResultTypesOverallToolInvocationResult, IEquatableEvaluationResultTypesOverallToolInvocationResult, IDeepCloneableEvaluationResultTypesOverallToolInvocationResult, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
OverallToolInvocationResult()
public OverallToolInvocationResult()OverallToolInvocationResult(OverallToolInvocationResult)
public OverallToolInvocationResult(EvaluationResult.Types.OverallToolInvocationResult other)| Parameter | |
|---|---|
| Name | Description |
other |
EvaluationResultTypesOverallToolInvocationResult |
Properties
HasToolInvocationScore
public bool HasToolInvocationScore { get; }Gets whether the "tool_invocation_score" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Outcome
public EvaluationResult.Types.Outcome Outcome { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
EvaluationResultTypesOutcome |
|
ToolInvocationScore
public float ToolInvocationScore { get; set; }The overall tool invocation score for this turn. This indicates the overall percent of tools from the expected turn that were actually invoked.
| Property Value | |
|---|---|
| Type | Description |
float |
|