External guides
Below are links to external tutorials and courses on LangChain.js. For other written guides on common use cases for LangChain.js, check out the tutorials and how to sections.
Deeplearning.ai
We've partnered with Deeplearning.ai and Andrew Ng on a LangChain.js short course.
It covers LCEL and other building blocks you can combine to build more complex chains, as well as fundamentals around loading data for retrieval augmented generation (RAG). Try it for free below:
Scrimba interactive guides
Scrimba is a code-learning platform that allows you to interactively edit and run code while watching a video walkthrough.
We've partnered with Scrimba on course materials (called "scrims") that teach the fundamentals of building with LangChain.js - check them out below, and check back for more as they become available!
Learn LangChain.js
An full end-to-end course that walks through how to build a chatbot that can answer questions about a provided document. A great introduction to LangChain and a great first project for learning how to use LangChain Expression Language primitives to perform retrieval!
LangChain Expression Language (LCEL)
- The basics (PromptTemplate + LLM)
- Adding an output parser
- Attaching function calls to a model
- Composing multiple chains
- Retrieval chains
- Conversational retrieval chains ("Chat with Docs")
Deeper dives
Neo4j GraphAcademy
Neo4j has put together a hands-on, practical course that shows how to build a movie-recommending chatbot in Next.js. It covers retrieval-augmented generation (RAG), tracking history, and more. Check it out below:
LangChain.js x AI SDK
How to use LangChain.js with AI SDK and React Server Components.