View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSessionTurn (google_api_discovery_engine v0.27.0)
Represents a turn, including a query from the user and a answer from service.
Attributes
-
answer
(type:String.t
, default:nil
) - The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn. -
detailedAnswer
(type:GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswer.t
, default:nil
) - Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting answer query session. -
query
(type:GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaQuery.t
, default:nil
) - The user query.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSessionTurn{ answer: String.t() | nil, detailedAnswer: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswer.t() | nil, query: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaQuery.t() | nil }