将MS Bot框架用户连接到Skype上的某人 [英] Connecting a MS bot framework user to someone on Skype

查看:85
本文介绍了将MS Bot框架用户连接到Skype上的某人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Microsoft Bot Framework制作了一个聊天机器人,该机器人可以回答用户的问题.当漫游器无法回答用户的问题时,我希望能够将用户问题重定向到Skype上的客户代表.

I've made a chat bot using Microsoft Bot Framework which answers a user's questions. When the bot is unable to answer the user's questions, I want to be able to redirect the user question to a customer rep on Skype.

Skype上的人将看到用户发布的消息,并将其答案发送给用户.

The person on Skype will see the messages posted by the user, and his answers will be sent to the user.

我需要一些有关如何实现此连接的建议(来自用户<-> chatbot<-> SkypecustomerRep)

I need some advice on how to achieve this connection (from user<->chatbot<->SkypecustomerRep)

我想在 http://docs.botframework中使用命令. com/connector/new-conversations/#navtitle

我想知道LuisIntent何时会变成None,我会通过以下方式发送Skype ID: var connector = new ConnectorClient(); var message = new Message { From = new ChannelAccount(channelId: ""), To = new ChannelAccount() {ChannelId = "Skype", Address = "xyz@abc.com"}, Text = result.Query, Language = "en" };

I figured when the LuisIntent would turn out to be None, I'd message a skype id with: var connector = new ConnectorClient(); var message = new Message { From = new ChannelAccount(channelId: ""), To = new ChannelAccount() {ChannelId = "Skype", Address = "xyz@abc.com"}, Text = result.Query, Language = "en" };

其中电子邮件是Skype ID.我无法弄清楚发件人"字段中的内容(channelId,我的漫游器地址)

where the email is the Skype id. I'm not able to figure out what should be in the From field (what's the channelId, Address of my bot)

我现在可以向Skype传递一条消息,但是当Skype用户答复时,我发现答复没有立即呈现给bot框架用户.换句话说,当用户在聊天窗口中键入内容时,他会从漫游器得到响应(如预期的那样),并收到Skype用户的延迟消息.

I'm able to pass one message to Skype now, but when the Skype user replies, I observe that the reply is not immediately presented to the bot framework user. In other words, when the user types something into the chat window, he gets a response from the bot (as expected) and the skype user's delayed message.

推荐答案

如果您希望客户支持代表具有足够的背景信息(即,不仅仅看到用户发布的最新文本),就需要构建您自己的客户支持界面,既可以记录对话,也可以突出显示需要人工关注的对话.通常,人们使用DirectLine建立自己的客户,或连接现有的客户支持客户(也使用DirectLine).然后,该漫游器将支持代表的答复直接传递回最终用户.

If you want the customer support representative to have sufficient context (i.e. see more than just the most recent text posted by the user) you are going to need to build your own customer support interface to both record conversations as well as highlight those that need attention from a human. Usually folks do this building their own client with DirectLine or connecting up their existing customer support client (also with DirectLine). The bot then directly passes the support reps replies back to the end users.

一些其他细节可以在中找到答案.

Some additional detail can be seen in this previous answer.

这篇关于将MS Bot框架用户连接到Skype上的某人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆