Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::FaqAnswerData (v0.14.0)

Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::FaqAnswerData.

Agent Assist frequently-asked-question answer data.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#answer

def answer() -> ::String
Returns
  • (::String) — The piece of text from the source knowledge base document.

#answer=

def answer=(value) -> ::String
Parameter
  • value (::String) — The piece of text from the source knowledge base document.
Returns
  • (::String) — The piece of text from the source knowledge base document.

#confidence_score

def confidence_score() -> ::Float
Returns
  • (::Float) — 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).

#confidence_score=

def confidence_score=(value) -> ::Float
Parameter
  • value (::Float) — 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).
Returns
  • (::Float) — 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

def metadata() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Map that contains metadata about the FAQ answer and the document that it originates from.

#metadata=

def metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Map that contains metadata about the FAQ answer and the document that it originates from.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Map that contains metadata about the FAQ answer and the document that it originates from.

#query_record

def query_record() -> ::String
Returns
  • (::String) — The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

#query_record=

def query_record=(value) -> ::String
Parameter
  • value (::String) — The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
Returns
  • (::String) — The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

#question

def question() -> ::String
Returns
  • (::String) — The corresponding FAQ question.

#question=

def question=(value) -> ::String
Parameter
  • value (::String) — The corresponding FAQ question.
Returns
  • (::String) — The corresponding FAQ question.

#source

def source() -> ::String
Returns
  • (::String) — The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.

#source=

def source=(value) -> ::String
Parameter
  • value (::String) — The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.
Returns
  • (::String) — The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.