Projects / PRJ-GAIP-01

PantryChef GenAI — Smart Food Recipe Generator from Available Ingredients

Zero-waste culinary AI platform turning whatever is in your kitchen or fridge into grounded, nutrition-verified regional Indian & global recipes.

Score: 96.8% Generative AI & Agentic AI Training Course (Python) Built by Ananya Sharma (Jaipur, India)
PantryChef GenAI production web application UI showing Hinglish pantry input, allergen guardrails, and nutrition-verified Indian recipe recommendations
Primary UI Smart Pantry & Live Recipe Generator Hinglish/English pantry ingredient chips, allergen guardrails, and SSE-streamed ICMR-IFCT grounded recipe cards ranked by match percentage.
PantryChef GenAI interactive cooking workflow screen with live step timer, 1-item pantry swap suggestion, and 3-day zero-waste meal planner
Core Workflow Interactive Cook Mode & 3-Day Zero-Waste Planner Step-by-step interactive cooking mode with live countdown timers, smart 1-item Indian pantry swaps, and expiry-prioritized 3-day meal schedule.
PantryChef GenAI LangGraph and Langfuse telemetry dashboard showing RAGAS 94.8% faithfulness, 410ms P95 TTFT, and constrained Pydantic v2 JSON output
Ops & Telemetry LangGraph Agent Trace & RAGAS Telemetry Console Production Langfuse observability console showing 5-node LangGraph execution latency, 94.8% RAGAS faithfulness, -58% semantic cache savings, and Pydantic v2 output.

Problem Statement

Indian urban households throw away 25–30% of fresh vegetables, dairy, and pantry staples every week simply because deciding what to cook with leftover ingredients — while respecting Veg, Jain, Vegan, Diabetic, High-Protein, Gluten-Free, or allergy needs in a 20-minute prep window — feels mentally exhausting. Ordinary recipe sites force you to buy missing groceries, while generic AI chatbots routinely invent ingredients you do not own, miscalculate cooking times, or suggest unsafe allergy substitutions.

Solution Architecture

Built a production Python 3.12 + FastAPI SSE + LangGraph Culinary Agent grounded over a 50,000+ recipe & Indian nutrition vector store (Qdrant SQ8 + BM25 Hybrid RAG). Users type available items, paste a grocery bill, or snap a fridge photo; the agent normalizes local names (paneer, besan, methi, kadi patta), enforces strict Pydantic v2 structured recipe schemas with exact pantry-match percentages, and guarantees allergen-safe zero-waste cooking plans.

Architecture Highlights

  • Python 3.12 + FastAPI async streaming gateway with SSE token chunks & structured Pydantic v2 outputs
  • Hybrid Retrieval: Qdrant SQ8 quantized dense vectors + BM25 sparse fusion + Cross-Encoder reranking
  • LangGraph stateful workflow with deterministic allergen guardrail node & fallback retry loop
  • Semantic Redis prompt cache + token budget router reducing per-request inference cost by 58%
  • Observability via Langfuse traces, OpenTelemetry spans, and Locust TTFT load benchmarks

Tech Stack & Metrics

Python 3.12 FastAPI SSE LangGraph Qdrant Vector DB Hybrid RAG Pydantic v2 RAGAS & DeepEval Langfuse Docker Compose

Verified Benchmarks

  • {"label":"RAGAS Faithfulness","value":"94.8%"}
  • {"label":"P95 TTFT Latency","value":"410 ms"}
  • {"label":"Token Cost Reduction","value":"-58%"}
  • {"label":"Allergen Safety Pass","value":"100%"}

Deployment: FastAPI + Uvicorn Workers • Qdrant + Redis • Docker Compose • GitHub Actions CI

Builder Role: Generative AI Application Engineer (MAA-GAIP-2026-B03)