The first step is to create a new Rasa project. To do this, run:
1
rasa init --no-prompt
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.
This creates the following files:
__init__.py | an empty file that helps python find your actions |
actions.py | code for your custom actions |
config.yml ‘*’ | configuration of your NLU and Core models |
credentials.yml | details for connecting to other services |
data/nlu.md ‘*’ | your NLU training data |
data/stories.md ‘*’ | your stories |
domain.yml ‘*’ | your assistant’s domain |
endpoints.yml | details for connecting to channels like fb messenger |
models/<timestamp>.tar.gz | your initial model |
The most important files are marked with a ‘*’. You will learn about all of these in this tutorial.