1 Star 1 Fork 6

Chatopera / chatbot-samples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

Chatopera 对话模板

本源码库提供多个 对话模板 项目,基于这些项目,您可以:

  • 快速掌握 Chatopera 对话机器人开发,实现智能问答,智能客服等应用; 以对话模板为脚手架,学习最佳实践,开发多轮对话;

  • 快速掌握 Chatopera 机器人的系统集成。

开始阅读前,请完成

确保您已经完成新手任务!!!很简单的,40 分钟内,即可按照提示,一步步完成,以节省您的时间!少走弯路!

新手任务:使用入门教程一步步实现智能对话机器人

使用 CLI 导入

安装并配置 Chatopera CLI -

https://docs.chatopera.com/products/chatbot-platform/howto-guides/cli-export-import.html

TL; DR

首先,安装 Nodejs 和 Git for Windows(默认带有 Git Bash 环境)。

然后,执行:

npm install -g @chatopera/sdk

接着, 在 shell profile 中设置如下命令, 比如 ~/.zshrc or ~/.bashrc

export CHATBOT_SAMPLES=YOUR_CLONED_PLACE
# export bot files into current work dir
alias botexport="$CHATBOT_SAMPLES/bin/export.sh"
# import bot files under current work dir
alias botimport="$CHATBOT_SAMPLES/bin/import.sh"
# package conversations folder as bot.conversations.c66
alias botconpac="$CHATBOT_SAMPLES/bin/conversation.package.sh"

CHATBOT_SAMPLES 是项目 https://github.com/chatopera/chatbot-samples 存放的路径, 比如 /c/Users/Administrator/chatopera/chatbot-samples

现在,使用命令 botimportbotexport 完成导入 BOT 和导出 BOT 的操作, 比如

cd projects/OSSChatBot
botimport

更多关于导入和导出的介绍 -

https://docs.chatopera.com/products/chatbot-platform/howto-guides/cli-export-import.html

模板目录

程序 语言 位置 功能
FeishuWeatherBot zh_CN projects/FeishuWeatherBot Chatopera 飞书应用示例程序,一个能回答天气情况的飞书机器人
GuessNumber en_US projects/GuessNumber 小游戏, Guess the secret number in the bot's hat.
预定机票 zh_CN projects/预定机票 预约飞机票,查询天气
招聘面试 zh_CN projects/招聘面试 进行工作面试:提问技能知识、评估性格和心理素质,发送邮件报告面试过程。
小笑话 zh_CN projects/小笑话 发送“笑话”,机器人返回一个笑话,逗您一乐。

查看所有模板

对话模板目录结构

模板根目录
├── README.md                  # 模板描述文件
├── bot.dicts.json             # 词典导入文件,包括引用词典、词汇表词典和正则表达式词典
├── bot.faqs.json              # 知识库导入文件,包括标准问、扩展问、分类等
├── bot.intents.json           # 意图识别导入文件,包含意图、说法、槽位等
├── bot.conversations.c66      # 多轮对话导入文件,包含脚本、函数等
├── conversations              # 多轮对话文件解压后的内容,.c66 文件是 zip 压缩包
├── flow.mdj                   # UML 对话流程文件,描述对话流程
└── flow.xlsx                  # Excel 话术文件,描述对话流程

系统集成

https://docs.chatopera.com/products/chatbot-platform/howto-guides/index.html#发布机器人

技术支持

帮助

LICENSE

Apache 2.0

chatoper banner

Copyright (2018-2021) Chatopera Inc. <https://www.chatopera.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

🤖 聊天机器人 模版项目,Chatbot Samples. Powered by Chatopera Cloud. 展开 收起
Shell 等 3 种语言
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/chatopera/chatbot-samples.git
git@gitee.com:chatopera/chatbot-samples.git
chatopera
chatbot-samples
chatbot-samples
master

搜索帮助