Gemini Enterprise for Customer Experience v1beta API - Class EvaluationResult.Types.GoldenExpectationOutcome (1.0.0-beta09)

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class EvaluationResult.Types.GoldenExpectationOutcome.

Specifies the expectation and the result of that expectation.

Inheritance

object > EvaluationResult.Types.GoldenExpectationOutcome

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

GoldenExpectationOutcome()

public GoldenExpectationOutcome()

GoldenExpectationOutcome(GoldenExpectationOutcome)

public GoldenExpectationOutcome(EvaluationResult.Types.GoldenExpectationOutcome other)
Parameter
Name Description
other EvaluationResultTypesGoldenExpectationOutcome

Properties

Expectation

public Evaluation.Types.GoldenExpectation Expectation { get; set; }

Output only. The expectation that was evaluated.

Property Value
Type Description
EvaluationTypesGoldenExpectation

ObservedAgentResponse

public Message ObservedAgentResponse { get; set; }

Output only. The result of the agent response expectation.

Property Value
Type Description
Message

ObservedAgentTransfer

public AgentTransfer ObservedAgentTransfer { get; set; }

Output only. The result of the agent transfer expectation.

Property Value
Type Description
AgentTransfer

ObservedPayload

public Struct ObservedPayload { get; set; }

Output only. An observed custom payload. There are no expectations for custom payloads. This is only used for metrics calculation. The outcome is always SKIPPED.

Property Value
Type Description
Struct

ObservedToolCall

public ToolCall ObservedToolCall { get; set; }

Output only. The result of the tool call expectation.

Property Value
Type Description
ToolCall

ObservedToolResponse

public ToolResponse ObservedToolResponse { get; set; }

Output only. The result of the tool response expectation.

Property Value
Type Description
ToolResponse

Outcome

public EvaluationResult.Types.Outcome Outcome { get; set; }

Output only. The outcome of the expectation.

Property Value
Type Description
EvaluationResultTypesOutcome

ResultCase

public EvaluationResult.Types.GoldenExpectationOutcome.ResultOneofCase ResultCase { get; }
Property Value
Type Description
EvaluationResultTypesGoldenExpectationOutcomeResultOneofCase

SemanticSimilarityResult

[Obsolete]
public EvaluationResult.Types.SemanticSimilarityResult SemanticSimilarityResult { get; set; }

Output only. The result of the semantic similarity check.

Property Value
Type Description
EvaluationResultTypesSemanticSimilarityResult

ToolInvocationResult

public EvaluationResult.Types.GoldenExpectationOutcome.Types.ToolInvocationResult ToolInvocationResult { get; set; }

Output only. The result of the tool invocation check.

Property Value
Type Description
EvaluationResultTypesGoldenExpectationOutcomeTypesToolInvocationResult