Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::Conversation::Turn (v1.3.0)

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

All information about a single turn in the conversation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#messages

def messages() -> ::Array<::Google::Cloud::Ces::V1beta::Message>
Returns
  • (::Array<::Google::Cloud::Ces::V1beta::Message>) — Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.

#messages=

def messages=(value) -> ::Array<::Google::Cloud::Ces::V1beta::Message>
Parameter
  • value (::Array<::Google::Cloud::Ces::V1beta::Message>) — Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.
Returns
  • (::Array<::Google::Cloud::Ces::V1beta::Message>) — Optional. List of messages in the conversation turn, including user input, agent responses and intermediate events during the processing.

#root_span

def root_span() -> ::Google::Cloud::Ces::V1beta::Span
Returns

#root_span=

def root_span=(value) -> ::Google::Cloud::Ces::V1beta::Span
Parameter
Returns

#user_intended_text

def user_intended_text() -> ::String
Returns
  • (::String) — Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated when word error rate metrics are enabled.

#user_intended_text=

def user_intended_text=(value) -> ::String
Parameter
  • value (::String) — Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated when word error rate metrics are enabled.
Returns
  • (::String) — Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated when word error rate metrics are enabled.