View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2KnowledgeAssistAnswer (google_api_dialogflow v0.88.0)

Represents a Knowledge Assist answer.

Attributes

  • answerRecord (type: String.t, default: nil) - The name of the answer record. Format: projects//locations//answer Records/.
  • suggestedQuery (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery.t, default: nil) - The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion.
  • suggestedQueryAnswer (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer.t, default: nil) - The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2KnowledgeAssistAnswer{
    answerRecord: String.t() | nil,
    suggestedQuery:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery.t()
      | nil,
    suggestedQueryAnswer:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer.t()
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.