MedBot RAG queries complex healthcare documents, providing doctors with answers backed by medical policy citations.
"By utilizing semantic vector lookups, MedBot avoids LLM hallucination, linking answers directly to indexed pages of guidelines."
RAG Architecture
Text files are chunked using recursive token splitters, embedded using OpenAI text-embedding-3-large, and stored in Pinecone. The search API processes query inputs to retrieve relevant chunks, feeding them into GPT-4o with strict reference formatting directives.
System Architecture
[PRACTITIONER WEB APP]
React.js Chat view / Document PDF Citation panel overlays
▼
[LANGCHAIN RETRIEVAL CONTROLLER]
Python FastAPI / Semantic Hybrid Search Router / OpenAI Embeddings
▼
[VECTOR RESOURCE INDEX]
Pinecone Database (Clinical guidelines metadata & sparse-dense vectors)
copy's