class Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ArticleAnswer
Represents article answer.
Attributes
The name of answer record, in the format of “projects//locations// answerRecords/” Corresponds to the JSON property `answerRecord` @return [String]
Article match confidence. The system's confidence score that this article is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain). Corresponds to the JSON property `confidence` @return [Float]
A map that contains metadata about the answer and the document from which it originates. Corresponds to the JSON property `metadata` @return [Hash<String,String>]
Article snippets. Corresponds to the JSON property `snippets` @return [Array<String>]
The article title. Corresponds to the JSON property `title` @return [String]
The article URI. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
# File lib/google/apis/dialogflow_v3/classes.rb, line 9145 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3/classes.rb, line 9150 def update!(**args) @answer_record = args[:answer_record] if args.key?(:answer_record) @confidence = args[:confidence] if args.key?(:confidence) @metadata = args[:metadata] if args.key?(:metadata) @snippets = args[:snippets] if args.key?(:snippets) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end