Skip to content

《Rasa实战:构建开源对话机器人》官方随书代码 | The official source code of Rasa in Action: Building Open Source Conversational AI

Notifications You must be signed in to change notification settings

zhangxiying/rasa_chinese_book_code

 
 

Repository files navigation

《Rasa实战:构建开源对话机器人》官方随书代码 | The official source code of Rasa in Action: Building Open Source Conversational AI

全球首本关于 Rasa 的中文图书。Rasa 联合创始人兼 CTO Alan Nichol 亲笔作序力荐。快速创建工业级智能对话机器人。

The world's first Chinese book on the Rasa framework, with a foreword by Rasa co-founder and CTO Alan Nichol. It helps developers quickly create industrial-grade conversational chatbots.

内容简介 | Summary

Rasa是一款开源的对话机器人框架,能让开发者使用机器学习技术快速创建工业级的对话机器人。得益于丰富的功能、先进的机器学习能力和可以快速上手的特性,Rasa框架是目前流行的开源对话机器人框架。 本书首先介绍Rasa的两个核心组件——Rasa NLU和Rasa Core的工作流程;然后详细介绍通过使用Rasa生态系统从头开始构建、配置、训练和服务不同类型的对话机器人的整体过程,如任务型、FAQ、知识图谱聊天机器人等,其中包括使用基于表单(form)的对话管理、ResponseSelector来处理闲聊和FAQ,利用知识库来回答动态查询的问题等,以及自定义Rasa框架,使用对话驱动的开发模式和工具来开发对话机器人,探索机器人能做什么,并通过交互式学习来轻松修复它所犯的任何错误;最后会介绍将Rasa系统部署到具有高性能和高可扩展性的生产环境中,从而建立一个高效和强大的聊天系统。

Rasa is an open-source conversational AI framework that enables developers to quickly create industrial-grade conversational AI using advanced machine learning techniques. Benefited from its rich functionality, powerful machine learning capabilities, and the ability to get started quickly, the Rasa framework is a popular open-source conversational bot framework today. The book first introduces the workflow of Rasa's two core components, Rasa NLU and Rasa Core. It then details the overall process of building, configuring, training, and serving different conversational bots from scratch. The content covers all the common bot types, such as task-oriented bots, chitchat/FAQ chatbots, knowledge-graph-based bots. In addition, it includes the usage of story-based dialog management, form-based dialog management, ResponseSelector, knowledge-based action. Furthermore, it discussed the customizing of the Rasa framework, conversation-driven development patterns, tools, how to spot the bug, fix them, etc. And finally, it advises about deploying the Rasa system into a production environment with high performance and scalability.

作者团队 | Author team

孔晓泉 | Xiaoquan Kong王冠 | Guan Wang

如何购买? | Where to buy this book?

京东 | JD

姊妹篇 | Companion

本书的作者团队在2021年年末出版了全球第一本关于 Rasa 框架的图书。这本书同样由 Rasa 联合创始人兼 CTO Alan Nichol 作序推荐,面向英文开发者,基于 Rasa 2.0 开发,是本书的姊妹篇。该书可以在 亚马逊图书 购买。

The authors of this book published the world's first book on the Rasa framework in late 2021. That book, also with a foreword by Rasa co-founder and CTO Alan Nichol, is aimed at English-speaking developers and is based on Rasa 2.0. It is available at Amazon Books.

版权申明 | Copyright statement

保留所有权利。不得将本仓库提供的源代码用于其他项目,包括但不限于开源或者闭源项目、图书写作、论文写作、专利申请、著作权申请、教程制作等。如确实需要使用本仓库提供的源代码,请联系作者团队以获取授权。

All rights reserved. The source code provided by this repository may not be used for other projects, including but not limited to open source or closed source projects, book writing, thesis writing, patent applications, copyright applications, tutorial production, etc. If you really need to use the source code provided by this repository, please contact the author team to obtain a license.

致谢 | Acknowledge

  • 感谢王胤(前饿了么工程副总裁)、申强(谷歌开发者关系生态中国区负责人)、李佩(满帮集团首席科学家,前阿里巴巴本地生活研究院高级总监)和李卓桓(Wechaty框架的创始人)为本书写作了推荐语。 | Thank you to Alex (former VP of Engineering at ELE.ME), Brian (Head of Google Developer Relations Ecosystem China), Leo (Chief Scientist at Full Truck Alliance, Former Senior Director of Alibaba Local Life Research Institute) and Huan (Founder of Wechaty Framework) for writing testimonials for this book.
  • 感谢谷歌通过提供谷歌云信用额度(Google Cloud Credits)的方式来支持这项工作 | Google supported this work by providing Google Cloud credit

Credits

About

《Rasa实战:构建开源对话机器人》官方随书代码 | The official source code of Rasa in Action: Building Open Source Conversational AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 63.4%
  • CSS 26.0%
  • HTML 8.0%
  • Makefile 2.2%
  • Shell 0.4%