![]() ![]() But I adapted my chatbot to respond to such scenarios. Its only limitation was that it sleeps after a while, so the first API call might fail while the dynamo is waking up from sleep. So I read their docs and quickly spun up a Node.js app on their free dynamo. In no time, I learned that Heroku’s Node.js integration is awesome. ![]() That’s when I came across Heroku and its free plan. But I thought it would be a great idea to Google some other alternatives, at least for the sake of Node.js. I have also used Open Shift as well, for other projects (mostly Laravel). I knew Firebase offered free hosting (as I’ve used it in the past). I needed a free cloud host for this project. Since I wasn’t hoping to make money off of Revisebot, hosting it on Digital Ocean didn’t make sense. I am a long time user of Digital Ocean, but it costs around $6/month at a minimum. Time to churn out some JavaScript/Node.js code. Since Revisebot needed to handle custom use cases, I had to write some code. These are plug-n-play things which you can readily use in your chatbots. Revisebot’s NLP using Api.aiĪpi.ai also offers some pre-built agents, such as small talk and weather agents, which can answer users’ queries about weather and other topics. This required custom calculations and persistence mechanisms. In the case of Revisebot, I was storing each user’s learning history and calculating what topics the user should revise next. Note: You can call on custom logic, which resides in your secure back-end, if API.ai’s built-in handlers can’t handle your use case. You program the Api.ai agent to handle all the pre-defined outcomes using its dashboard.Based on that conversation, you create an exclusive flow-diagram (or something like that) which handles all the outcomes of the conversation.First, you write down a probable conversation which can happen between your bot and a person.Here’s what exactly you do with these ai APIs: I played around with it and found it more developer-friendly, so I went with it. I quickly searched for other alternatives and found Api.ai. I played around with it for a while but found it particularly hard. I was aware of Wit.ai, an online API, released by Facebook for enabling NLP in your apps and bots. But for this bot, all of these things were necessities.īeing a tech enthusiast, I always keep tabs on what tools and libraries the Biggies are launching. I come from a full stack development background and I have zero experience with Machine Learning, AI or NLP. It should also understand what you are asking it to do. So, I knew from the start that I’d require AI and NLP to make my bot “smart” and something you could talk to. Natural Language Processing (NLP) and AI are integral parts of any smart chatbot. Read on to see how my chatbot went from an idea to a fully working product - entirely using cloud-based tools. Let’s cut to the chase and talk about the process. I would also save some time since I wouldn’t have to build a standalone client app and go through app stores’ processes. If I built a chatbot, it would serve that purpose and I wouldn’t have to convince anyone to download anything. Forcing users to download a new app is hard. I wanted the user on-boarding to be as frictionless as possible. I needed a back-end to store users’ data and a front-end to collect and show that data. I took a step back and analyzed the situation. Being a developer, my natural response was “Let’s write an app!”īut if you’ve read my other article about why native apps are doomed, you know I was a bit reluctant to write a standalone app for this. I wanted to give you guys a proper tool, in addition to the video, so that you can revise better. In the video, I talked about how frequently you should revise, what the heck is the forgetting curve, and why you should care. This helps you retain things in your mind for a longer period of time, and gives you techniques to revise important projects. In it, I talked about the importance of deliberate revision. It all started with a YouTube video I recorded few months back. By Rajat Saxena How I designed, developed, and deployed a chatbot entirely in the cloud ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |