Skip to content

Get started with Rasa Pro in the browser using GitHub Codespaces

Notifications You must be signed in to change notification settings

IAMRonHIT/codespaces-quickstart

 
 

Repository files navigation

codespaces-quickstart

Get started with Rasa Pro in the browser using GitHub Codespaces.

Steps

  1. Create a Codespace:

    • Click on the green "Code" button on this page, then scroll down to "Codespaces".
    • Click on "Create codespace on main".
  2. 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
      
  3. Initialize a New Project:

    • In the terminal, run:
      rasa init --template tutorial
      
      and follow the instructions.
  4. Train the Model:

    • In the terminal, run:
      rasa train
      
  5. Talk to your Bot:

    • In the terminal, run
      rasa inspect
      
      GitHub will show a notification, click on the green button to view the inspector where you can chat with your assistant.
  6. 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.

About

Get started with Rasa Pro in the browser using GitHub Codespaces

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%