cs 4485 virtual ta project
Note Since we do use ngrok tunneling for dev, there may be a need to modify the client code to make requests to local API server and not the tunneled version.
a version is already deployed with ngrok tunneling + vercel frontend deploys for ease of development! located on /home/generic/virtual-ta on the VM.
dockerized (wip) (requires docker-compose/podman-compose)
- Clone repo
podman-compose up -d
(needs Python version supported by Rasa, NodeJS 19.x installed)
- Install deps for chat server by
cding intochat_serverand runningpip3 install -r requirements.txtandpip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu - Install Rasa as per instructions
- Install deps for frontend by running
yarninstudent-clientfolder - Run the following in separate terminals:
- Run Rasa server (
cdto rasa-model folder):rasa run - Run Rasa action server (
cdto rasa-model/actions folder):rasa run actions - Run API server (
cdto chat_server folder):python3 app.py - Run student client (
cdto student-client folder):yarn start
- Run Rasa server (