The backend for an SMS chat bot that you can use to get the weather, and describe images! All without the internet.
- Sign up for the relevant services. (Bandwidth API platform, Clarifai, Wit.ai, AWS, Heroku, etc.)
- Create an application, and request a number on the Bandwidth API platform. Also make sure to set the messaging URL to your Heroku instance.
- Set up an S3 bucket with public access to allow Clarifai to tag images.
- Train wit.ai with the entities you want to recognize. For example, add intents for weather and train it on sentences like "What is the weather in Raleigh tonight?", "Will I need an umbrella tomorrow?", etc.
- Clone the code and deploy it to Heroku. (Remember to add all the environment variables.)
- Once the server has been deployed, send an SMS to your Bandwidth number and you should get a reply with an answer to your query!