Back to Projects

Enterprise GenAI / RAG Capstone Architecture

Solution Architect & GenAI Engineer · 2026

A production-grade GenAI/RAG system designed as the IIT Patna GenAI & Agentic AI capstone — full retrieval architecture from authenticated query through hybrid vector search, reranking, guardrail-checked generation, citation extraction, and usage telemetry on AWS serverless infrastructure.

Key Metrics & Outcomes

  • Full pipeline: auth → config → filters → retrieval → rerank → guardrails → citations
  • Hybrid + vector search on OpenSearch Serverless
  • Multi-model Bedrock stack: Claude Sonnet/Haiku 4.5, Nova Pro
  • Titan Embed v2 + Cohere Embed v3 + Cohere Rerank
  • Department-scoped metadata filtering with Entra ID / Graph

Project Overview

Situation

Enterprise RAG needs more than embeddings and a prompt — it requires authenticated access, department-scoped retrieval, reranking, guardrails, citations, and observability to be production-viable.

Task

Design a complete enterprise retrieval-and-generation architecture covering security, retrieval quality, response safety, and usage tracking.

Action

Architected the full pipeline: Microsoft Entra ID authentication → API request → configuration lookup → metadata/department filter building → AWS Bedrock retrieval → OpenSearch hybrid/vector search → reranking → generation → guardrail checks → citation extraction → usage metrics; designed for FastAPI + LangGraph orchestration with an Angular 21 frontend on AWS serverless (Lambda, API Gateway, S3, DynamoDB).

Result

A governed, citation-backed enterprise GenAI architecture applying production patterns — hybrid retrieval, multi-model routing, guardrails, and telemetry — end to end.

Technology Stack

  • Python
  • FastAPI
  • Pydantic
  • LangGraph
  • LangChain
  • Angular 21
  • TypeScript
  • Tailwind CSS
  • AWS Bedrock
  • Lambda
  • API Gateway
  • S3
  • DynamoDB
  • OpenSearch Serverless
  • Microsoft Entra ID
  • Microsoft Graph API
  • Claude Sonnet 4.5
  • Titan Embed v2
  • Cohere Rerank