Build a Customer Support Bot | LangGraph
Skills:
Agent Foundations90%Tool Use & Function Calling80%Multi-Agent Systems80%Autonomous Workflows70%
Build a Customer Support Chatbot | LangGraph
In this tutorial, we create a travel assistant chatbot using LangGraph, demonstrating reusable techniques applicable to building any customer support chatbot or AI system that uses tools, supports many user journeys, or requires a high degree of control. #AI #LangGraph #llm
We start by building a simple travel assistant and progressively add complexity to better support advanced capabilities:
1. Zero-Shot Tool Executor: In the first part, we develop a simple agent with an LLM and tools, showing the limitations of this flat design for complex experiences.
2. User Confirmation: In the second part, we add user confirmation before the agent takes any sensitive actions, giving the user more control but at the cost of a less autonomous experience.
3. Conditional Interrupts: In the third part, we split tools into "safe" and "sensitive" categories, only requiring user confirmation on sensitive actions. This improves the user experience while maintaining an appropriate level of control.
4. Specialized Workflows: In the fourth part, we separate user journeys into specific "skills" or "workflows". This allows optimizing prompts and tools for each intent, leading to a more reliable and tailored user experience.
By the end of this tutorial, you'll understand key principles for designing customer support chatbots, balancing expressiveness and control to create delightful user experiences.
Chapters:
00:00 Introduction
01:15 Background: Chatbot Design Challenges
02:38 Tutorial Roadmap: From Simple to Complex
06:50 Set up Development Environment
10:04 Part 1: Designing a Simple Zero-Shot Agent
16:08 Part 2: Add User Confirmation
19:37 Part 3: Conditional Interrupts
25:10 Zero-shot Design Limitations and Solutions
27:28 Part 4: Specialized Workflows (Intro)
29:46 Workflow Design and Optimization
38:44 Testing out + Review in LangSmith
42:57 Reflecting on the Tutorial: From Simple Agent to Specialized Workflows
46:50 Conclusion
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from LangChain · LangChain · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Chat With Your Documents Using LangChain + JavaScript
LangChain
LangChain SQL Webinar
LangChain
LangChain "OpenAI functions" Webinar
LangChain
LangSmith Launch
LangChain
LangChain x Pinecone: Supercharging Llama-2 with RAG
LangChain
LangChain Expression Language
LangChain
Building LLM applications with LangChain with Lance
LangChain
Benchmarking Question/Answering Over CSV Data
LangChain
LangChain "RAG Evaluation" Webinar
LangChain
Fine-tuning in Your Voice Webinar
LangChain
Tabular Data Retrieval
LangChain
Building an LLM Application with Audio by AssemblyAI
LangChain
Superagent Deepdive Webinar
LangChain
Lessons from Deploying LLMs with LangSmith
LangChain
Shortwave Assistant Deepdive Webinar
LangChain
Cognitive Architectures for Language Agents
LangChain
Effectively Building with LLMs in the Browser with Jacob
LangChain
Data Privacy for LLMs
LangChain
"Theory of Mind" Webinar with Plastic Labs
LangChain
LangChain Templates
LangChain
Using Natural Language to Query Postgres with Jacob
LangChain
Building a Research Assistant from Scratch
LangChain
Benchmarking RAG over LangChain Docs
LangChain
Skeleton-of-Thought: Building a New Template from Scratch
LangChain
Benchmarking Methods for Semi-Structured RAG
LangChain
LangSmith Highlights: Getting Started
LangChain
LangSmith Highlights: Debugging
LangChain
LangSmith Highlights: Datasets
LangChain
LangSmith Highlights: Evaluation
LangChain
LangSmith Highlights: Human Annotation
LangChain
LangSmith Highlights: Monitoring
LangChain
LangSmith Highlights: Hub
LangChain
SQL Research Assistant
LangChain
Getting Started with Multi-Modal LLMs
LangChain
Build a Full Stack RAG App With TypeScript
LangChain
Auto-Prompt Builder (with Hosted LangServe)
LangChain
LangChain v0.1.0 Launch: Introduction
LangChain
LangChain v0.1.0 Launch: Observability
LangChain
LangChain v0.1.0 Launch: Integrations
LangChain
LangChain v0.1.0 Launch: Composability
LangChain
LangChain v0.1.0 Launch: Streaming
LangChain
LangChain v0.1.0 Launch: Output Parsing
LangChain
LangChain v0.1.0 Launch: Retrieval
LangChain
LangChain v0.1.0 Launch: Agents
LangChain
Build and Deploy a RAG app with Pinecone Serverless
LangChain
Hosted LangServe + LangChain Templates
LangChain
LangGraph: Intro
LangChain
LangGraph: Agent Executor
LangChain
LangGraph: Chat Agent Executor
LangChain
LangGraph: Human-in-the-Loop
LangChain
LangGraph: Dynamically Returning a Tool Output Directly
LangChain
LangGraph: Respond in a Specific Format
LangChain
LangGraph: Managing Agent Steps
LangChain
LangGraph: Force-Calling a Tool
LangChain
LangGraph: Multi-Agent Workflows
LangChain
Streaming Events: Introducing a new `stream_events` method
LangChain
Building a web RAG chatbot: using LangChain, Exa (prev. Metaphor), LangSmith, and Hosted Langserve
LangChain
OpenGPTs
LangChain
Open Source RAG with Nomic's New Embedding Model (and ChromaDB and Ollama)
LangChain
LangGraph: Persistence
LangChain
More on: Agent Foundations
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Should Websites Allow AI Search Crawlers?
Dev.to · AIvsRank
Beyond the Prompt: How to Build Stateful AI Agents with Persistent Memory and Self-Learning Loops
Dev.to · Programming Central
What I Do Between Biotech Jobs, Part 1: The 20-Line Script That Outsmarted an AI
Medium · Python
The AI Industry Is Quietly Shifting From Models to Infrastructure
Medium · Machine Learning
Chapters (13)
Introduction
1:15
Background: Chatbot Design Challenges
2:38
Tutorial Roadmap: From Simple to Complex
6:50
Set up Development Environment
10:04
Part 1: Designing a Simple Zero-Shot Agent
16:08
Part 2: Add User Confirmation
19:37
Part 3: Conditional Interrupts
25:10
Zero-shot Design Limitations and Solutions
27:28
Part 4: Specialized Workflows (Intro)
29:46
Workflow Design and Optimization
38:44
Testing out + Review in LangSmith
42:57
Reflecting on the Tutorial: From Simple Agent to Specialized Workflows
46:50
Conclusion
🎓
Tutor Explanation
DeepCamp AI