rasa-handoff
rasa-handoff copied to clipboard
Experiments with Rasa human handoff
rasa-handoff
This is just a proof of concept
Experients with enabling human handoff in Rasa
For more information on the Rasa Stack, please visit the docs here:
This project is based on:
Setup
You can use pyenv
to instantiate a virtual environment to run this project
- Install the dependencies
pip install -r requirements.txt
- Install spacy language model
python -m spacy download en
- To run the bot you'll need to create an
.env
file and insert the following
MEETUP_KEY=<meetup_api_key>
GOOGLE_KEY=<google_directions_api_key>
Usage
To train the NLU model, run make train-nlu
To train the Core model, run make train-core
To run the bot on the command line run make cmdline
human-in-the-loop
To run mock api:
python hitl-api/api.py
then ask the bot: "I'm looking for tech meetups in Toronto"
todo
- [ ] resolve weird behaviour of chatbot responding with incorrect conversation upon resuming conversation when it was paused during hitl