Hands on patterns for building LLM applications with LangChain, written as small, focused, runnable scripts.
- RAG (
RAGS/): retrieval augmented generation over classic literature (Alice in Wonderland, Dracula, Frankenstein, The Lord of the Rings). Document loading, chunking, embeddings, a ChromaDB vector database, and metadata filtered retrieval. - Chains (
chains/): chain basics and inner workings, then sequential, parallel, and conditional composition. - Chat models (
chat_models/): conversation loops, interactive chat, and persisting message history to Firebase. - Prompt templates (
prompt_templates/): parameterized prompting patterns.
LangChain · ChromaDB · Python