PaperMind: Full-stack research assistant for grounded Q&A over medical literature

Overview

PaperMind is a full-stack research assistant for chatting with indexed medical literature through a browser UI. A FastAPI backend uses LlamaIndex (ReAct agent + persisted vector indexes) to route questions to domain-specific knowledge bases and return answers grounded in retrieved paper passages. Optional Google Cloud DLP can redact PII before text is sent to the model.

Architecture
PaperMind architecture: user, web chat, backend API, AI agent, semantic search, OpenAI model, and Google DLP
Demo output
PaperMind chat UI welcome screen with domain topics and ask-your-question input
Key features
Stack
Layer Technologies
Backend Python, FastAPI, Uvicorn, python-dotenv
RAG / AI LlamaIndex, OpenAI (gpt-3.5-turbo-0613), persisted vector storage under researchPaper/ and storage/
Privacy (optional) Google Cloud Sensitive Data Protection (google-cloud-dlp)
Testing Python unittest (tests/)