https://github.com/ilharp/qa-bot
基于 plugin-teach 魔改的问答机器人,适用于客服/知识库等场景。
https://github.com/ilharp/qa-bot
bot koishi qqbot
Last synced: over 1 year ago
JSON representation
基于 plugin-teach 魔改的问答机器人,适用于客服/知识库等场景。
- Host: GitHub
- URL: https://github.com/ilharp/qa-bot
- Owner: ilharp
- License: mit
- Created: 2021-09-29T11:12:15.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-04T20:05:42.000Z (over 4 years ago)
- Last Synced: 2025-02-06T13:16:50.034Z (over 1 year ago)
- Topics: bot, koishi, qqbot
- Language: TypeScript
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qa-bot
基于 plugin-teach 魔改的问答机器人,适用于客服/知识库等场景。
## 特点
- 基于 [koishi v4](https://koishi.js.org/),魔改 [plugin-teach](https://github.com/koishijs/koishi/tree/master/plugins/teach)
- 移除了正则、重定向、概率等功能,只保留了最基础的一问一答
- 移除了上下文功能,整个机器人共享同一个问答数据库
- 移除了帮助指令和所有快捷方式,专注于问答功能
- 「搜索」指令支持同时搜索问题和回答
## 用法
指令|作用
-|-
`搜索 <问题>`|搜索问题。
`#<问题编号>`|查看问题。
`# <问题> <回答>`|添加问题。
## 许可
MIT