AgentCoachingInstruction

Agent Coaching instructions that customer can configure.

JSON representation
{
  "displayName": string,
  "displayDetails": string,
  "condition": string,
  "agentAction": string,
  "systemAction": string,
  "duplicateCheckResult": {
    object (DuplicateCheckResult)
  }
}
Fields
displayName

string

Optional. Display name for the instruction.

displayDetails

string

Optional. The detailed description of this instruction.

condition

string

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

string

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

string

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

object (DuplicateCheckResult)

Output only. Duplication check for the AgentCoachingInstruction.

DuplicateCheckResult

Duplication check for the suggestion.

JSON representation
{
  "duplicateSuggestions": [
    {
      object (DuplicateSuggestion)
    }
  ]
}
Fields
duplicateSuggestions[]

object (DuplicateSuggestion)

Output only. The duplicate suggestions.

DuplicateSuggestion

The duplicate suggestion details.

JSON representation
{
  "answerRecord": string,
  "suggestionIndex": integer,
  "similarityScore": number
}
Fields
answerRecord

string

Output only. The answer record id of the past duplicate suggestion.

suggestionIndex

integer

Output only. The index of the duplicate suggestion in the past suggestion list.

similarityScore

number

Output only. The similarity score of between the past and current suggestion.