Git Product home page Git Product logo

healthcare-chatbot's Introduction

HealthCare-ChatBot

HealthCare ChatBot is used to diagnose the disease by entering symptoms and answering few related questions to it using Infermedica API.

Package required to install: None

As we are using libraries like tkinter(for building GUI) and requests(for calling API) that are downloaded in many system when we download python. If above libraries are not present in your system then below given code will help to download this modules.

For requests module -> pip install requests

Which file we needs to run?

File name : gui.py needs to be run to run whole project.

For command prompt : python gui.py

While project contains 3 files:

• gui.py [It contains whole GUI related code]

• conversations.py [It contains conversation between user and bot]

• apiaccess.py [It contains code to access infermedica API]

Features of this project

In GUI format we have added 3 menu like:

1. File : File contains attributes like: Clear Chat and Exit

2. Options : In Options we have added Font and Color Theme. Font contains some fonts that are display when you chat with bot. And Color theme changes theme of gui for conversation.

3. Help : It includes basic information about our project.

What input should be given to run code smoothly?

For starting the program you must write following words as keywords for greetings:

"hello", "hi", "hiii", "hii", "hiiii", "hiiii", "greetings", "sup", "what's up", "hey"

Eg. Hello chatbot

Let’s come to point and use following keywords to chat for healthcare advice:

"not well", "not feeling well", "ill", "symptoms", "Symptom"

Eg. I am ill right now

As soon as you write above keywords program will ask you for your age, gender and your symptoms. You have to write all your symptoms without pressing enter key.

Eg. I have fever last night and coughing continously. Also having headache like hammering in my head.

After this you will view message from bot of noting your symptoms and you have to press enter to continue further conversations.

Now bot will ask you some questions in which you have to answer them as yes or no. If you write anything else of yes and no it will consider as user don’t know its answer.

At last your report will be generated.

Also if you type keywords like:

“thanks”, “thank you”, “who are you?”, “your name?”, "can you describe your self?", “bye”, “good bye”, “byy”

Bot will reply you with his message.

Screenshots :

ss1 ss2 ss3

healthcare-chatbot's People

Contributors

unkn0wnp avatar

Watchers

 avatar

Forkers

ogahozy abhirambp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.