Group details
Afroz Ahamad : 2015A7PS0119H
Keval Morabia: 2015A7PS0143H
Nikhil Joshi : 2015A7PS0179H
Chat bot responding to five endpoints:
- index => welcome
- / => atomic patters
- weather
- computers
- eateries
Weather data collected from forecast.io
Secret key is inside the code itself.
Remove secret key before making repo public
Also added is a sample response from forecast.io inside templates/*.weather
file. Use that to parse sensible data to be returned by the chat bot.
Run the following to run the chatbot.
$ pip3 install -r requirements.txt
$ python3 chatbot.py
This will spin up the flask server. Navigate to https://localhost:5000
to see the bot in action.
Make requests to the endpoints to get response.
https://localhost/respond/<query>
Making requests: Postman