Skip to content

A symptom checker with DialogFlow and Infermedica API using Flask Webhook

License

Notifications You must be signed in to change notification settings

abhilashmnair/Dr.Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dr.Bot 🤖

A symptom checker with DialogFlow and Infermedica API using Flask Webhook. Infermedica is a NLP based health diagnosis and patient triage checker.

How it works?

DialogFlow acts as the interface between user and the webhook. Text received from user is transformed into wordings and passed to the Python webhook which calls the Infermedica API endpoint and receives the response. The response is then formatted and passed back to the DialogFlow agent.

How to run?

  • Import the DialogFlow agent.

  • Add the Firebase Config and Infermedica Credentials in drbot.py

  • Run pip install -r requirements.txt

  • Run the Python Flask App and provide the webhook URL in fulfillment of DialogFlow.

That's it!

Test your chatbot in Telegram or integrate into your website!

Enjoy


This is made from the Infermedica Python Demo. Infermedica Documentation is available here.
Make a PR if you get a bug. :)

About

A symptom checker with DialogFlow and Infermedica API using Flask Webhook

Topics

Resources

License

Stars

Watchers

Forks

Languages