Faster Training, Better Intents | RAG Intent Recognition: Explained

Voiceflow · Beginner ·🔍 RAG & Vector Search ·1y ago

Key Takeaways

The video discusses the upgrade from traditional Natural Language Understanding (NLU) to Retrieval-Augmented Generation (RAG) intent recognition using embeddings, which improves speed, accuracy, and overall performance of conversational AI systems.

Full Transcript

nlu is dead no no gimmicks here nlu is dead Long Live nlu [Music] bye hey it's Pete today we're going to talk about how nlu the backbone of conversational AI since well forever is getting a major upgrade at voice flow an upgrade so significant that it's basically replacing the old system entirely it's like getting your 998 Nokia and then replacing with an iPhone same purpose but wildly different capabilities nlu has been the unsung hero of conversational AI for years every time you chat with a bot that actually understands what you're asking for that's been nlu working behind the scenes and for years we've been meticulously crafting these systems training them utterance by utterance intent by intent like digital bonsai trees printing here nurturing there all while praying that users didn't say something we didn't anticipate and it worked well sort of when users played our rules and said the things that we expected it was magical and when they didn't well let's just say I'm sorry I didn't understand that became the unofficial slogan of the entire industry the problem was never that nlu was bad it's just it wasn't flexible people don't speak in perfectly structured queries they ramble they use slang they combined three questions into one run-on sentence that would make their high school English teacher weak and training traditional nlu to handle all these variations it's like trying to anticipate every possible way someone might ask for a coffee I'm dying for some caffeine I'd like to get a coffee can I get a coffee coffee me got KNE of that Bean Juice etc etc it just meant endless hours of adding training phrases managing intents and then retraining your system and even one weird customer query could send the whole thing sparring into an abyss of sorry I don't understand into rag based intent recognition with embeddings think of it as nlu that actually went to college and got a degree in linguistics instead of just reading the cliff notes it's a real rag to Rich's story from struggling with basic understanding to suddenly grasping the nuances of human conversation here's how it works instead of looking for exact matches or specific patterns this system translates language into mathematical vectors you can kind of think of them as like I guess coordinates in meaning space and if two phrases mean roughly the same thing they'll be close together in this meaning space so what does the weather look like and do I need an umbrella today land near each other even though they share almost no words it's like upgrading from a dictionary to actual comprehension the system doesn't just match words it grasps Concepts okay now first off I want to talk about how this new system is fast and we're talking really fast like training in second what used to take a few minutes an agent with 37 intents and 305 utterances trains in 1 second that isn't a typo it's so fast that training now happens automatically when you test your agent no more waiting around while the nlu crunches numbers you know I kind of feel like this is like going from dialup to fiber but speed isn't everything this system understands Nuance in a way that traditional nlu could only dream of that is if it could dream anyway so let's take this word salad I got a blue sweater last week but it's too big and I was wondering if I can swap it because I really like the color but not the fit and do you have it in a medium ah they want to exchange an item for a different size it cuts through the noise to find the signal no more training for every possible way that someone might phrase a request for you voice blow users this means fewer intense less training and better results it's like having a bot that actually listens in instead of just waiting for its turn to speak your existing intents and utterances will work but you might want to revisit them with this new system you don't need 50 variations of the same phrase anymore the system is smart enough to figure it out with just a few examples and for your users they can finally talk like humans instead of having to learn your bot's secret coded language now we're not pulling the rug from under you both systems will run side by side for a while so you can test out and transition at your own pace just look for the intent classification toggle in your settings but let's be real once you try the new system going back to traditional nlu will feel like trading your smartphone for a carrier pigeon so is nlu dead at vo flow yeah I'd say it is it's pretty much on its last legs and We Salute You traditional NL for you have for the most part served us well but now it's time to make way for something better an approach that lets us Focus Less on training Bots to understand humans and more on designing experiences that actually help them and that my friends is that an obituary for The Voice flow nlu July 2022 to 2025 let me know your thoughts in the comments and remember as always stay curious [Music]

Original Description

We're excited to announce a significant upgrade to our intent recognition system, moving from the traditional Natural Language Understanding (NLU) approach to Retrieval-Augmented Generation (RAG) model using embeddings. This transition brings notable improvements to the speed, accuracy, and overall user experience when interacting with AI agents on our platform. Pete covers the history of NLU and talks about the advancements of this new system on intent recognition. Read the full changelog here: https://docs.voiceflow.com/changelog/retrieval-augmented-generation-rag-for-intent-recognition The fastest way to build, manage, and deploy AI agents. Use Voiceflow to design, test, and launch chat or voice AI agents — together, faster, at scale. Join our Discord community 👾 https://link.voiceflow.com/community Kickstart your next project with our templates 🚀 https://link.voiceflow.com/marketplace-youtube Our Links 🔗 👉 Start building today: https://www.voiceflow.com/?utm_source=youtube&utm_medium=organic 👉 Docs: https://docs.voiceflow.com/ 👉 Subscribe: https://bit.ly/3am22nf 👉 Twitter: https://bit.ly/2xrXZqV 👉 LinkedIn: https://www.linkedin.com/company/voiceflowhq/ 👉 Publication: https://www.voiceflow.com/blog?utm_source=youtube&utm_medium=organic
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Voiceflow · Voiceflow · 43 of 60

1 The Context Window Paradox with LLMs
The Context Window Paradox with LLMs
Voiceflow
2 Intercom to Voiceflow: why Nick, Head of CX @ Roam made the move #ai #customersupport #chatbot
Intercom to Voiceflow: why Nick, Head of CX @ Roam made the move #ai #customersupport #chatbot
Voiceflow
3 Biggest Challenge with Intercom - why Nick moved to Voiceflow #ai #chatbot #automation #intercom
Biggest Challenge with Intercom - why Nick moved to Voiceflow #ai #chatbot #automation #intercom
Voiceflow
4 Save 30 HOURS a week automating your customer support #ai #customersupport #automation #voiceflow
Save 30 HOURS a week automating your customer support #ai #customersupport #automation #voiceflow
Voiceflow
5 NLUs vs. LLMs - are NLUs dead? #nlu #llm #gpt #ailearning #agent #voiceflow #largelanguagemodels
NLUs vs. LLMs - are NLUs dead? #nlu #llm #gpt #ailearning #agent #voiceflow #largelanguagemodels
Voiceflow
6 Build a GPT4 Vision AI Assistant #business #gptv #gpt4 #ailearning #ai  #developer
Build a GPT4 Vision AI Assistant #business #gptv #gpt4 #ailearning #ai #developer
Voiceflow
7 How does an AI model search through information?
How does an AI model search through information?
Voiceflow
8 Gamechanging Zendesk app that summarizes your tickets #customersupport #ai #zendesk #voiceflow
Gamechanging Zendesk app that summarizes your tickets #customersupport #ai #zendesk #voiceflow
Voiceflow
9 Three reasons why your business shouldn't build a custom LLM
Three reasons why your business shouldn't build a custom LLM
Voiceflow
10 Do we still need Conversation Designers?
Do we still need Conversation Designers?
Voiceflow
11 LLMs have changed Conversation Design forever...  #ai #generativeai
LLMs have changed Conversation Design forever... #ai #generativeai
Voiceflow
12 Conversation Designer or Agent Designer? The Future of AI Automation Design #ai #generativeai
Conversation Designer or Agent Designer? The Future of AI Automation Design #ai #generativeai
Voiceflow
13 What's New in Voiceflow | March Feature Releases
What's New in Voiceflow | March Feature Releases
Voiceflow
14 Voiceflow AI Agency Panel: Start an AI Agency that's Built to Last
Voiceflow AI Agency Panel: Start an AI Agency that's Built to Last
Voiceflow
15 9 Tips for Starting and Scaling Your AI Agency
9 Tips for Starting and Scaling Your AI Agency
Voiceflow
16 What's New in Voiceflow | April Feature Releases
What's New in Voiceflow | April Feature Releases
Voiceflow
17 How to Scale Your AI Agent | Crawl, Walk, Run
How to Scale Your AI Agent | Crawl, Walk, Run
Voiceflow
18 The most important thing Large Language Models can do
The most important thing Large Language Models can do
Voiceflow
19 Three ways to use LLMs in your company
Three ways to use LLMs in your company
Voiceflow
20 5 Conversational AI Frameworks for AI Agents
5 Conversational AI Frameworks for AI Agents
Voiceflow
21 Voiceflow is a Customizable AI Platform
Voiceflow is a Customizable AI Platform
Voiceflow
22 Know your AI Agency Customers
Know your AI Agency Customers
Voiceflow
23 The Future of AI is Custom Interfaces
The Future of AI is Custom Interfaces
Voiceflow
24 The Overnight AI Agency Gambit
The Overnight AI Agency Gambit
Voiceflow
25 Introducing Tabular Data Support | June Feature Releases
Introducing Tabular Data Support | June Feature Releases
Voiceflow
26 Getting Started with Voiceflow APIs
Getting Started with Voiceflow APIs
Voiceflow
27 An AI Coach that Drives Leads and Financial Literacy
An AI Coach that Drives Leads and Financial Literacy
Voiceflow
28 Unlocking LLM Accuracy — Let It Cook!
Unlocking LLM Accuracy — Let It Cook!
Voiceflow
29 Speed Up Your AI Agent — Make Concurrent API Calls!
Speed Up Your AI Agent — Make Concurrent API Calls!
Voiceflow
30 Save Big with Automation — Cutting Costs Effectively
Save Big with Automation — Cutting Costs Effectively
Voiceflow
31 Multimodal Projects, LLM Entity Extraction, Cheaper Tokens, and More!
Multimodal Projects, LLM Entity Extraction, Cheaper Tokens, and More!
Voiceflow
32 Add a phone number to your AI agent on Voiceflow
Add a phone number to your AI agent on Voiceflow
Voiceflow
33 Top 5 Voice AI Agent Best Practices
Top 5 Voice AI Agent Best Practices
Voiceflow
34 Voiceflow 2024 Recap
Voiceflow 2024 Recap
Voiceflow
35 Build Voice AI Agents with no-code in Voiceflow
Build Voice AI Agents with no-code in Voiceflow
Voiceflow
36 [NEW] Structured Prompt Outputs & Variable Pathing
[NEW] Structured Prompt Outputs & Variable Pathing
Voiceflow
37 This AI agency's Project for a Local City Hall Drives over 11,000 Monthly Interactions #aiagency
This AI agency's Project for a Local City Hall Drives over 11,000 Monthly Interactions #aiagency
Voiceflow
38 Your AI Interface is More Important than the Content | Humans Talking Agents Episode 1
Your AI Interface is More Important than the Content | Humans Talking Agents Episode 1
Voiceflow
39 The Future of AI Automation Agencies | Humans Talking Agents Episode 2
The Future of AI Automation Agencies | Humans Talking Agents Episode 2
Voiceflow
40 $1000 Voice AI Competition Kickoff
$1000 Voice AI Competition Kickoff
Voiceflow
41 How to Build a Successful AI Agency | Voiceflow Panel Event
How to Build a Successful AI Agency | Voiceflow Panel Event
Voiceflow
42 AI Models are changing the way we build AI Agents | Humans Talking Agents Episode 3
AI Models are changing the way we build AI Agents | Humans Talking Agents Episode 3
Voiceflow
Faster Training, Better Intents | RAG Intent Recognition: Explained
Faster Training, Better Intents | RAG Intent Recognition: Explained
Voiceflow
44 Will voice AI kill call centers? | Humans Talking Agents Episode 4
Will voice AI kill call centers? | Humans Talking Agents Episode 4
Voiceflow
45 Build an AI agent in seconds — here's how.
Build an AI agent in seconds — here's how.
Voiceflow
46 Connecting multiple agents into an Agent Network with the new Agent step
Connecting multiple agents into an Agent Network with the new Agent step
Voiceflow
47 How will Vibe Coding affect software? | Humans Talking Agents Episode 5
How will Vibe Coding affect software? | Humans Talking Agents Episode 5
Voiceflow
48 Vibe coding: the end of coding as we know it
Vibe coding: the end of coding as we know it
Voiceflow
49 Vibe coding and resolution-based pricing — what will happen to AI companies' pricing models?
Vibe coding and resolution-based pricing — what will happen to AI companies' pricing models?
Voiceflow
50 Grow your AI agency: How to get new customers | Voiceflow Workshop Event
Grow your AI agency: How to get new customers | Voiceflow Workshop Event
Voiceflow
51 MCP is the key to an agentic internet | Humans Talking Agents Episode 6
MCP is the key to an agentic internet | Humans Talking Agents Episode 6
Voiceflow
52 MCP will change agent building forever with new standards for interactions
MCP will change agent building forever with new standards for interactions
Voiceflow
53 Review and improve your AI agent responses with call recording
Review and improve your AI agent responses with call recording
Voiceflow
54 4 tips to optimize your voice AI calls in Voiceflow
4 tips to optimize your voice AI calls in Voiceflow
Voiceflow
55 Launch AI agents even faster: new prompt generation feature
Launch AI agents even faster: new prompt generation feature
Voiceflow
56 Give your AI agents memory
Give your AI agents memory
Voiceflow
57 Can we build an AI Agent for a bank in 5 minutes?
Can we build an AI Agent for a bank in 5 minutes?
Voiceflow
58 Automate customer support tickets with AI (step-by-step Voiceflow tutorial)
Automate customer support tickets with AI (step-by-step Voiceflow tutorial)
Voiceflow
59 How to add custom ElevenLabs voices to Voiceflow
How to add custom ElevenLabs voices to Voiceflow
Voiceflow
60 Can we build an AI agent for Notion in 5 minutes?
Can we build an AI agent for Notion in 5 minutes?
Voiceflow

The video explains how Voiceflow's new RAG-based intent recognition system improves conversational AI performance, allowing for faster training, better understanding of nuances, and reduced need for extensive training data. This upgrade enables designers to focus on creating helpful experiences rather than training bots to understand humans.

Key Takeaways
  1. Understand the limitations of traditional NLU
  2. Learn how RAG intent recognition works
  3. Implement RAG intent recognition in Voiceflow
  4. Test and transition to the new system
  5. Revisit and refine existing intents and utterances
💡 RAG intent recognition using embeddings enables conversational AI systems to understand nuances and context, reducing the need for extensive training data and improving overall performance.

Related Reads

📰
AnswerSurvivalRAG: What Happens When RAG Finds the Answer, Then Drops It?
Learn how RAG systems can fail even when they find the correct answer, and why it matters for reliable AI performance
Medium · Machine Learning
📰
A RAG evaluator that admits what it can't judge
Learn how to build a reliable RAG evaluator that acknowledges its limitations, a crucial aspect of AI safety and robustness
Dev.to · Melissa D. Ellison
📰
RAG on Google Cloud in Regulated Environments: A Lifecycle Playbook from Inception to…
Learn to implement RAG on Google Cloud in regulated environments with a lifecycle playbook
Medium · Machine Learning
📰
Solving One of the Hardest Problems in Code RAG: Context Retrieval
Learn to solve context retrieval in code RAG systems, a crucial challenge in automation code generation, and improve your skills in RAG and code analysis.
Medium · RAG
Up next
RRF vs DBSF with Qdrant: Hybrid Retrieval Fusion for RAG in Python
Professor Py: AI Engineering
Watch →