02
LLM Clients and ChainsHow to talk to LLMs from code, ChatOpenAI vs OpenAI, composing chains with LCEL, and the invoke, batch, and stream invocation patterns.
03
Chunking StrategiesHow to break documents into retrieval-friendly chunks, fixed-size, structure-aware, language-aware splitting, and choosing the right chunk size.
04
Embeddings and Vector DatabasesTurning document chunks into vectors, storing them in pgvector, and running similarity search to find relevant content at query time.
05
Query TransformationMaking retrieval smarter before it hits the vector database, query rewriting, multi-query generation, HyDE, and logical routing.
06
RAG StrategiesRetrieval-Augmented Generation from the naive baseline through RAPTOR, GraphRAG, agentic RAG, and self-evaluating pipelines like Self-RAG and CRAG.
07
Tools and Tool CallingHow an LLM asks your code to run a function — defining tools with @tool, advertising them with bind_tools, executing calls, and returning results with ToolMessage.
08
Agent ArchitecturesBuilding autonomous agents with LangGraph, the ReAct loop, reflection, supervisor multi-agent systems, subgraphs, dynamic tool selection, and human-in-the-loop.
09
Agent GuardrailsHow to validate and filter agent inputs and outputs, classifier nodes, structured output validation, prompt injection defence, and safe fallback responses.