Rasa 1 install

Submitted by Lizhe on Fri, 06/26/2020 - 07:18

Quick Installation

pip3 install rasa

 

1. Create a New Project

rasa init --no-prompt

 

2. View Your NLU Training Data

cat data/nlu.md

 

3. Define Your Model Configuration

cat config.yml

 

4. Write Your First Stories

## story1

* greet

   - utter_greet

 

5. Define a Domain

cat domain.yml

 

6. Train a Model

 

rasa train

echo "Finished training."

 

7. Test Your Assistant

 

rasa test

echo "Finished running tests."

 

8. Talk to Your Assistant

rasa shell