Join us
Sign in to access all features
Text course
How to make an LLM answer from your own documents: embeddings, chunking, pgvector, answers with sources and a chat on LangChain.js.
4 modules · 12 lessons · 5 quizzes
You need a free account to take the course.

LLMs know a lot, but nothing about your documents: company policies, documentation, notes. Retrieval-Augmented Generation (RAG) is the most common way to fix this: for every question, find the relevant document fragments and give them to the model.
The course has two parts:
The course is for developers who know TypeScript and backend basics but haven't worked with LLMs yet. Each module ends with a short quiz, and there's a final quiz at the end.
The finished code for all practical lessons is in the examples repository: separately, scripts with no web framework, a chat on Express and a chat on Nest.js.
Theory without code: what LLMs can't do, what embeddings and semantic search are, what parts every RAG system consists of, and how a vector index searches among millions of vectors.
Practice: RAG by hand on the OpenAI SDK, then LangChain.js, chunking, pgvector and answers with links to sources.
A web chat with a streamed answer and conversation history, and a first quality check on a set of test questions.
Moving the chat to Nest.js, an overview of the techniques that turn a prototype into a production system, and where to go after the course.