This project try to build a dialogue system (chat bot) that will provide the information about football such as the league fixtures, team information, player statistic, ...
pip install rasa
- Following Step 2: Initializing the Google Assistant Action here to create a Google's speech-to-text service
- Create account and key in RapidAPI
- Set system environment
X_RAPIDAPI_KEY=[your_key]
- Set system environment
- Download ngrok and gactions from here. Place two downloaded file to project folder.
- Run
./ngrok http 4747
- Replace
[update_me]
inurl
field ofconversations['welcome']
andconversations['rasa_intent']
in action.json file with url generated by ngrok - Run
gactions update --action_package action.json --project PROJECT_ID
.PROJECT_ID
can be found in Google Action Console - Run
gactions test --action_package action.json --project PROJECT_ID
- Download MITIE model and place to data folder
- Run
rasa train -c CONFIG_FILE
CONFIG_FILE
could choose from config_v1, config_v2, config_v3- See detail information of all config files in report.pdf
- Run
rasa run --enable-api -p 4747
- On separate terminal, run
rasa run actions