GoodIntentionsAssistant / gi

Good Intentions Node.js Assistant Framework
http://goodintentions.firecreekweb.com
MIT License
3 stars 1 forks source link

Agent take over session #45

Open darrenmoore opened 6 years ago

darrenmoore commented 6 years ago

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

darrenmoore commented 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.