Rasa 2 New project

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

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__.pyan empty file that helps python find your actions
actions.pycode for your custom actions
config.yml ‘*’configuration of your NLU and Core models
credentials.ymldetails for connecting to other services
data/nlu.md ‘*’your NLU training data
data/stories.md ‘*’your stories
domain.yml ‘*’your assistant’s domain
endpoints.ymldetails for connecting to channels like fb messenger
models/<timestamp>.tar.gzyour initial model

The most important files are marked with a ‘*’. You will learn about all of these in this tutorial.