GaoQ1/rasa_chatbot_cn
building a chinese dialogue system based on the newest version of rasa(基于最新版本rasa搭建的对话系统)
项目定位
这是一个使用开源对话框架 Rasa 搭建中文聊天机器人的示例项目。作者通过一系列博客文章记录了自己“踩坑”的经验,并在此仓库中提供可运行的代码。
关键版本与内容
- 当前
master 分支基于 Rasa 1.10.18,并配置了一套专门支持中文的 processing pipeline(即从文本到意图识别的完整处理链)。
- 作者提到早期基于 1.1.x 的版本已被移到单独分支,由于 Rasa 2.0 改动较大,暂时未跟进。
- 支持中文,但具体实现细节(如自定义组件)在 README 中未展开。
快速开始
- 环境要求:Python ≥ 3.6。
- 安装依赖:运行
pip install -r requirements.txt。
- 训练模型:运行
make train。
- 启动服务:运行
make run。
- 命令行测试:运行
make shell 可在终端直接对话。
- HTTP 接口测试:启动后,向
http://localhost:5005/webhooks/rest/webhook 发送 POST 请求,请求体示例:{"sender": "0001", "message": "你好"}。可用 Postman 等工具验证。
- 使用 Rasa X:运行
make run-x 可启动可视化交互界面(Rasa X)。
其他
- README 中列出了 10 篇系列博客文章链接,记录作者使用 Rasa 的踩坑过程;另外还有一篇关于“rasa-nlu 究极形态”和“闲聊模型实践”的文章。
- 末尾附有一长串外部链接(如 Body Visualizer、AI 工具等),这些与项目本身无关,看起来像是页面引流或广告,不应被当作项目功能。
说明
本解释完全基于仓库 README 中提供的信息,未额外推测或补充任何未提到的细节。
Related
- Project
TypeLLM/TypeLLMTypeLLM is a library that makes LLMs produce outputs that exactly match a schema you define (numbers, booleans, enums, objects, etc.), without changing the model. It works with open-source LLMs via SGLang, supports thinking, images, and dependencies, and offers both a cloud API and self-hosting.
- Project
markrahq/markraMarkra is a free, open-source, local-first Markdown editor that brings AI directly into the writing flow. It offers WYSIWYG editing, source mode, AI quick actions and a side panel, with all changes previewed before applying.
- Project
bujue3709/GPT-Conversation-ToolkitA browser extension that enhances ChatGPT Web with tools for exporting conversations, managing custom prompts, organizing chats into folders, and searching through long chat histories.
- Project
yilujian/easy-writingA local-first desktop writing application for web novel authors that provides distraction-free editing, AI-assisted drafting, and comprehensive project management while keeping all data and AI credentials on the user's device.