Design and Implementation of a Knowledge Graph Enhanced Medical RAG System with Smart Routing
Year: 2025
Type: article
Abstract: Generic Large Language Models (LLMs) often suffer from hallucinations and resource inefficiency when applied to the vertical medical domain. This technical report presents the implementation of AI-Medical-Chatbot, an open-source question-answering system that integrates a deterministic Knowledge Graph (KG) with Retrieval-Augmented Generation (RAG). We constructed a specialized graph database containing 22,462 medical entities (including Diseases, Drugs, and Symptoms) and 196,232 relationships. To balance accuracy and cost, the system features a "Smart Routing" agent that dynamically dispatches user queries to three distinct handlers: Graph Retrieval (for precise medical facts), Vector Search (for unstructured documents), or General LLM (for chitchat). Experimental deployment demonstrates that this architecture enhances factual grounding and reduces token consumption by approximately 70% compared to full-context LLM reliance.
Author: Han, Yueze
Language: English
Subfield: Health Informatics
Field: Medicine
Domain: Health Sciences
Open Access status: green
OpenAlex ID: W7115945345
FWCI:
Cites:
Cited by:
Related to:
