Welcome to the upgraded BRAC University Institutional Repository. We are currently organizing collections after a recent system upgrade. Homepage category counters may temporarily show lower numbers while syncing, but over 27,000 repository items remain safe and accessible. Please use the search bar to find theses, scholarly outputs, and institutional documents.

Retrieval-augmented generation based doctor recommendation system using knowledge graph

bracu.degree.levelPostgraduate
bracu.type.groupStudent Works
datacite.rightsOpen Access
dc.contributor.advisorTalukder, Ashis
dc.contributor.authorAfrose, Sadia
dc.contributor.departmentDepartment of Computer Science and Engineering
dc.date.accessioned2025-01-23T04:42:17Z
dc.date.available2025-01-23T04:42:17Z
dc.date.copyright©2024
dc.date.issued2024-08
dc.descriptionCataloged from the PDF version of the thesis.
dc.descriptionIncludes bibliographical references (pages 47-59).
dc.descriptionThis thesis is submitted in partial fulfillment of the requirements for the degree of Master of Science in Computer Science and Engineering, 2024.en_US
dc.description.abstractFinding suitable healthcare professionals and the growing demand for efficient healthcare access is challenging and advanced language modeling techniques to provide tailored medical advice. Reviewing the existing research on doctor recommendation systems, it became apparent that while previous authors developed functional models, their datasets are likely outdated and no longer reflective of current healthcare trends. These models would require complete retraining with a new or updated dataset to ensure their relevance and accuracy. In contrast, our approach takes advantage of the ability to update the existing database with additional, current information without the need for retraining the model from scratch. By simply integrating the updated data, we can maintain the integrity and functionality of the previous system, making our method both time-efficient and resource-conserving. This approach eliminates the need for redundant work, allowing us to leverage the previous model while ensuring the data remains current and applicable. The proposed Doctor Recommendation System leveraging a Knowledge Graph built with Neo4j and enhanced by a Retrieval-Augmented Generation (RAG) model using the LangChain framework. The system aims to provide up-to-date, personalized and accurate doctor recommendations by integrating structured and unstructured data sources. The Neo4j Knowledge Graph captures comprehensive relationships between doctors, specialties, disease, symptoms and medical conditions, offering a robust data foundation. The LangChain framework, incorporating a large language model (LLM), enhances the recommendation process by generating context-aware suggestions based on patient queries and historical data. The Doctor’s Specialty Recommendation dataset has been used on three chains which are RetrievalQAChain, GraphCypherQAChain, RetrievalQAWithSourcesChain and also similarity search is used. However, based on the correctness, distance, context accuracy and CoT context accuracy, graphCypherQAChain performed well. Moreover, ROUGE-1, ROUGE-2, ROUGE-3, ROUGE-L and BLEU are used to determine the performance for all the chains as well as compared with GPT-4. Based on these evaluation metrics, graphCypherQAChain attained a high performance level with 86% for ROUGE-1, 82% for ROUGE-2, 77% for ROUGE-3, 86% for ROUGE-L and 46% for BLEU using GPT-3.5-turbo whereas GPT-4 performed 78%, 60%, 48%, 78% and 40% respectively.en_US
dc.description.degreeMaster of Science in Computer Science and Engineering
dc.description.statementofresponsibilitySadia Afrose
dc.format.extent59 pages
dc.identifier.otherID 21266004
dc.identifier.urihttp://hdl.handle.net/10361/25267
dc.language.isoenen_US
dc.publisherBRAC Universityen_US
dc.rightsBRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission.
dc.subjectDoctor recommendation systemen_US
dc.subjectKnowledge graphen_US
dc.subjectLarge language modelen_US
dc.subjectRetrieval-augmented generationen_US
dc.subject.lcshNatural language processing (Computer science).
dc.subject.lcshMachine learning.
dc.subject.lcshDatabase management.
dc.titleRetrieval-augmented generation based doctor recommendation system using knowledge graphen_US
dc.typeThesisen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
21266004_CSE.pdf
Size:
4.31 MB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: