View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1FaqAnswer (google_api_dialogflow v0.77.0)

Represents answer from "frequently asked questions".

Attributes

  • 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/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.