Get started with Rasa Pro in the browser using GitHub Codespaces.
-
Create a Codespace:
- Click on the green "Code" button on this page, then scroll down to "Codespaces".
- Click on "Create codespace on main".
-
Set Up Environment:
- In the codespace, open the
.env
file from this repo and add the required keys to that file.RASA_PRO_LICENSE='your_rasa_pro_license_key_here' OPENAI_API_KEY='your_openai_api_key_here'
- Set these environment variables by running
source .env
- Activate your python environment by running
source .venv/bin/activate
- In the codespace, open the
-
Initialize a New Project:
- In the terminal, run:
and follow the instructions.
rasa init --template tutorial
- In the terminal, run:
-
Train the Model:
- In the terminal, run:
rasa train
- In the terminal, run:
-
Talk to your Bot:
- In the terminal, run
GitHub will show a notification, click on the green button to view the inspector where you can chat with your assistant.
rasa inspect
- In the terminal, run
-
Run Custom Actions: In Rasa 3.10 and later, custom actions are automatically run as part of your running assistant. To double-check that this is set up correctly, ensure that your
endpoints.yml
file contains the following configuration:action_endpoint: actions_module: "actions" # path to your actions package
Then re-run your assistant via
rasa inspect
every time you make changes to your custom actions.