如何将对话从 Bot 转移到人工座席?在 ibm watson 中使用节点 js
How to transfer conversation from Bot to human agents? in ibm watson using node js
我创建了 watson 聊天机器人,它使用 Node js 作为中间件来回答用户的常见问题解答。但是我怎样才能将对话从机器人转移到任何人工代理。
不胜感激!
谢谢
在这种情况下,您需要知道:Watson Conversation Service 是一个端点 API,因此,您可以调用该服务并在后端创建一个条件,用于识别用户是否想要参加一个人的人工代理或您想对您的应用程序执行的任何操作。
例如,您可以使用 Node.js.
查看 IBM Developer 在 Watson Developer Cloud 中名为 conversation-simple 的项目
您可以简单地在您的聊天机器人中创建一个 #intent
条件:
if bot recognizes #wantsHumanAgent
response: Do you want to talk with one Professional?
并创建一个 @entity
values
: yes or no,在它之后,尝试创建一个条件为
的子节点
if bot recognizes @yesOrNo:yes
response: Please wait! I'll pass you on to an attendant.
或者您也可以为用户与话务员的对话添加 link,例如:
if bot recognizes @yesOrNo:yes
response: The link to talk with one Attendent is <a target="_blank" href="https://yourlink.com">Talk to one Professional!</a>.<br/><br/>
Obs.: 您可以添加一个 自定义代码 来创建您的 functions
或 做某事 在你的应用程序中使用这个 作为基础,并为你想要的创建一个自定义代码:在你的聊天中添加一个与人工代理交谈的选项。
注意:这只是一些基于良好实践的使用建议。您需要在您的虚拟助手中指导您的用户以获得更好的出勤率。
- 查看更多 examples 以使用 Watson Conversation Service 进行构建。
我创建了 watson 聊天机器人,它使用 Node js 作为中间件来回答用户的常见问题解答。但是我怎样才能将对话从机器人转移到任何人工代理。
不胜感激!
谢谢
在这种情况下,您需要知道:Watson Conversation Service 是一个端点 API,因此,您可以调用该服务并在后端创建一个条件,用于识别用户是否想要参加一个人的人工代理或您想对您的应用程序执行的任何操作。
例如,您可以使用 Node.js.
查看 IBM Developer 在 Watson Developer Cloud 中名为 conversation-simple 的项目您可以简单地在您的聊天机器人中创建一个 #intent
条件:
if bot recognizes #wantsHumanAgent
response: Do you want to talk with one Professional?
并创建一个 @entity
values
: yes or no,在它之后,尝试创建一个条件为
if bot recognizes @yesOrNo:yes
response: Please wait! I'll pass you on to an attendant.
或者您也可以为用户与话务员的对话添加 link,例如:
if bot recognizes @yesOrNo:yes
response: The link to talk with one Attendent is <a target="_blank" href="https://yourlink.com">Talk to one Professional!</a>.<br/><br/>
Obs.: 您可以添加一个 自定义代码 来创建您的 functions
或 做某事 在你的应用程序中使用这个
注意:这只是一些基于良好实践的使用建议。您需要在您的虚拟助手中指导您的用户以获得更好的出勤率。
- 查看更多 examples 以使用 Watson Conversation Service 进行构建。