An agentic, retrieval-augmented conversational AI system designed for context-aware, multi-turn interactions over domain-specific (medical) documents. The system combines persistent conversational memory, vector-based retrieval, and LLM reasoning to deliver grounded, reliable responses.
This project implements an end-to-end Retrieval-Augmented Generation (RAG) architecture with agentic orchestration. It supports stateful conversations, retrieves relevant medical context, and generates accurate responses using large language models.
High-level flow:
- User query ingestion
- Conversational memory retrieval from persistent storage
- Context retrieval from FAISS vector index
- Agentic orchestration via LangChain
- Response generation using Azure OpenAI
- Memory update and persistence
- Azure OpenAI (LLM)
- LangChain (agent orchestration and RAG)
- FAISS (vector database)
- Azure Cosmos DB (conversational memory)
- Python (backend)
- Agentic, multi-turn conversational flow
- Retrieval-Augmented Generation (RAG) for grounded responses
- Persistent conversational memory across sessions
- Vector search over medical notes
- Modular, production-oriented architecture
- Medical notes are embedded and indexed into FAISS.
- User queries are enriched with past conversation context from Cosmos DB.
- Relevant documents are retrieved and passed to the LLM.
- Azure OpenAI generates grounded responses.
- Conversation state is persisted for future turns.
- Healthcare conversational assistants
- Clinical knowledge retrieval
- Domain-specific RAG applications
- Enterprise AI assistants
- Multi-agent planning and tool routing
- Reranking and hybrid retrieval
- Streaming responses
- Evaluation and grounding metrics
- Secure access control