Rasa 文档 中英文翻译版本 2 - Tutorial: Rasa Basics

本文是Rasa基础知识教程,介绍如何使用Rasa构建一个简单的对话助手。内容涵盖创建项目、查看NLU训练数据、定义模型配置、编写Stories、定义域、训练模型、测试及与机器人对话等步骤。

Rasa 文档 中英文翻译版本 2 - Tutorial: Rasa Basics 

https://rasa.com/docs/rasa/user-guide/rasa-tutorial/

T by yi 

 

Tutorial: Rasa Basics 

Rasa基础知识

This page explains the basics of building an assistant with Rasa and shows the structure of a Rasa project. You can test it out right here without installing anything. You can also install Rasa and follow along in your command line.

本页解释使用 Rasa 构建助手的基础知识,并展示 Rasa 项目的结构。您可以在这里测试它,而无需安装任何东西。您还可以命令行安装 Rasa 。

The glossary contains an overview of the most common terms you’ll see in the Rasa documentation.

术语表包含您将在 Rasa 文档中看到的最常见的术语的概述

 

目录

1. Create a New Project  

创建项目

2. View Your NLU Training Data

查看你的NLU训练数据

3. Define Your Model Configuration

模型配置

4. Write Your First Stories

第一个Stories

5. Define a Domain

定义域

6. Train a Model

训练模型

7. Test Your Assistant

训练助手

8. Talk to Your Assistant

与助手对话

 

In this tutorial, you will build a simple, friendly assistant which will ask how you’re doing and send you a fun picture to cheer you up if you are sad.

在本教程中,您将建立一个简单友好的助手,它会问你感觉怎么样,如果你选择是伤心,它会送你一个有趣的图片让你高兴。

 

1. Create a New Project 新建项目

The first step is to create a new Rasa project. To do this, run:

第一步是创建一个Rasa项目

 

rasa init --no-prompt

run

The rasa init command creates all the files that a Rasa project needs and trains a simple bot on some sample data. If you leave out the --no-prompt flag you will be asked some questions about how you want your project to be set up.

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值