Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Session::Turn.
Represents a turn, including a query from the user and a answer from service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#answer
def answer() -> ::String
-
(::String) — The resource name of the answer to the user query.
Only set if the answer generation (/answer API call) happened in this turn.
#answer=
def answer=(value) -> ::String
-
value (::String) — The resource name of the answer to the user query.
Only set if the answer generation (/answer API call) happened in this turn.
-
(::String) — The resource name of the answer to the user query.
Only set if the answer generation (/answer API call) happened in this turn.
#query
def query() -> ::Google::Cloud::DiscoveryEngine::V1::Query
- (::Google::Cloud::DiscoveryEngine::V1::Query) — The user query.
#query=
def query=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Query
- value (::Google::Cloud::DiscoveryEngine::V1::Query) — The user query.
- (::Google::Cloud::DiscoveryEngine::V1::Query) — The user query.