In this video we'll learn how to build advanced AI guardrails as part of a broader protective system for production-ready AI systems. We explore the use of hybrid vector space to develop this guardrails, which can be incredibly useful for chatbot use-cases with specific brand, topic, or behavioral guardrails.
📌 Code:
https://github.com/aurelio-labs/semantic-router/blob/main/docs/examples/hybrid-chat-guardrails.ipynb
⚠️ API keys:
- OpenAI https://platform.openai.com/api-keys
- Aurelio AI https://platform.aurelio.ai/settings/api-keys
👾 Discord:
https://discord.gg/c5QtDB9RAP
Twitter: https://twitter.com/jamescalam
LinkedIn: https://www.linkedin.com/in/jamescalam/
#artificialintellegence #aiagents #coding #ai #programming
00:00 Why Guardrails
00:20 Guardrails for Agents
03:40 Sparse and Dense Vectors
08:00 Hybrid Guardrails with Python
12:29 Initializing the HybridRouter
15:01 Optimizing our Hybrid Guardrails
19:16 Testing our Hybrid Router
20:46 AI Guardrails in Context
Choose to Build with AI
Matched to Semantic Search
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