Find the perfect coding resourcesLearn more

Learn LangChain.js

ScrimbaScrimba
Recommended
Meet Your Instructor
Tom Chant avatar

Tom Chant

Instructor

Tutor at Scrimba with experience since 2004. Specializes in JavaScript, Node.js, and making coding accessible and pain-free for learners.

1h 34m

Completion

Certificate included

Format

Interactive coding

Free

What You'll Learn

LangChain.js fundamentals

Text splitting and chunking strategies

OpenAI embeddings and vector conversion

Supabase vector store setup and usage

LangChain Expression Language (LCEL)

Overview

Put yourself on the bleeding edge of AI by harnessing the power of LangChain Expression Language to build a chatbot that has deep knowledge of a provided document. In this course, you'll use LangChain.js to build a chatbot that can answer questions on specific text - one of the holy grails of AI. First, learn about using LangChain to split text into chunks, convert chunks to vectors using OpenAI embeddings, and store them in a Supabase vector store. Next, study chains using LangChain Expression Language. Finally, tackle retrieval using vector matching to select relevant text chunks from your vector store. This enables the chatbot to answer questions specific to your data - a critical skill for real-world AI applications.

Table of Contents
1
What you'll learn and build
2
Introduction to LangChain from Jacob Lee (Lead Maintainer of LangChain.js)
3
App Flow Diagrams
4
What are embeddings?
5
Supabase Setup
6
Split the text
7
Split the text II
8
Upload to supabase
9
Starter code
10
Explainer: The Standalone Question
11
Aside: Prompt Templates
12
Adding the first chain
13
Retrieval
14
Add StringOutputParser
15
Fetching the answer: the template
16
Serialize the docs
17
Aside: RunnableSequence
18
Aside: RunnableSequence 2
19
Aside: RunnableSequence 3: RunnablePassthrough
20
Super Challenge - add the RunnableSequence
21
Super Challenge - solution
22
Wire up the UI
23
Setting up the memory
24
Super Challenge: Wire up the memory
25
Performance Issues Check-list
26
v0.2 Path Updates
27
LangChain Outro
28
Certificate of Completion

Share Your Experience

Sign in to leave a review and help others

No reviews yet. Be the first to review!