Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::Evaluation::ScenarioExpectation.
The expectation to evaluate the conversation produced by the simulation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#agent_response
def agent_response() -> ::Google::Cloud::Ces::V1beta::Message-
(::Google::Cloud::Ces::V1beta::Message) — Optional. The agent response to be evaluated.
Note: The following fields are mutually exclusive:
agent_response,tool_expectation. If a field in that set is populated, all other fields in the set will automatically be cleared.
#agent_response=
def agent_response=(value) -> ::Google::Cloud::Ces::V1beta::Message-
value (::Google::Cloud::Ces::V1beta::Message) — Optional. The agent response to be evaluated.
Note: The following fields are mutually exclusive:
agent_response,tool_expectation. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1beta::Message) — Optional. The agent response to be evaluated.
Note: The following fields are mutually exclusive:
agent_response,tool_expectation. If a field in that set is populated, all other fields in the set will automatically be cleared.
#tool_expectation
def tool_expectation() -> ::Google::Cloud::Ces::V1beta::Evaluation::ScenarioExpectation::ToolExpectation-
(::Google::Cloud::Ces::V1beta::Evaluation::ScenarioExpectation::ToolExpectation) — Optional. The tool call and response pair to be evaluated.
Note: The following fields are mutually exclusive:
tool_expectation,agent_response. If a field in that set is populated, all other fields in the set will automatically be cleared.
#tool_expectation=
def tool_expectation=(value) -> ::Google::Cloud::Ces::V1beta::Evaluation::ScenarioExpectation::ToolExpectation-
value (::Google::Cloud::Ces::V1beta::Evaluation::ScenarioExpectation::ToolExpectation) — Optional. The tool call and response pair to be evaluated.
Note: The following fields are mutually exclusive:
tool_expectation,agent_response. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1beta::Evaluation::ScenarioExpectation::ToolExpectation) — Optional. The tool call and response pair to be evaluated.
Note: The following fields are mutually exclusive:
tool_expectation,agent_response. If a field in that set is populated, all other fields in the set will automatically be cleared.