Connecting a MS bot framework user to someone on Skype

六眼飞鱼酱① 提交于 2019-12-13 01:40:34

问题


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.

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

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

Edit: I'm toying with the idea of using the commands in http://docs.botframework.com/connector/new-conversations/#navtitle

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" };

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)

EDIT:

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.


回答1:


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.



来源:https://stackoverflow.com/questions/37899111/connecting-a-ms-bot-framework-user-to-someone-on-skype

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!