View Source GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData (google_api_contact_center_insights v0.6.0)

Agent Assist frequently-asked-question answer data.

Attributes

  • answer (type: String.t, default: nil) - The piece of text from the source knowledge base document.
  • confidenceScore (type: number(), default: nil) - The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
  • metadata (type: map(), default: nil) - Map that contains metadata about the FAQ answer and the document that it originates from.
  • queryRecord (type: String.t, default: nil) - The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
  • question (type: String.t, default: nil) - The corresponding FAQ question.
  • source (type: String.t, default: nil) - The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData{
    answer: String.t() | nil,
    confidenceScore: number() | nil,
    metadata: map() | nil,
    queryRecord: String.t() | nil,
    question: String.t() | nil,
    source: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.