Evidence Hub

Exploring RAG in medical question answering: integrating llms and vector databases

Matija Špeletić, Milan Protić, Saša Nikolič

UNITECH – SELECTED PAPERS, 2024

2 citations

Abstract

This paper presents the design, implementation, and evaluation of a Retrieval-Augmented Generation (RAG) system for medical question answering. The proposed system integrates a state-of-the-art large language model (LLM) with a vector database powered by Neo4j for fast and efficient information retrieval. To enhance the retrieval component, we employed Nomic’s embedding model to generate high-quality vector representations of medical documents. The architecture leverages the synergy between retrieval and generation, enabling the LLM to generate context-aware responses based on relevant clinical trial data. A test dataset was created by extracting clinical trial reports from open-source documents and generating synthetic questions using a language model. Our experimental results demonstrate the potential of RAG-based systems in the medical domain, highlighting their ability to provide accurate and context-rich answers. This study presents both the strengths and limitations of the RAG approach for specialized domains such as healthcare.

Read the paper

Related studies

Go deeper in Evidence Hub

Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.

Open this study Sign up free