GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1FaqAnswerData (google_api_contact_center_insights v0.3.0) View Source

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) - Name of the query record. Format: projects/{project}/locations/{location}/queryRecords/{query_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}.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.