Tutorials
Below are links to tutorials and courses on LangChain.js. For written guides on common use cases for LangChain.js, check out the use cases and guides sections.
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
LangChain Expression Language Cheatsheet
For a quick reference for LangChain Expression Language, check out this overview/cheatsheet made by @zhanghaili0610: