通过Microsoft Bot框架进行客户与客户聊天 [英] Client-Client chatting via Microsoft Bot framework

查看:116
本文介绍了通过Microsoft Bot框架进行客户与客户聊天的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Microsoft Bot Framework的新手,我将建立一个项目,客户可以与该Bot聊天以获取信息,此外,我希望Bot向我的用户建议他们是否要与该Bot聊天. Bot或与我的秘书一起使用我的管理网站来接收Bot转发的客户的消息.所以我的问题是,我的秘书如何才能与客户聊天,而Bot将保持沉默.无论如何,不​​使用对话聊天组就可以做什么,因为我的秘书可能不使用Bot Framework聊天控件进行连接.我正在考虑使用SignalR,它将帮助我的秘书与客户聊天

I'm new with Microsoft Bot Framework, I'm going to build a project which my customers can chat with the bot to get information, and furthermore, I want my Bot to suggest my users whether they want to chat with the Bot or with my secrectary who uses my management website to receive customer's message forwarded by the Bot . So my question here is, how can my secretary can join the chat with customer and the Bot will keep silent. Is there anyway to do without using Conversation Chat group because my secretary may not use the Bot Framework chat control to connect. I'm thinking of using SignalR which will help my secretary chat with customers

这是我的计划:

推荐答案

看看 Bot HandOff示例(node.js)和中介Bot示例(C#)因为它们会为您提供构建所需内容的基础知识.

Take a look to the Bot HandOff sample (node.js) and the Intermediator Bot sample (C#) as they will give you the basics to build what you are looking for.

基本上,在示例中,您将看到如何将用户与机器人进行的对话移交给人类(在本例中为您的秘书).唯一的先决条件是您的秘书必须处于BotFramework支持的渠道之一,例如通过Skype与Bot进行联系,因为用户和秘书之间的对话将通过机器人进行(机器人将充当消息路由器).

Basically, in the samples you will see how to handoff the conversation the user is having with the bot to a human (in this case your secretary). The only pre-req is that your secretary would have to be in one of the supported channels for BotFramework, e.g. Skype and have the Bot as a contact, because the conversation between the user and the secretary would be through the bot (the bot will act as a message router).

如果您使用自定义渠道(例如您的网站);您仍然可以按照示例中介绍的某些模式进行操作.

If you use a custom channel (like your website); you still can follow some of the patterns explained in the samples.

这篇关于通过Microsoft Bot框架进行客户与客户聊天的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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