Gemini Enterprise for Customer Experience v1beta API - Class EvaluationResult.Types.OverallToolInvocationResult (1.0.0-beta01)

public sealed class EvaluationResult.Types.OverallToolInvocationResult : IMessage<EvaluationResult.Types.OverallToolInvocationResult>, IEquatable<EvaluationResult.Types.OverallToolInvocationResult>, IDeepCloneable<EvaluationResult.Types.OverallToolInvocationResult>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > EvaluationResult.Types.OverallToolInvocationResult

Namespace

Google.Cloud.Ces.V1Beta

Assembly

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