Class: Google::Cloud::DiscoveryEngine::V1::Session::Turn

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/session.rb

Overview

Represents a turn, including a query from the user and a answer from service.

Instance Attribute Summary collapse

Instance Attribute Details

#answer::String

Returns The resource name of the answer to the user query.

Only set if the answer generation (/answer API call) happened in this turn.

Returns:

  • (::String)

    The resource name of the answer to the user query.

    Only set if the answer generation (/answer API call) happened in this turn.



59
60
61
62
# File 'proto_docs/google/cloud/discoveryengine/v1/session.rb', line 59

class Turn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#query::Google::Cloud::DiscoveryEngine::V1::Query

Returns The user query.

Returns:



59
60
61
62
# File 'proto_docs/google/cloud/discoveryengine/v1/session.rb', line 59

class Turn
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end