A hands-on collection of scripts and notebooks covering core LangChain concepts and integrations.
| Folder | What's inside |
|---|---|
1.LLMs/ |
Basic LLM usage |
2.ChatModels/ |
Chat model integrations — OpenAI, Anthropic, Google, HuggingFace (API & local) |
3.EmbeddedModels/ |
Embedding models, document similarity |
Chains in LangChain/ |
Simple, sequential, parallel, and conditional chains |
Document loaders/ |
Loaders for text, CSV, PDF, web, and directories |
LangChain OP parsers/ |
String, JSON, Pydantic, and structured output parsers |
LangChain Strcutured O:P/ |
Structured output with TypedDict, Pydantic, and JSON schema |
LangChain_prompts/ |
Prompt templates, chat history, message placeholders, chatbot UI |
Runnables/ |
RunnableSequence, RunnableParallel, RunnableBranch, RunnableLambda, passthrough |
Text Splitters/ |
Length-based, structure-based, markdown, Python code, and semantic splitters |
Youtube Chatbot/ |
End-to-end chatbot over YouTube content |
pip install -r requirements.txtCreate a .env file with your API keys:
OPENAI_API_KEY=...
ANTHROPIC_API_KEY=...
GOOGLE_API_KEY=...
HUGGINGFACEHUB_API_TOKEN=...
- LLM providers: OpenAI, Anthropic, Google Gemini, HuggingFace
- Core libs:
langchain,langchain-core,langchain-openai,langchain-anthropic,langchain-google-genai,langchain-huggingface