mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
Updated 机器人客服 (markdown)
parent
5e344455fb
commit
43488ab6b4
124
机器人客服.md
124
机器人客服.md
@ -3,99 +3,89 @@
|
||||
|
||||
春松客服目前支持在网页渠道中通过集成智能问答引擎实现机器人客服。智能问答引擎是Chatopera团队开发的另外一款重磅产品,在[文档中心](https://docs.chatopera.com/chatbot-engine.html)获得详细的产品介绍。
|
||||
|
||||
下面我们以这两个服务的**公开体验环境**为例介绍怎么接入机器人客服。
|
||||
### 创建聊天机器人
|
||||
|
||||
| 项目 | 地址 | 密码 | 描述 |
|
||||
| --- | --- | --- | --- |
|
||||
| 春松客服坐席工作台 | [http://cc.chatopera.com/](http://cc.chatopera.com/) | 用户名 *admin* 密码 *admin1234* | 管理坐席会话,配置机器人客服 |
|
||||
| 春松客服访客测试端 | [http://cc.chatopera.com/testclient.html ](http://cc.chatopera.com/testclient.html) | 无密码 | 测试访客程序 |
|
||||
| 智能问答引擎 | [https://superadmin.chatopera.com/](https://superadmin.chatopera.com/) | 无密码 | 管理知识库,多轮对话,查看机器人使用情况 |
|
||||
登录[Chatopera开发者平台](https://bot.chatopera.com/),注册并在【控制台】中创建聊天机器人。
|
||||
|
||||
|
||||
## 创建网站渠道
|
||||
以管理员身份*春松客服坐席工作台*,导航【系统-客服接入-网站列表-创建新网站】,按照如下内容设置网站渠道。
|
||||
<table class="image">
|
||||
<caption align="bottom">创建聊天机器人</caption>
|
||||
<tr><td><img width="400" src="https://user-images.githubusercontent.com/3538629/48337546-313b6f00-e69e-11e8-82f0-f5f0c6bb5e2c.png" alt=""/></td></tr>
|
||||
</table>
|
||||
|
||||
| 项目 | 值 | 描述 |
|
||||
|
||||
| 项目 | 值 | 描述 |
|
||||
| --- | --- | --- |
|
||||
| 网站名称 | localhost | 任意字符串 |
|
||||
| 网站地址 | localhost | 网站的域名或IP |
|
||||
| 机器人名称 | 小C | 机器人的名字,创建后不能变更 |
|
||||
| 描述 | 机器人客服 | 机器人的描述 |
|
||||
| 语言 | zh_CN | 机器人的语言为中文 |
|
||||
|
||||
|
||||
<p align="center">
|
||||
<b>创建网站渠道</b><br>
|
||||
<img src="https://user-images.githubusercontent.com/3538629/47127371-6fbc5480-d2bf-11e8-9983-b6f79e97cbf1.png" width="800">
|
||||
</p>
|
||||
机器人具有多轮对话和知识库两个管理对话能力的组件,在创建好机器人后,创建一个问答对作为测试示例。点击【知识库】图标,点击【新建问题】。
|
||||
|
||||
<table class="image">
|
||||
<caption align="bottom">新建问答对</caption>
|
||||
<tr><td><img width="800" src="https://user-images.githubusercontent.com/3538629/48337572-47e1c600-e69e-11e8-8516-32d8840ed8e0.png" alt=""/></td></tr>
|
||||
</table>
|
||||
|
||||
| 项目 | 值 | 描述 |
|
||||
| --- | --- | --- |
|
||||
| 问题 | 缴费年期变更后,佣金如何计算? | 问题的文本 |
|
||||
| 答案 | 变更后仍有佣金的,按照变更后的年期对应的提佣率计算佣金。 | 问题的答案 |
|
||||
|
||||
点击【确定】。
|
||||
|
||||
集成机器人的方式是通过SDK创建机器人实例,使用机器人接口进行对话和查询等。机器人实例的认证和授权是通过*ClientId*和*Secret*完成。
|
||||
|
||||
|
||||
点击【立即提交】保存。
|
||||
<table class="image">
|
||||
<caption align="bottom">查看ClientId和Secret</caption>
|
||||
<tr><td><img width="800" src="https://user-images.githubusercontent.com/3538629/48337591-55974b80-e69e-11e8-9ed6-22179d3140ef.png" alt=""/></td></tr>
|
||||
</table>
|
||||
|
||||
## 创建机器人客服
|
||||
|
||||
### 集成机器人客服
|
||||
以管理员身份*春松客服坐席工作台*,导航【智能机器人-新建机器人】,按照如下内容填入创建表单。
|
||||
|
||||
| 项目 | 值 | 描述 |
|
||||
| 项目 | 值 | 描述 |
|
||||
| --- | --- | --- |
|
||||
| 网站渠道 | localhost | 根据网站地址选择网站渠道 |
|
||||
| 智能问答引擎地址 | http://superadmin.chatopera.com:8003 | 固定值 |
|
||||
| 名称 | 小松 | 机器人的昵称 |
|
||||
| 语言 | 中文 | 目前支持中文或英文 |
|
||||
| 兜底回复 | 抱歉,我不理解,请联系人工客服。| 在机器人未查找到回复时使用的默认回复 |
|
||||
| 欢迎语 | 你好,我是人工智能机器人小松。 | 机器人客服接入时,会发消息和访客打招呼 |
|
||||
| ClientId | xxx | [Chatopera开发者平台机器人ClientId](https://bot.chatopera.com/) |
|
||||
| Secret | xxx | [Chatopera开发者平台机器人Secret](https://bot.chatopera.com/) |
|
||||
| 工作模式 | 机器人客服优先 | 目前支持【机器人客服优先】或【人工客服优先】两种类型 |
|
||||
| 描述 | 机器人客服 | 对机器人的简要介绍 |
|
||||
|
||||
<p align="center">
|
||||
<b>创建机器人客服</b><br>
|
||||
<img src="https://user-images.githubusercontent.com/3538629/47127504-f96c2200-d2bf-11e8-9366-d598b24f0f80.png" width="800">
|
||||
</p>
|
||||
|
||||
<table class="image">
|
||||
<caption align="bottom">集成机器人客服</caption>
|
||||
<tr><td><img width="600" src="https://user-images.githubusercontent.com/3538629/48337614-62b43a80-e69e-11e8-8773-01ad7604c277.png" alt=""/></td></tr>
|
||||
</table>
|
||||
|
||||
点击【保存】创建机器人,返回机器人列表页面,可以找到刚刚创建的机器人客服,创建后,默认状态,机器人是不开启的,在列表页通过【是否开启】设置该机器人为*开启*,如下图所示。
|
||||
|
||||
<p align="center">
|
||||
<b>开启机器人客服</b><br>
|
||||
<img src="https://user-images.githubusercontent.com/3538629/47127885-92e80380-d2c1-11e8-913e-ace93839f9d5.png" width="800">
|
||||
</p>
|
||||
<table class="image">
|
||||
<caption align="bottom">开启机器人客服</caption>
|
||||
<tr><td><img width="800" src="https://user-images.githubusercontent.com/3538629/48337642-752e7400-e69e-11e8-8f76-b9e3490cd57e.png" alt=""/></td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
## 测试机器人客服
|
||||
使用浏览器打开*春松客服访客测试端*,并点击【在线客服】。
|
||||
### 测试机器人客服
|
||||
|
||||
<p align="center">
|
||||
<b>测试访客端</b><br>
|
||||
<img src="https://user-images.githubusercontent.com/3538629/47128338-5f0ddd80-d2c3-11e8-8581-65f3c1321474.png" width="800">
|
||||
</p>
|
||||
> 提示:春松客服访客测试端地址
|
||||
|
||||
```
|
||||
http[s]://春松客服IP[:PORT]/testclient.html
|
||||
```
|
||||
|
||||
使用浏览器打开*春松客服访客测试端*,并点击【在线客服】。在知识库设置好后,当访客在客户端问问题,匹配了知识库的问题后,机器人就自动回复。
|
||||
|
||||
|
||||
比如输入:*缴费年期变更后,佣金如何计算?*,能得到在知识库中设置的答案。
|
||||
|
||||
## 配置机器人知识库
|
||||
登录[*智能问答引擎*](https://superadmin.chatopera.com/),找到【小松】机器人。
|
||||
|
||||
<p align="center">
|
||||
<b>机器人列表页面</b><br>
|
||||
<img src="https://user-images.githubusercontent.com/3538629/47128735-0dfee900-d2c5-11e8-9947-59e69e70d477.png" width="800">
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
进入机器人详情页面,设置【知识库】。
|
||||
|
||||
<p align="center">
|
||||
<b>配置知识库问答对</b><br>
|
||||
<img src="https://user-images.githubusercontent.com/3538629/47128812-72ba4380-d2c5-11e8-83cd-d820af98f5d5.png" width="800">
|
||||
</p>
|
||||
|
||||
|
||||
在建设知识库过程中,可以在右侧对话窗口进行测试。
|
||||
|
||||
## 客服机器人回答问题
|
||||
|
||||
设置好知识库后,当访客在客户端问问题,匹配了知识库的问题后,机器人就自动回复。
|
||||
|
||||
<p align="center">
|
||||
<b>访客端和机器人对话</b><br>
|
||||
<img src="https://user-images.githubusercontent.com/3538629/47128866-a9905980-d2c5-11e8-885a-06bc8f9cd890.png" width="800">
|
||||
</p>
|
||||
<table class="image">
|
||||
<caption align="bottom">访客端和机器人对话</caption>
|
||||
<tr><td><img width="800" src="https://user-images.githubusercontent.com/3538629/48337656-837c9000-e69e-11e8-8318-3395b06badec.png" alt=""/></td></tr>
|
||||
</table>
|
||||
|
||||
如果想使机器人变得更加智能,需要参考关于[Chatopera开发者平台](https://docs.chatopera.com/chatbot-platform.html)的更多介绍。
|
||||
|
||||
本文以介绍集成客服机器人为主,更为详细的功能参考[文档中心](https://docs.chatopera.com/)介绍。
|
Loading…
x
Reference in New Issue
Block a user