View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer (google_api_dialogflow v0.88.3)

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.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery.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.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer.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

t()

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer{
    answerRecord: String.t() | nil,
    suggestedQuery:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery.t()
      | nil,
    suggestedQueryAnswer:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer.t()
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.