class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ArticleSuggestionData

Agent Assist Article Suggestion data.

Attributes

confidence_score[RW]

The system's confidence score that this article 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 Article Suggestion and the document that it originates from. 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]

source[RW]

The knowledge document that this answer was extracted from. Format: projects/` project`/knowledgeBases/`knowledge_base`/documents/`document` Corresponds to the JSON property `source` @return [String]

title[RW]

Article title. Corresponds to the JSON property `title` @return [String]

uri[RW]

Article URI. Corresponds to the JSON property `uri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 238
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 243
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)
  @source = args[:source] if args.key?(:source)
  @title = args[:title] if args.key?(:title)
  @uri = args[:uri] if args.key?(:uri)
end