Skip to content

Diagnostic chatbot built using hybrid model of knowledge graph and series of text similarity models to diagnose diseases based on feature inputs from the users.

Notifications You must be signed in to change notification settings

xzaviourr/HealthcareChatbot

Repository files navigation

Health Care Chatbot using Knowledge graphs + Text classification.

Knowledge graphs combine characteristics of several data management paradigms:

Database, because the data can be explored via structured queries; Graph, because they can be analyzed as any other network data structure; Knowledge base, because they bear formal semantics, which can be used to interpret the data and infer new facts.

Here, Knowledge graphs are created using GraphQL (like SQL) on neo4j platform.

Neo4j

2022-02-25_18-12

2022-02-25_18-10

Python wrapper (py2neo) for connecting graph database is used.

The python wrapper of neo4j is used to create the knowledge graph with specified nodes & relationships.

The GraphQL queries returns the data demanded from the node or relationship

Question-Answer Dataset

https://github.com/LasseRegin/medical-question-answer-data

Disease Dataset

https://github.com/liuhuanyong/QASystemOnMedicalKG/blob/master/data/medical.json https://www.kaggle.com/priya1207/diseases-dataset https://www.kaggle.com/usamag123/disease-prediction-through-symptoms

Medical terms dictionary

https://www.medicinenet.com/script/main/alphaidx.asp?p=a_dict

Result

After running queries in graphQL on neo4j browser, the output shows all relationships and nodes as: 76ac812d-8775-4df0-b98b-a56205f41a38

About

Diagnostic chatbot built using hybrid model of knowledge graph and series of text similarity models to diagnose diseases based on feature inputs from the users.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •