Sign inSign up

devagastya0/rasa_actions

By devagastya0

•Updated over 5 years ago

Image
0

565

devagastya0/rasa_actions repository overview

⁠Wulu

A WeUnlearn chatbot solution to tackle the increasing mental health and gender norm problem that the country faces, for adolescents.

⁠Tech Stack

ComponentVersion
Docker>=19.0
docker-compose>=1.26
AWS CLI==2.0
Rasa>=2.2.7
Rasa SDK==2.1.2

⁠Using Rasa Environment

⁠Train a model:

rasa train -d domain/

⁠To run a development server

After training the model, run the following command to start the Rasa server

rasa run --enable-api --cors "*" --debug

In another terminal window, start the custom action server using:

rasa run actions

⁠Using docker-compose

⁠AWS Configuration

Log into ECR with your AWS credentials using the following commands:

aws configure [Input account credentials]

aws ecr get-login-password --region ap-south-1 | docker login --username AWS --password-stdin 572260955088.dkr.ecr.ap-south-1.amazonaws.com

⁠Train a model for use

To train a model based on NLU and Core data, run(must run for initial setup):

docker-compose run rasa train -d domain

⁠Running a development server

In the project directory, run the following commands:

docker-compose -f docker-compose.yml up

To run in detached mode:

docker-compose -f docker-compose.yml up -d

To view logs in detached mode:

docker-compose -f docker-compose.yml logs

⁠Running a production server

(Not yet created)

docker-compose -f docker-compose.prod.yml up

⁠Basic Frontend

For interacting with the chatbot, please clone the frontend repo⁠ and open index.html in your browser.

Tag summary

Content type

Image

Digest

Size

1.2 GB

Last updated

over 5 years ago

docker pull devagastya0/rasa_actions