This post briefly explains how to use Wikipedia’s Open Search API to search Wikipedia and return the result to our api.ai Bot.
Wikipedia API
Example Call:
https://en.wikipedia.org/w/api.php?format=json&action=opensearch&search=global%20warming&limit=2&profile=fuzzy
… →
In recipe bot post, we created a bot that helps you find a recipe for a food item. Obviously, there are many ways you can make a certain dish and there are many recipes available for the same item. We will handle that scenario here and let bot give user more options using Follow-up intents.
… →
In my previous post, I explained how we can create a recipe finder bot. In this post, we will Integration it with Telegram and customize the returned message.
API.ai provides one-click integration for many platforms. We will enable Telegram integration in this tutorial.
… →
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.
Requisites:
- An account in Api.ai (it’s free)
- Heroku Account ( it’s free as well). For hosting our webhook used by the bot.
… →