Build Better LLM Apps with Assertion-Based Unit Tests

From the creator

Want to start freelancing? Let me help: https://academy.datalumina.com/freelance Want to learn real AI Engineering? Go here: https://academy.datalumina.com/accelerator 💼 Need help with a project? Work with me: https://www.datalumina.com/ 🔗 Article https://applied-llms.org/ 🛠️ My Development Workflow https://youtu.be/3sIzCFuLgIQ ⏱️ Timestamps 0:10 Introduction to LLM Evaluation Techniques 2:46 Understanding Data Processing Steps 3:59 Writing Assertions for LLM Outputs 6:39 Structuring Your Evaluation Logic 📌 Description In this video, I discuss practical evaluation techniques for enhancing the reliability of large language model (LLM) applications. I introduce assertion-based unit tests and methods to capture real-world input data, enabling effective analysis of customer interactions. I highlight the importance of structured outputs with the Instructor library and demonstrate how multiple assertions can validate system responses. Additionally, I discuss organizing code for better maintenance and recommend the observability platform Langfuse for tracking API calls. Finally, I share insights on a boilerplate project for event-driven LLM applications and tips for developers transitioning into freelancing.

Choose to Build with AI
Matched to Python

AI Maker Residence 3

The third AI workshop taught by our legendary teacher, Nick Sarafa. This is a full-day hands-on training workshop for purposeful co-creation with AI using Claude Code. Imagine having access to hundreds of billions of dollars of computing power and knowing exactly how to make it work for you through the power of super intelligence.

◆ Fri 09 Oct 2026 ◆ KOKO Cafe, London ◆ With Nick Sarafa
AI Maker Residence 3
Live event
AI Maker Residence 3
Fri 09 Oct 2026

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.