class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FaqAnswerData
Agent Assist frequently-asked-question answer data.
Attributes
The piece of text from the `source` knowledge base document. Corresponds to the JSON property `answer` @return [String]
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). Corresponds to the JSON property `confidenceScore` @return [Float]
Map that contains metadata about the FAQ answer 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 corresponding FAQ question. Corresponds to the JSON property `question` @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]
Public Class Methods
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 1361 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 1366 def update!(**args) @answer = args[:answer] if args.key?(:answer) @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) @question = args[:question] if args.key?(:question) @source = args[:source] if args.key?(:source) end