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

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

Agent Assist Smart Compose suggestion data.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence_score

def confidence_score() -> ::Float
Returns
  • (::Float) — The system's confidence score that this suggestion 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 suggestion 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 suggestion 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 Smart Compose suggestion and the document from which it originates.

#metadata=

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

#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}

#suggestion

def suggestion() -> ::String
Returns
  • (::String) — The content of the suggestion.

#suggestion=

def suggestion=(value) -> ::String
Parameter
  • value (::String) — The content of the suggestion.
Returns
  • (::String) — The content of the suggestion.