/football-dialogue-assistant

Dialogue system that provides the information about football

Primary LanguagePython

Football Dialogue Assistant

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, ...

How to run

  • 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]
  • Download ngrok and gactions from here. Place two downloaded file to project folder.
  • Run ./ngrok http 4747
  • Replace [update_me] in url field of conversations['welcome'] and conversations['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
  • Run rasa run --enable-api -p 4747
  • On separate terminal, run rasa run actions