View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ArticleAnswer (google_api_dialogflow v0.78.0)

Represents article answer.

Attributes

  • answerRecord (type: String.t, default: nil) - The name of answer record, in the format of "projects//locations//answerRecords/"
  • confidence (type: number(), default: nil) - Article match confidence. The system's confidence score that this article is a good match for this conversation, as a value 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.
  • snippets (type: list(String.t), default: nil) - Article snippets.
  • title (type: String.t, default: nil) - The article title.
  • uri (type: String.t, default: nil) - The article URI.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ArticleAnswer{
  answerRecord: String.t() | nil,
  confidence: number() | nil,
  metadata: map() | nil,
  snippets: [String.t()] | nil,
  title: String.t() | nil,
  uri: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.