GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FaqAnswer (google_api_dialogflow v0.66.2) View Source

Represents answer from "frequently asked questions".


  • answer (type: String.t, default: nil) - The piece of text from the source knowledge base document.
  • answerRecord (type: String.t, default: nil) - The name of answer record, in the format of "projects//locations//answerRecords/"
  • confidence (type: number(), default: nil) - The system's confidence score that this Knowledge answer is a good match for this conversational query, range from 0.0 (completely uncertain) to 1.0 (completely certain).
  • metadata (type: map(), default: nil) - A map that contains metadata about the answer and the document from which it originates.
  • question (type: String.t, default: nil) - The corresponding FAQ question.
  • source (type: String.t, default: nil) - Indicates which Knowledge Document this answer was extracted from. Format: projects//locations//agent/knowledgeBases//documents/.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2FaqAnswer{
  answer: String.t() | nil,
  answerRecord: String.t() | nil,
  confidence: number() | nil,
  metadata: map() | nil,
  question: String.t() | nil,
  source: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.