# MLOPs and Guardrails Day 1 Lab

> In this video, Zach walks through the setup of guardrails for his MLOPS project, focusing on the database agent. He explores how to manage toxic inputs and ensure that the AI remains respectful during user interactions. Zach demonstrates the middleware functionalities, including toxicity detection…

- Web page: https://www.dataexpert.io/lesson/ml-ops-day1-lab-oct25-p737-l1523
- Program: [AIExpert](https://www.dataexpert.io/program/ai-expert)
- Module: Week 4: MLOps, Guardrails & Business Value
- Access: Requires enrollment in AIExpert
- Length: 1 h 2 min video
- Academy: DataExpert.io Academy

## About this lesson

In this video, Zach walks through the setup of guardrails for his MLOPS project, focusing on the database agent. He explores how to manage toxic inputs and ensure that the AI remains respectful during user interactions. Zach demonstrates the middleware functionalities, including toxicity detection and on-topic checks, while emphasizing the importance of keeping the agent aligned with relevant data tables. He also highlights the need for the middleware to adapt dynamically as new tables are created in the database.

## Navigation

- Previous lesson: [MLOPs and Guardrails Day 1 Lecture](https://www.dataexpert.io/lesson/ml-ops-day1-lecture-oct25-p737-l1512.md)
- Next lesson: [MLOPs and Guardrails Day 2 Lecture](https://www.dataexpert.io/lesson/ml-ops-day2-lecture-oct25-p737-l1524.md)
