class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData

Agent Assist Smart Compose suggestion data.

Attributes

confidence_score[RW]

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). Corresponds to the JSON property `confidenceScore` @return [Float]

metadata[RW]

Map that contains metadata about the Smart Compose suggestion and the document from which it originates. Corresponds to the JSON property `metadata` @return [Hash<String,String>]

query_record[RW]

Name of the query record. Format: projects/`project`/locations/`location`/ queryRecords/`query_record` Corresponds to the JSON property `queryRecord` @return [String]

suggestion[RW]

The content of the suggestion. Corresponds to the JSON property `suggestion` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 2244
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 2249
def update!(**args)
  @confidence_score = args[:confidence_score] if args.key?(:confidence_score)
  @metadata = args[:metadata] if args.key?(:metadata)
  @query_record = args[:query_record] if args.key?(:query_record)
  @suggestion = args[:suggestion] if args.key?(:suggestion)
end