Enter your keyword

Learn Generative AI with LangChain and Python

Learn Generative AI with LangChain and Python

Generative AI creates new and original content, such as text, images, videos, music, and code. Unlike traditional AI that might classify data or make predictions based on existing information, generative AI learns the patterns and structures of a dataset and then uses that knowledge to produce new, novel outputs. LangChain is an open-source software development framework designed to simplify the creation of Generative AI applications. LangChain provides a set of pre-built, modular components that can be “chained” together to create a cohesive workflow.

Who is this Training for?

This course is for developers who have prior programming experience (in any language) and who want to pursue a career in Generative AI using LangChain or similar frameworks. This course will provide conceptual clarity and lay the necessary foundations to become Generative AI. 

What you’ll learn in this Training?

  • Python Fundamentals (data types, control statements, package and library organization)
  • Essential concepts of python that are used in LangChain with hand-on exercises in labs
  • LangChain ecosystem and how it is organized 
  • Build simple Generative AI application

REQUEST TO ENROL

    Training Course Structure

    Course Outline
    In this module, learners will be provided with a foundational understanding of generative AI applications.

    • Introduction to Large Language Models (LLMs)
      • How the LLM model works
      • Key Characteristics of the LLM models
    • Understanding of different types of AI
      • Understanding of Discriminative AI
      • Understanding of Generative AI
      • Difference between Generative AI applications, AI Agents, Workflows, Graphs, and Multi-Agent Systems (MAS)
    • Building Blocks: Simple Generative AI Applications
      • Understanding of Prompts
      • What are Output Parsers
      • Understanding of Embeddings and Embedding models
      • What is Vector Database

    This module provides an understanding of the Python programming language. Like any other programming language, the focus is on data types, control structures, and modular structure.

    • Introduction to Python
      • Choices for environment creation
      • Concept of Library, Modules, and Packages
      • Understanding of Data Types (Mutable and Immutable)
      • Understanding of String Manipulation
      • What are the Control Flows
      • Error and exception handling
      • Introduction to Common Libraries Used in GenAI

    This module extends the foundational Python concepts and emphasizes functions, callables, and classes, which are essential for understanding and building applications with the LangChain framework.

    • Understanding of Python Functions
      • Define functions
      • Positional and keyword arguments
      • Scope of variable (LGEB – local, enclosing, global, built-in)
      • Concept of First-Class Functions
    • Understanding of Callable
      • Concept of Higher Order Functions
      • What is Callable
      • Defining a Callable
    • Understanding of Classes
      • Defining Class in Python
      • Naming conventions in Python Classes (mangling)
      • Attaching Data to Classes
      • Instance, Class, and static methods
      • Dunder method
      • Absolute Base Class (ABC)

    This module builds the core concepts and design patterns used in the LangChain Framework.

    • Learning LangChain Frameworks
      • LangChain and LangGraph to Frameworks
      • Langsmith and Langserve Platform
    • Learning LangChain Libraries
      • Key libraries in LangChain
      • Organization of Libraries
      • Which Library to use when
    • LangChain Runnable, LCEL and “|” Operator
      • What is Runnable
      • Introduction to LangChain Expression Language (LCEL) Creating “Chains”

    This module focuses on data structures used in LangChain, which is an extension of Python collections.

    • Collections Module in Python
      • What is Runnable
      • Introduction to LangChain Expression Language (LCEL)
      • How to create Chains
    • LangChain “Document” data structure
      • Creating an Instance of a Document
      • Components and Methods to Construct / Manipulate a Document
      • Packaging and unpacking a LangChain Document
    • LangChain “Message” data structure
      • Backbone of conversational applications in LangChain
      • Components and Methods to Construct / Manipulate Document
      • Different Types of Messages

    In this module, we focus on Generative AI applications using LangChain by developing an understanding of Prompts and Output Parsers.

    • Understanding of Prompts
      • Learn Prompt concepts
      • Understanding different types of prompts
      • Explore basic prompts and Chat prompts
    • Pydantic Basics
      • Data model based on a data class
      • Data validation
      • Type hinting and annotations
    • Structured Output with LangChain
      • Output parsers

    1. Craft prompts using Chat GPT and other models
    2. String manipulation using python
    3. Read / Write different file formats (XLSX, CSV, UTF8, PDF) using Python libraries 
    4. Interacting with data sources such as database using python
    5. Crafting prompts using Chat GPT and other models
    6. Creating prompts programmatically using variables
    7. Create Conversational prompts for Chat
    8. Building QA Chat bot
    9. Building Conversational Chat bot
    10. Techniques to Unpack LangChain Message and Document
    11. Unpack LangChain Message and Document 
    12. Deploy Chat bot on browser using Streamlit
    13. Structured output using QA bot
    14. Build Gen AI application for data validation (Date, String, integer)
    15. Generating SQL statements using LLM

    Training Details

    Training Schedule

    Timings: 07:00 PM to 09:00 PM IST

    Day: Weekends ( Saturday and Sunday )

    Total Duration: 24 hours

    Date: 31-Aug-2025

    Mode: Online

    REQUEST TO ENROL

      Testimonials

      Open chat
      Hello 👋
      Can we help you?