class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ArticleSuggestionData
Agent Assist Article Suggestion data.
Attributes
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]
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>]
Name of the query record. Format: projects/`project`/locations/`location`/ queryRecords/`query_record` Corresponds to the JSON property `queryRecord` @return [String]
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]
Article title. Corresponds to the JSON property `title` @return [String]
Article URI. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 238 def initialize(**args) update!(**args) end
Public Instance Methods
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