Agent Coaching instructions that customer can configure.
| JSON representation |
|---|
{
"displayName"
:
string
,
"displayDetails"
:
string
,
"condition"
:
string
,
"agentAction"
:
string
,
"systemAction"
:
string
,
"duplicateCheckResult"
:
{
object (
|
| Fields | |
|---|---|
displayName
|
Optional. Display name for the instruction. |
displayDetails
|
Optional. The detailed description of this instruction. |
condition
|
Optional. The condition of the instruction. For example, "the customer wants to cancel an order". If the users want the instruction to be triggered unconditionally, the condition can be empty. |
agentAction
|
Optional. The action that human agent should take. For example, "apologize for the slow shipping". If the users only want to use agent coaching for intent detection, agentAction can be empty |
systemAction
|
Optional. The action that system should take. For example, "call GetOrderTime with order_number={order number provided by the customer}". If the users don't have plugins or don't want to trigger plugins, the systemAction can be empty |
duplicateCheckResult
|
Output only. Duplication check for the AgentCoachingInstruction. |
DuplicateCheckResult
Duplication check for the suggestion.
| JSON representation |
|---|
{
"duplicateSuggestions"
:
[
{
object (
|
| Fields | |
|---|---|
duplicateSuggestions[]
|
Output only. The duplicate suggestions. |
DuplicateSuggestion
The duplicate suggestion details.
| JSON representation |
|---|
{ "answerRecord" : string , "suggestionIndex" : integer , "similarityScore" : number } |
| Fields | |
|---|---|
answerRecord
|
Output only. The answer record id of the past duplicate suggestion. |
suggestionIndex
|
Output only. The index of the duplicate suggestion in the past suggestion list. |
similarityScore
|
Output only. The similarity score of between the past and current suggestion. |

