Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class AnswerFeedback.
Represents feedback the customer has about the quality & correctness of a certain answer in a conversation.
Generated from protobuf message google.cloud.dialogflow.v2.AnswerFeedback
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ correctness_level
int
The correctness level of the specific answer.
↳ agent_assistant_detail_feedback
↳ clicked
bool
Indicates whether the answer/item was clicked by the human agent or not. Default to false. For knowledge search, the answer record is considered to be clicked if the answer was copied or any URI was clicked.
↳ click_time
↳ displayed
bool
Indicates whether the answer/item was displayed to the human agent in the agent desktop UI. Default to false.
↳ display_time
getCorrectnessLevel
The correctness level of the specific answer.
int
setCorrectnessLevel
The correctness level of the specific answer.
var
int
$this
getAgentAssistantDetailFeedback
Detail feedback of agent assist suggestions.
hasAgentAssistantDetailFeedback
setAgentAssistantDetailFeedback
Detail feedback of agent assist suggestions.
$this
getClicked
Indicates whether the answer/item was clicked by the human agent or not. Default to false.
For knowledge search, the answer record is considered to be clicked if the answer was copied or any URI was clicked.
bool
setClicked
Indicates whether the answer/item was clicked by the human agent or not. Default to false.
For knowledge search, the answer record is considered to be clicked if the answer was copied or any URI was clicked.
var
bool
$this
getClickTime
Time when the answer/item was clicked.
hasClickTime
clearClickTime
setClickTime
Time when the answer/item was clicked.
$this
getDisplayed
Indicates whether the answer/item was displayed to the human agent in the agent desktop UI. Default to false.
bool
setDisplayed
Indicates whether the answer/item was displayed to the human agent in the agent desktop UI. Default to false.
var
bool
$this
getDisplayTime
Time when the answer/item was displayed.
hasDisplayTime
clearDisplayTime
setDisplayTime
Time when the answer/item was displayed.
$this
getDetailFeedback
string