Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::AgentCoachingSuggestion::DuplicateCheckResult::DuplicateSuggestion.
The duplicate suggestion details. Keeping answer_record and sources together as they are identifiers for duplicate suggestions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#answer_record
def answer_record() -> ::String
Returns
- (::String) — Output only. The answer record id of the past duplicate suggestion.
#similarity_score
def similarity_score() -> ::Float
Returns
- (::Float) — Output only. The similarity score of between the past and current suggestion.
#sources
def sources() -> ::Google::Cloud::Dialogflow::V2::AgentCoachingSuggestion::Sources
Returns
- (::Google::Cloud::Dialogflow::V2::AgentCoachingSuggestion::Sources) — Output only. Sources for the suggestion.
#suggestion_index
def suggestion_index() -> ::Integer
Returns
- (::Integer) — Output only. The index of the duplicate suggestion in the past suggestion list.