Gemini Enterprise for Customer Experience v1beta API - Class Evaluation.Types.GoldenExpectation (1.0.0-beta01)

public sealed class Evaluation.Types.GoldenExpectation : IMessage<Evaluation.Types.GoldenExpectation>, IEquatable<Evaluation.Types.GoldenExpectation>, IDeepCloneable<Evaluation.Types.GoldenExpectation>, IBufferMessage, IMessage

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

Represents a single, checkable requirement.

Inheritance

object > Evaluation.Types.GoldenExpectation

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

GoldenExpectation()

public GoldenExpectation()

GoldenExpectation(GoldenExpectation)

public GoldenExpectation(Evaluation.Types.GoldenExpectation other)
Parameter
Name Description
other EvaluationTypesGoldenExpectation

Properties

AgentResponse

public Message AgentResponse { get; set; }

Optional. Check that the agent responded with the correct response. The role "agent" is implied.

Property Value
Type Description
Message

AgentTransfer

public AgentTransfer AgentTransfer { get; set; }

Optional. Check that the agent transferred the conversation to a different agent.

Property Value
Type Description
AgentTransfer

ConditionCase

public Evaluation.Types.GoldenExpectation.ConditionOneofCase ConditionCase { get; }
Property Value
Type Description
EvaluationTypesGoldenExpectationConditionOneofCase

MockToolResponse

public ToolResponse MockToolResponse { get; set; }

Optional. The tool response to mock, with the parameters of interest specified. Any parameters not specified will be hallucinated by the LLM.

Property Value
Type Description
ToolResponse

Note

public string Note { get; set; }

Optional. A note for this requirement, useful in reporting when specific checks fail. E.g., "Check_Payment_Tool_Called".

Property Value
Type Description
string

ToolCall

public ToolCall ToolCall { get; set; }

Optional. Check that a specific tool was called with the parameters.

Property Value
Type Description
ToolCall

ToolResponse

public ToolResponse ToolResponse { get; set; }

Optional. Check that a specific tool had the expected response.

Property Value
Type Description
ToolResponse

UpdatedVariables

public Struct UpdatedVariables { get; set; }

Optional. Check that the agent updated the session variables to the expected values. Used to also capture agent variable updates for golden evals.

Property Value
Type Description
Struct