sharatsachin / chatbot-asmt

Chatbot made using Twilio, Dialogflow, and Flask.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chatbot-asmt

Chatbot made using Twilio, Dialogflow, and Flask.

The chatbot has two Dialogflow intents : the get_weather and get_news intents.

The get_news intent has two entities, news_type and geo-country. Some sample queries are 'Tell me sports news from India', 'Show me sports news from Australia', and 'fun news from Chile', etc. The news stories come in seperate messages and the links are shortened using tinyurl.com.

The get_weather intent has a single entity, geo-city. Some sample queries are 'Weather in New York', or 'temperature in Chennai'.

MongoDB has been integrated to ensure that parameters passed to the functions persist between queries. For example, first asking 'Weather in Melbourne' and then asking 'Weather' leads to the weather in Melbourne being shown. Similarly, First asking 'Sports news from India' and then asking 'Technology news' leads to technology news from India being shown.

To interact with the bot

Send a WhatsApp message to +14155238886 with code join wrote-softly.

About

Chatbot made using Twilio, Dialogflow, and Flask.


Languages

Language:Python 99.8%Language:CSS 0.1%Language:JavaScript 0.1%Language:PowerShell 0.0%Language:Batchfile 0.0%