Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LangChain Lab: RAG, Chains, and Chat Model Patterns

Hands on patterns for building LLM applications with LangChain, written as small, focused, runnable scripts.

Contents

  • 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.

Stack

LangChain · ChromaDB · Python

About

LangChain patterns lab: RAG pipelines, chains, chat models, and prompt templates

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages