Previsit AI: A Retrieval-Augmented Generation for Patient Readiness in Clinical Encounters
Abstract
With healthcare systems under growing pressure from rising patient volumes and shrinking consultation windows, improving how patients communicate with physicians has become essential to delivering quality care. Yet patients routinely arrive at appointments unable to clearly describe their symptoms, recall their medical history, or articulate concerns, contributing to miscommunication, diagnostic inefficiency, and pre-visit anxiety. This study introduces PreVisit AI, a conversational system designed to address this gap through structured, knowledge-based patient preparation. The system is built on a Retrieval-Augmented Generation (RAG) architecture combining HuggingFace sentence embeddings (all-MiniLM-L6-v2), a Chroma vector store, and Google’s Gemini language model over a curated seven-document clinical knowledge base spanning pain, digestive, neurological, respiratory, mental health, and medical history domains. It is deployed as a Streamlit web application, requiring no clinical infrastructure or proprietary patient data. Three experiments are conducted using a synthetic query set: retrieval quality assessment via Precision@k and recall across chunk sizes (256, 500, 1000 characters) and depths (k ∈ {2,3,5}); response quality evaluation using ROUGE-L and BERTScore against a non-retrieval baseline; and prompt engineering analysis comparing clinical, empathetic, and structured styles via an LLM-as-judge protocol. Results show that RAG consistently outperforms the baseline,…
Read the paper
Related studies
- Animal models of schizophrenia
- Retrieval Augmented Visual Question Answering with Outside Knowledge
- Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation
- Retrieval-Augmented Embodied Agents
- Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation
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.