Interface Evaluation.ScenarioExpectationOrBuilder (0.3.0)

public static interface Evaluation.ScenarioExpectationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAgentResponse()

public abstract Message getAgentResponse()

Optional. The agent response to be evaluated.

.google.cloud.ces.v1beta.Message agent_response = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Message

The agentResponse.

getAgentResponseOrBuilder()

public abstract MessageOrBuilder getAgentResponseOrBuilder()

Optional. The agent response to be evaluated.

.google.cloud.ces.v1beta.Message agent_response = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MessageOrBuilder

getExpectationCase()

public abstract Evaluation.ScenarioExpectation.ExpectationCase getExpectationCase()
Returns
Type Description
Evaluation.ScenarioExpectation.ExpectationCase

getToolExpectation()

public abstract Evaluation.ScenarioExpectation.ToolExpectation getToolExpectation()

Optional. The tool call and response pair to be evaluated.

.google.cloud.ces.v1beta.Evaluation.ScenarioExpectation.ToolExpectation tool_expectation = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Evaluation.ScenarioExpectation.ToolExpectation

The toolExpectation.

getToolExpectationOrBuilder()

public abstract Evaluation.ScenarioExpectation.ToolExpectationOrBuilder getToolExpectationOrBuilder()

Optional. The tool call and response pair to be evaluated.

.google.cloud.ces.v1beta.Evaluation.ScenarioExpectation.ToolExpectation tool_expectation = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Evaluation.ScenarioExpectation.ToolExpectationOrBuilder

hasAgentResponse()

public abstract boolean hasAgentResponse()

Optional. The agent response to be evaluated.

.google.cloud.ces.v1beta.Message agent_response = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the agentResponse field is set.

hasToolExpectation()

public abstract boolean hasToolExpectation()

Optional. The tool call and response pair to be evaluated.

.google.cloud.ces.v1beta.Evaluation.ScenarioExpectation.ToolExpectation tool_expectation = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the toolExpectation field is set.