Course Wiki

Module 5: Monitoring — LLM Zoomcamp

Lessons, materials, and key concepts for module 5 of LLM Zoomcamp.

LLM Zoomcamp > Module 5: Monitoring

Module 5: Monitoring

Offline evaluation can’t tell you how your RAG system performs once real people use it. This module covers online monitoring: collecting metrics from real traffic and visualizing them on a dashboard.

We build a Streamlit chat app, capture metrics, store conversations in PostgreSQL, and create Grafana dashboards for real-time monitoring.

Lessons

Work through them in order:

  1. Intro - Why monitoring matters, what we’ll build
  2. Assistant Setup - Setting up the RAG assistant
  3. Chat App - Basic Streamlit app with RAG
  4. Capturing Metrics - LLMCallRecord, cost tracki

Lessons

LessonVideo
Monitoringvideo
Assistantvideo
Chat Appvideo
Capturing Metricsvideo
Storing Data in PostgreSQLvideo
Querying Datavideo
Streamlit Dashboardvideo
User Feedbackvideo
Built-in Judgevideo
Feedback Dashboard
Synthetic Data Generation
Grafana Dashboardsvideo
Docker Compose
Next Stepsvideo

Key concepts

Homework and deadlines live in the course repository: llm-zoomcamp.

Other modules in this course


DataTalks.Club. Hosted on GitHub Pages. Built with Rustkyll. We use cookies.