Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::Evaluation::Step (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::Evaluation::Step.

A step defines a singular action to happen during the evaluation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#agent_transfer

def agent_transfer() -> ::Google::Cloud::Ces::V1beta::AgentTransfer
Returns
  • (::Google::Cloud::Ces::V1beta::AgentTransfer) — Optional. Transfer the conversation to a different agent.

    Note: The following fields are mutually exclusive: agent_transfer, user_input, expectation. If a field in that set is populated, all other fields in the set will automatically be cleared.

#agent_transfer=

def agent_transfer=(value) -> ::Google::Cloud::Ces::V1beta::AgentTransfer
Parameter
  • value (::Google::Cloud::Ces::V1beta::AgentTransfer) — Optional. Transfer the conversation to a different agent.

    Note: The following fields are mutually exclusive: agent_transfer, user_input, expectation. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Ces::V1beta::AgentTransfer) — Optional. Transfer the conversation to a different agent.

    Note: The following fields are mutually exclusive: agent_transfer, user_input, expectation. If a field in that set is populated, all other fields in the set will automatically be cleared.

#expectation

def expectation() -> ::Google::Cloud::Ces::V1beta::Evaluation::GoldenExpectation
Returns
  • (::Google::Cloud::Ces::V1beta::Evaluation::GoldenExpectation) — Optional. Executes an expectation on the current turn.

    Note: The following fields are mutually exclusive: expectation, user_input, agent_transfer. If a field in that set is populated, all other fields in the set will automatically be cleared.

#expectation=

def expectation=(value) -> ::Google::Cloud::Ces::V1beta::Evaluation::GoldenExpectation
Parameter
  • value (::Google::Cloud::Ces::V1beta::Evaluation::GoldenExpectation) — Optional. Executes an expectation on the current turn.

    Note: The following fields are mutually exclusive: expectation, user_input, agent_transfer. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Ces::V1beta::Evaluation::GoldenExpectation) — Optional. Executes an expectation on the current turn.

    Note: The following fields are mutually exclusive: expectation, user_input, agent_transfer. If a field in that set is populated, all other fields in the set will automatically be cleared.

#user_input

def user_input() -> ::Google::Cloud::Ces::V1beta::SessionInput
Returns
  • (::Google::Cloud::Ces::V1beta::SessionInput) — Optional. User input for the conversation.

    Note: The following fields are mutually exclusive: user_input, agent_transfer, expectation. If a field in that set is populated, all other fields in the set will automatically be cleared.

#user_input=

def user_input=(value) -> ::Google::Cloud::Ces::V1beta::SessionInput
Parameter
  • value (::Google::Cloud::Ces::V1beta::SessionInput) — Optional. User input for the conversation.

    Note: The following fields are mutually exclusive: user_input, agent_transfer, expectation. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Ces::V1beta::SessionInput) — Optional. User input for the conversation.

    Note: The following fields are mutually exclusive: user_input, agent_transfer, expectation. If a field in that set is populated, all other fields in the set will automatically be cleared.