A chatbot that gets you tech blogs, news, Projects, modules etc.,
Techbot uses Api.ai for natural language understanding. It uses its own DB, meetup and shine.com APIs to get job and event details
This application is built using python3.
To install python3 follow the instruction on python.org website
If not you can create a virtualenv with python3 and use it
-
Install all required packages
pip install -r requirement.txt
-
To run the application run
python app.py
This will run your application.
Note :: The following steps are to train api.ai with predefined set of data. You can modify it before uploading it.
For your bot to understand natural language you need to train it.
- Create a account in Api.ai
- Create a new agent
- Go to settings > import & export
- Import training data
techbot.zip
file - Once you import it you have your agent trained to get you meanings and opposites
- To train it furthuer create new intents, entities etx.,
- For your training to take effect change
CLIENT_ACCESS_TOKEN
underapiai_toolkit.py
- create a text file with all the intents
- Upload the file under
training
in api.ai - Map each entry to an intent