This repository documents my journey through the LangChain for LLM Application Development course by DeepLearning.AI, taught by Harrison Chase (LangChain Co-Founder/CEO) and Andrew Ng. The goal is to gain certification and build practical skills to become an AI Engineer.
- Expand LLM capabilities using the LangChain framework
- Apply LLMs to proprietary data and build personal assistants
- Create specialized chatbots with memory and context
- Use agents, chained calls, and memories effectively
- Build production-ready LLM applications
langchain-certification/
├── README.md # This file
├── .env.example # Template for API keys
├── lesson/ # Course materials and notes
│ ├── L1-Model_prompt_parser.py # Lesson 1: Models, Prompts and Parsers
│ ├── L2-Memory.py # Lesson 2: Memory
│ └── README.md # Lesson descriptions
├── projects/ # Practical implementations
│ ├── lesson1_primal_tcg/ # Real-world application of Lesson 1
│ │ ├── primal_tcg_rules_assistant.py # Main implementation
│ │ ├── test_primal_assistant.py # Testing without API
│ │ ├── README_primal_tcg.md # Project documentation
│ │ └── venv/ # Virtual environment
│ └── lesson2_memory_trading/ # Real-world application of Lesson 2
│ └── README.md # Project documentation
└── docs/ # Additional documentation
└── Primal_TCG_Comprehensive_Rules_V1.3.1.md
- Course overview and objectives
- Status: Completed
- Topics:
- Direct API calls to OpenAI
- Prompt templates with LangChain
- Output parsers for structured data
- Project: Primal TCG Rules Assistant
- Built a rules clarification system for trading card game
- Implemented structured output parsing for analytics
- Created chained prompts for complex interactions
- Status: Completed
- Topics:
- ConversationBufferMemory for full history
- ConversationSummaryMemory for condensed context
- ConversationBufferWindowMemory for recent messages
- Memory integration with chains
- Project: Memory Trading Assistant
- Built a trading assistant with persistent memory
- Implemented context-aware market analysis
- Created conversational trading strategy discussions
- Status: Upcoming
- Topics: Creating sequences of operations
- Status: Upcoming
- Topics: Applying LLMs to proprietary data
- Status: Upcoming
- Topics: Testing and evaluating LLM applications
- Status: Upcoming
- Topics: LLMs as reasoning agents
- Status: Upcoming
- Topics: Course wrap-up and next steps
- Python 3.13+
- LangChain - Core framework for LLM applications
- OpenAI API - Language model provider
- langchain-openai - OpenAI integration for LangChain
- python-dotenv - Environment variable management
- Python 3.7+ installed
- OpenAI API key (Get one here)
# Clone the repository
git clone <repository-url>
cd langchain-certification
# Create virtual environment
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install python-dotenv openai langchain langchain-openai langchain-community
# Set up environment variables
cp .env.example .env
# Edit .env and add your OpenAI API keyEach lesson has its own project directory. For example:
# Navigate to a project
cd projects/lesson1_primal_tcg
# Activate virtual environment
source venv/bin/activate
# Run the project
python primal_tcg_rules_assistant.py- ✅ Direct API calls vs LangChain abstractions
- ✅ Creating reusable prompt templates
- ✅ Parsing LLM outputs into structured JSON
- ✅ Building production-ready applications with error handling
- ✅ Implementing analytics and pattern tracking
- ✅ Implementing conversation memory in applications
- ✅ Managing different memory types for optimal performance
- ✅ Building context-aware chatbots
- ✅ Persisting conversation history across sessions
- ✅ Memory optimization strategies for long conversations
Upon completion of this course, I aim to:
- Gain DeepLearning.AI certification in LangChain development
- Build a portfolio of practical LLM applications
- Develop skills required for AI Engineering roles
- Master LangChain framework for production use
- Course Started: August 2025
- Lessons Completed: 2/8
- Projects Built: 2
- Lines of Code: 800+
- API Integrations: OpenAI
This repository serves as both a learning journal and a practical implementation guide. Each project demonstrates real-world applications of the concepts learned, going beyond simple tutorials to create functional, production-ready systems.
- Harrison Chase - LangChain Co-Founder/CEO & Course Instructor
- Andrew Ng - DeepLearning.AI Founder & Course Instructor
- DeepLearning.AI - For providing this comprehensive course
This repository is part of my journey to become an AI Engineer, focusing on practical applications of LLMs using the LangChain framework.