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. |
triggeringEvent
|
Optional. The event that should trigger this instruction. If UNSPECIFIED, the instruction triggering will be same as the generator's triggerEvent. |
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. |
TriggerEvent
The event that should trigger this instruction.
| Enums | |
|---|---|
TRIGGER_EVENT_UNSPECIFIED
|
Default value for TriggerEvent. |
END_OF_UTTERANCE
|
Triggers when each chat message or voice utterance ends. |
MANUAL_CALL
|
Triggers on the conversation manually by API calls. |
CUSTOMER_MESSAGE
|
Triggers after each customer message. |
AGENT_MESSAGE
|
Triggers after each agent message. |
TOOL_CALL_COMPLETION
|
Triggers on tool call completion. |

