Evidence Hub

An improved and precise innovative method for creating chatbots that use retrieval augmented generation (RAG) to communicate with patients

G. Reddy, L. Pallavi, P. Renuka, K. Swathi, K. Vishalini

AIP Conference Proceedings, 2025

Abstract

The use of chatbots in the medical field has increased patient education and question communication while also making healthcare data and amenities more accessible. Using the Retrieval-Augmented Generation (RAG) architecture in addition to additional data sources like PDF documents, CSV files, and PubMed, we suggested a unique method for developing chatbots. It integrates the architecture’s retriever element, which retrieves pertinent data from outside sources, with the generator component, which uses LLMs to create appropriately situated replies. In order to produce responses from various external sources, we used agents and technologies. Each data source has a specific set of tools that are made to extract pertinent data in response to user requests. Throughout the chatbot architecture, agents are parts that manage various facets of answer production and data processing. In response to a user query that needs details from an external source of data, the relevant agent launches the relevant retrieval tool. The RAG framework is used to integrate the information that was processed within the chatbot’s knowledge base. The RAG architecture creates contextually relevant answers to user inquiries by fusing the gathered data alongside the chatbot’s language production capabilities. After undergoing rigorous testing and assessment, the chatbot demonstrated the potential of the RAG structure in utilizing external data sources for sophisticated conversational agents by achieving…

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