View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer (google_api_dialogflow v0.88.3)
Represents an answer from Knowledge. Currently supports FAQ and Generative answers.
Attributes
-
answerText
(type:String.t
, default:nil
) - The piece of text from thesource
that answers this suggested query. -
faqSource
(type:GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource.t
, default:nil
) - Populated if the prediction came from FAQ. -
generativeSource
(type:GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource.t
, default:nil
) - Populated if the prediction was Generative.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer{ answerText: String.t() | nil, faqSource: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource.t() | nil, generativeSource: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource.t() | nil }