MLOps / LLM Evaluation✓ CompletedMay 2026

ASU LLM Evaluation Pipeline

An automated LLM quality monitoring system for an ASU university RAG chatbot. Every GitHub push triggers a full RAGAS evaluation: GPT-4o answers 100 test questions, GPT-4o-mini judges each response for faithfulness, relevancy, and context precision — 25× cheaper than GPT-4o for evaluation tasks. Six automated quality gates block deployment if any metric drops below threshold (hallucination rate ≤ 10%, faithfulness ≥ 0.80, answer relevancy ≥ 0.75). Vectors persist in Pinecone cloud so CI runners skip re-embedding on every push. Results are auto-committed back to the repo with [skip ci] to prevent infinite trigger loops, then streamed to a React dashboard on Vercel showing trend charts across the last 50 runs, a per-question breakdown table with category and difficulty filters, and real-time cost tracking with 30-second auto-refresh. Latest run: 6/6 gates PASS, faithfulness 1.00, hallucination 0%, cost $0.087.

Tech Stack

PythonLangChainRAGASOpenAI GPT-4oPineconeGitHub ActionsReactViteSQLiteVercel

Key Highlights

  • 6 automated quality gates block CI deployment: faithfulness ≥ 0.80, hallucination ≤ 10%, relevancy ≥ 0.75, context precision ≥ 0.60, latency p95 ≤ 15s, cost ≤ $0.02/query
  • GPT-4o-mini as judge — validated GPT-4o → GPT-4o-mini model swap with no quality drop; 25× cost reduction ($0.87 vs ~$21.75 per full 100-question run)
  • Pinecone cloud vector store eliminates per-run re-embedding; CI checks vector_count > 0 before upload
  • Auto-commits results JSON with [skip ci] back to repo; React dashboard on Vercel auto-refreshes every 30s
  • Trend charts across 50 runs + per-question breakdown table with category, difficulty, and PASS/FAIL filters