Kindle Unlimited
Unlimited reading. Over 4 million titles. Learn more
OR
$7.99

These promotions will be applied to this item:

Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.

You've subscribed to ! We will preorder your items within 24 hours of when they become available. When new books are released, we'll charge your default payment method for the lowest price available during the pre-order period.
Update your device or payment method, cancel individual pre-orders or your subscription at
Your Memberships & Subscriptions
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

LangChain Programming for Beginners: A Step-By-Step Guide to AI Application Development With LangChain, Python, OpenAI/ChatGPT, Google/Gemini and Other LLMs (Code With Nathan) Kindle Edition

4.3 out of 5 stars 20 ratings

LangChain Programming For Beginners will help you harness the power of LangChain framework and build AI-powered applications quickly.

Save your time and learn up to 3X faster with a structured learning resource that’s carefully crafted for beginners.

In this book, I'll be using a step-by-step, practical approach so that you can develop cutting-edge LLM solutions for a diverse range of areas.

The projects included in this book that will help you experience how to integrate OpenAI's ChatGPT and Google's Gemini AI into LangChain.

What You'll Learn

  • Understand the benefits of using LangChain
  • Master LangChain features such as chains, agents, and document loader
  • Create prompt templates for specific use cases
  • Master LCEL, the LangChain Expression Language
  • Use Streamlit and LangChain to create AI-powered web applications
  • Creating chunks and embeddings using ChromaDB, a vector database
  • How to chat with PDF documents using AI
  • How to chat with YouTube videos using AI
  • How to chat with images using AI
  • Integrate open-source LLMs into LangChain


Who is this for?

  • Software Engineers and Developers wanting to learn how to build Generative AI applications with LangChain.
  • Python beginners wanting to explore LangChain and LLM programming

The book is designed to be easy to understand and accessible to anyone looking to learn LangChain. It provides a step-by-step practical guide that will help you understand how to use LangChain to develop AI-powered applications.

Plus, I take extra time to make sure my book is engaging and fun so you will stay motivated.

Book Content

In the contents of this book, we will cover:

Chapter 1: Introduction to LangChain
Chapter 2: Your First LangChain Application (With Google Gemini)
Chapter 3: Using OpenAI LLM in LangChain
Chapter 4: Integrating Ollama With LangChain
Chapter 5: Adding Streamlit for Web GUI
Chapter 6: Creating Prompt Templates
Chapter 7: The LangChain Expression Language (LCEL)
Chapter 8: Regular Sequential Chains
Chapter 9: Creating ChatGPT Clone (Adding Chat History and Chat Input)
Chapter 10: AI Agents and Tools
Chapter 11: Interacting With Documents in LangChain
Chapter 12: Uploading Different Document Types
Chapter 13: Chat With YouTube Videos
Chapter 14: Interacting With Images Using Multimodal Messages
Chapter 15: Deploying AI Application to Production

We focus only on the essentials and apply what we've learned by building simple projects using Python and Langchain.

You will see how LangChain makes creating AI applications super fun and easy.

Requirements

To experience the full benefit of this book, basic knowledge of Python is required.

If you need some help in learning Python, you can get my book Beginning Python at https://www.amazon.com/dp/B0C4WGXPKH

Accelerate Your Coding Journey

Stop wasting your precious time trying to connect incomplete tutorials from different sources.

Instead, use this book and gain the LangChain knowledge you need to excel today.

I promise you this: You will know how to develop AI applications using LangChain with confidence.

Shop this series

 See full series
There are 11 books in this series.
  • Kindle Price:
    $93.90
    By placing your order, you're purchasing a license to the content and you agree to the Kindle Store Terms of Use.

Customers also bought or read

Loading...

Product details

  • ASIN ‏ : ‎ B0D6MQ2H76
  • Accessibility ‏ : ‎ Learn more
  • Publication date ‏ : ‎ June 9, 2024
  • Edition ‏ : ‎ 1st
  • Language ‏ : ‎ English
  • File size ‏ : ‎ 8.5 MB
  • Simultaneous device usage ‏ : ‎ Unlimited
  • Screen Reader ‏ : ‎ Supported
  • Enhanced typesetting ‏ : ‎ Enabled
  • X-Ray ‏ : ‎ Not Enabled
  • Word Wise ‏ : ‎ Not Enabled
  • Print length ‏ : ‎ 172 pages
  • Page Flip ‏ : ‎ Enabled
  • Part of series ‏ : ‎ Code With Nathan
  • Customer Reviews:
    4.3 out of 5 stars 20 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Nathan Sebhastian
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Nathan Sebhastian is a senior software developer with 8+ years of experience in developing web and mobile applications.

He is passionate about making technology education accessible for everyone and has taught online since 2018.

Customer reviews

4.3 out of 5 stars
20 global ratings

Review this product

Share your thoughts with other customers

Top reviews from the United States

  • Reviewed in the United States on January 9, 2025
    Format: PaperbackVerified Purchase
    Excellent primer on LLMs! This book got me going in this new exciting area. The book provides a quick, self-contained introduction that can be injested in its entirety over a few days.
  • Reviewed in the United States on June 21, 2024
    Format: KindleVerified Purchase
    It’s been frustrating for me personally to find good AI / LLM ebooks that have the right mix of technical details and introductory overview, so I'mvery happy that I found this book. Highly recommended. The right amount of detail to setup your own Python clients that work right with LLMs, and for me the discussion of open source LLMs perfect for someone starting out.
    One person found this helpful
    Report
  • Reviewed in the United States on July 28, 2024
    Format: PaperbackVerified Purchase
    LangChain framework is very well explained for the beginners. Content is crisp and concise.
  • Reviewed in the United States on January 19, 2025
    Format: PaperbackVerified Purchase
    I am adding this review after I started trying to run the programs in the book.
    The code in Chapters 1 - 6 pretty much ran according to what was in the book.
    Starting in Chapter 7 and getting progressively worse with each following chapter the code requires significant debugging to run.
    After Chapter 10 it is a total mess to debug.
    For example in Chapter 10 the code in the book is llm = ChatOpenAI(model = "gpt-4o", api_key=OPENAI_KEY), BUT the author left out loading OpenAI; from langchain_openai import ChatOpenAI
    The source code from github is not much help either.
    I thought that the author supplying an email address was a great selling point, except the author has only answer one email from me and did not solve the code problem I was asking about.
    It appears that he has moved on to other projects and totally abandoned this book!
  • Reviewed in the United States on May 23, 2025
    Format: Kindle
    The author has a zip file you can download with all the examples in the book. Very nice. You have the code that's in his book and can just run it. That makes things much easier than copy/pasting code from the book into your python program or manually typing what you see in the book into your program. The author provides code examples to run against Gemini, OpenAI and Ollama LLMs.

    The chapters describe the code that's in the python programs for that chapter. It's a good starting point, but you will have to do additional research into the documentation of the different tools and modules to really understand what is taking place.

    I was able to run the code in all the chapters except one that had some incompatibility issues.

    Overall I think it is a good book for someone getting started with Langchain.
  • Reviewed in the United States on August 5, 2024
    Format: Paperback
    I stumbled upon this book searching in the kindle store. To my surprise, the book smoothly described the LangChain process and covered the exact building blocks I wanted to learn. Nathan even explained deployment at the end. As a data scientist, I strongly recommend this book/guide.

Top reviews from other countries

  • Sourabh Agrawal
    5.0 out of 5 stars Amazing book for non technical people
    Reviewed in India on March 21, 2025
    Format: KindleVerified Purchase
    Love this book. I don’t have programming background but this book gave me a lot of confidence that I can build my own AI app.

Report an issue


Does this item contain inappropriate content?
Do you believe that this item violates a copyright?
Does this item contain quality or formatting issues?