
Discover how AI applications like chat.com enable uploading PDFs and chatting about their content, and learn to connect long chain with LLMs such as OpenAI GPT to build apps.
Explore LangChain, a Python and JavaScript framework that links language models to external data and actions, enabling data-aware and agent-aware capabilities for web search, emails, math, and code.
Use LangChain to turn documents from any source into chunks, embed them as vectors in a vector store, and perform similarity searches to answer questions with a language model.
Create a medium article generator that turns a topic like passive income into a medium title and article, including a subtitle and introduction for posting on Medium.
Set up a LangChain and Streamlit-based Medium article generator by configuring the OpenAI API key, installing dependencies, and launching a front-end that generates articles from a topic.
Connect to OpenAI by creating an OpenAI instance, and set the temperature to balance creativity for article titles with factual accuracy for legal summaries.
Learn to build reusable prompt templates in LangChain that accept inputs like topic and language. Use placeholders and a format to generate tailored article titles with precision across multiple languages.
Master simple chains in LangChain by building an lm chain with a prompt template. Learn how to pass topics and inputs—dictionary-based or single-variable—before comparing with sequential chains for complex tasks.
Learn to build OpenAI LLM powered apps using sequential chains that produce a medium article title and body by connecting a title chain to an article chain.
Discover how LangChain agents use GPT models with tools like Wikipedia and math through a zero-shot react agent to plan actions and answer prompts.
Build a chat with document bot that uploads pdf, word, or text files, reads and embeds them, and answers questions while preserving chat history and resets history on new file.
Apply LangChain and large language models to your documents by building a chat-based question-and-answer app with a chroma vector store, embeddings, and a retrieval chain.
Add memory to your LangChain apps by implementing a chat history with a conversational retrieval chain, saving questions and answers via session state for contextual, ongoing conversations.
Discover how to print chat history using a for loop over a session state 2d array, render it in the app, and address history clearing and features like file uploads.
Add a user file upload feature to read custom documents, supporting pdf, docs, and text files, and manage upload state with clear history, chunking, and embedding workflows.
Learn to load text, pdf, and word documents in a LangChain app by detecting file extensions and selecting the appropriate loader, with a spinner for chunking and embedding.
Enable a YouTube question answering chat by using the YouTube loader and transcript API to load data from YouTube and other sources like Wikipedia.
Explore the fundamentals of Lang Graph in this introduction, covering type annotation, elements, hollow world, multiple inputs, conditional, looping graphs, and rack agent, with ai agent exercises.
Explore type annotations and dictionaries in Python, using keys like name and age to retrieve values like Alice and 30, and learn that dictionaries do not enforce data types.
Implement a Python type dictionary to define state data with key types in a class, such as name string and age integer, boosting type safety and readability while reducing errors.
Explore union types and Python type annotations, enforce type safety with dictionaries and the type dictionary, and see how LangChain and LangGraph build robust AI agents and graphs.
Build a hello world graph in LandGraph to learn start, end, two intermediate nodes, and how data flows through connections, while setting up Python and a code editor.
Create your first graph in LangGraph by defining a typed state with a name attribute, adding an ask name node and a grid node, linking start to end, and compiling.
Visualize and run a simple hello world graph with an ascii diagram, an invoke method, and a start, ask, grid, and end nodes.
Create a multi-input LangGraph to collect a name and five transactions, analyze the total, and classify you as saver or spender for budget analysis.
Build graph in lang graph by initializing with state graph, start at asking and end at analyze, connect edges from asking to ask values and from ask values to analyze.
Create a conditional graph to route data using a router node, with an input function producing plus or minus edges, powering a tip calculator assistant that computes the final total.
Learn how to invoke the graph, supply default values, and route based on operations like plus and minus to compute final totals with tip or discount.
Extend the tip calculator example by adding an optional rounding step after tip or discount decisions, reinforcing conditional branches and graph concepts for LangChain and LangGraph.
Explore looping graphs with a conditional edge by building a password authentication flow that loops back to get password until the correct one is entered, then ends at success.
Run the graph demonstrates looping with conditional edges in LangGraph, guiding password input until success; implement the final graph and start building AI agents.
Build a simple AI agent by integrating LLMs into graphs with LangChain's ChatOpenAI, define SimpleBot, and invoke the LLM in a graph node with a while loop.
In this short course, we take you on a fun, hands-on and pragmatic journey to learn how to build LLM powered apps using LangChain and LangGraph. You'll start building your first Generative AI app within minutes. Every section is recorded in a bite-sized manner and straight to the point as I don’t want to waste your time (and most certainly mine) on the content you don't need.
In this course, we will cover:
What is LangChain
How does LangChain Work
Installation, Setup and Our First LangChain App
Building a Medium Article Generator App
Connecting to OpenAI LLM
Prompt Templates
Simple Chains
Sequential Chains
Agents
Chat with a Document
Adding Memory (Chat History)
Outputting the Chat History
Uploading Custom Documents
Loading Different Document Types (eg PDF, txt, docs)
Chat with Youtube
* New LangGraph Section!
Multiple Inputs Graph
Conditional Graph
Simple AI Agent Bot
Agent with Conversation History
Reasoning and Acting (ReAct) Agent
Task List Assistant Agent
RAG Agent
and more...
The goal of this course is to teach you LangChain and LangGraph development in a manageable way without overwhelming you. We focus only on the essentials and cover the material in a hands-on practice manner for you to code along.
Working Through This Course
This course is purposely broken down into short sections where the development process of each section will center on different essential topics. The course a practical hands on approach to learning through practice. You learn best when you code along with the examples.