This post briefly explains how to use Wikipedia’s Open Search API to search Wikipedia and return the result to our api.ai Bot.
In my previous post, we integrated the recipe BOT with Telegram. At the moment, the BOT is limited to only few Food Items. What if we wanted the BOT to learn by itself that an item is a food item. After all, it is supposed to be an AI.
For this purpose, API.AI provides an option called “Allow automated expansion” for its entities. Enabling this will allow BOT to learn new food items.
Recently, one of the colleagues at work introduced api.ai and I was quite intrigued. So I started taking a look and did a small recipe finder bot. I wanted to document the process for others and as well as for my future reference.
- An account in Api.ai (it’s free)
- Heroku Account ( it’s free as well). For hosting our webhook used by the bot.