Open darrenmoore opened 6 years ago
Example would trigger when x number of failed intents. For each failed intent an event is triggered. Maybe make a new event trigger for this.
Store an error count.
For each successful request reduce the count.
When it hands over it'll catch all future requests. Maybe it could create a new request type? RequestAgent? This would mean the type would have to be manipulated at dispatch by the skill.
WHY Maybe a conversation is going bad and the user is upset. If they are too upset, maybe track their sentiment over each call Then ability to connect them to an agent.
WHAT AgentExample Skill
Two intents 1) To talk to agent directly on request 2) When too many failed requests
End the response Send timed messages back to user Then say "To go back to the bot type in bananas"
After bananas is typed in it goes back to the bot It says thank you. Then ask to rate the conversation