Closed hannanabdul55 closed 3 years ago
@bodhish Please See.
@hannanabdul55 I was just thinking about making a Telegram bot and then saw this post. What are you thoughts on porting your code over to a Telegram bot. It will make it more accessible and also remove the Dialogflow dependency.
What are you thoughts on porting your code over to a Telegram bot.
I am not sure about the Telegram API. But I can definitely standardize the data querying here and serve that through the flask server. I am not sure about what aspects of the natural language processing does Telegram handle. If it does all the parsing into Entities, similar to Dialogflow, then it should be pretty easy to port the entire code to Telegram. As a matter of fact, Dialogflow itself has an option to "plug in" to Telegram.
@hannanabdul55 we can definitely include it
Hey I've created a new discussion at https://github.com/coronasafe/life/discussions/146 as it seemed more apt than Issues.
Closing this as it is moved to a discussion.
What's there in this bot?
I have created a bot (demo here - click on the small popup on the bottom right corner) using Dialogflow that pulls data from the data folder in this repository and serves it to end-users through a chatbot. Currently, it has the following queries:
I need oxygen in Mumbai
.I need medicines/remdesivir in Bangalore
Show me where can I get plasma in Bangalore
What's being added
Mujhe Bangalore mein oxygen cylinders chahiye
seems to work as it is just extracting the entityoxygen
and the placeBangalore
.Next steps
What does it take to add this to a website?
Just add this code snippet to the HTML
What next?
app.py
).