Class: Google::Cloud::Dialogflow::V2::AnswerFeedback

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/answer_record.rb

Overview

Represents feedback the customer has about the quality & correctness of a certain answer in a conversation.

Defined Under Namespace

Modules: CorrectnessLevel

Instance Attribute Summary collapse

Instance Attribute Details

#agent_assistant_detail_feedback::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback

Returns Detail feedback of agent assist suggestions.

Returns:



157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 157

class AnswerFeedback
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The correctness level of an answer.
  module CorrectnessLevel
    # Correctness level unspecified.
    CORRECTNESS_LEVEL_UNSPECIFIED = 0

    # Answer is totally wrong.
    NOT_CORRECT = 1

    # Answer is partially correct.
    PARTIALLY_CORRECT = 2

    # Answer is fully correct.
    FULLY_CORRECT = 3
  end
end

#click_time::Google::Protobuf::Timestamp

Returns Time when the answer/item was clicked.

Returns:



157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 157

class AnswerFeedback
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The correctness level of an answer.
  module CorrectnessLevel
    # Correctness level unspecified.
    CORRECTNESS_LEVEL_UNSPECIFIED = 0

    # Answer is totally wrong.
    NOT_CORRECT = 1

    # Answer is partially correct.
    PARTIALLY_CORRECT = 2

    # Answer is fully correct.
    FULLY_CORRECT = 3
  end
end

#clicked::Boolean

Returns Indicates whether the answer/item was clicked by the human agent or not. Default to false. For knowledge search and knowledge assist, the answer record is considered to be clicked if the answer was copied or any URI was clicked.

Returns:

  • (::Boolean)

    Indicates whether the answer/item was clicked by the human agent or not. Default to false. For knowledge search and knowledge assist, the answer record is considered to be clicked if the answer was copied or any URI was clicked.



157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 157

class AnswerFeedback
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The correctness level of an answer.
  module CorrectnessLevel
    # Correctness level unspecified.
    CORRECTNESS_LEVEL_UNSPECIFIED = 0

    # Answer is totally wrong.
    NOT_CORRECT = 1

    # Answer is partially correct.
    PARTIALLY_CORRECT = 2

    # Answer is fully correct.
    FULLY_CORRECT = 3
  end
end

#correctness_level::Google::Cloud::Dialogflow::V2::AnswerFeedback::CorrectnessLevel

Returns The correctness level of the specific answer.

Returns:



157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 157

class AnswerFeedback
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The correctness level of an answer.
  module CorrectnessLevel
    # Correctness level unspecified.
    CORRECTNESS_LEVEL_UNSPECIFIED = 0

    # Answer is totally wrong.
    NOT_CORRECT = 1

    # Answer is partially correct.
    PARTIALLY_CORRECT = 2

    # Answer is fully correct.
    FULLY_CORRECT = 3
  end
end

#display_time::Google::Protobuf::Timestamp

Returns Time when the answer/item was displayed.

Returns:



157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 157

class AnswerFeedback
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The correctness level of an answer.
  module CorrectnessLevel
    # Correctness level unspecified.
    CORRECTNESS_LEVEL_UNSPECIFIED = 0

    # Answer is totally wrong.
    NOT_CORRECT = 1

    # Answer is partially correct.
    PARTIALLY_CORRECT = 2

    # Answer is fully correct.
    FULLY_CORRECT = 3
  end
end

#displayed::Boolean

Returns Indicates whether the answer/item was displayed to the human agent in the agent desktop UI. Default to false.

Returns:

  • (::Boolean)

    Indicates whether the answer/item was displayed to the human agent in the agent desktop UI. Default to false.



157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# File 'proto_docs/google/cloud/dialogflow/v2/answer_record.rb', line 157

class AnswerFeedback
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The correctness level of an answer.
  module CorrectnessLevel
    # Correctness level unspecified.
    CORRECTNESS_LEVEL_UNSPECIFIED = 0

    # Answer is totally wrong.
    NOT_CORRECT = 1

    # Answer is partially correct.
    PARTIALLY_CORRECT = 2

    # Answer is fully correct.
    FULLY_CORRECT = 3
  end
end