Python Bot using RASA for NLP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dataprovider
nlp Update rasa-data.json Nov 29, 2017
slack
.gitignore
Dockerfile
LICENSE
README.md Update rasa-data.json Nov 29, 2017
bot.png Add Wikipedia API for failover Nov 26, 2017
bot.py
rasa-config.json
rasa-data.json

README.md

Overview

Bot using RASA NLU to answer different questions. Using Wolfram Alpha to get answers. Using Wikipedia as failover.

bot.png

Article in my blog describing how it works.

Run it with Docker

docker build -t bot . && docker run -e SLACK_TOKEN=<token> -e WOLFRAM_APP_ID=<app_id> bot

Run with Python 3

Install dependencies from Dockerfile and run:

SLACK_TOKEN=<token> WOLFRAM_APP_ID=<app_id> python3 bot.py

RASA

Create initial intentions - https://rasahq.github.io/rasa-nlu-trainer/. During the Bot start we run training process based on rasa-data.json intentions. Later we work with messages we can parse, also Bot stores all unparsed messages so we can check them later.