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.
Your Memberships & Subscriptions

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.
Follow the author
OK
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
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.
- LanguageEnglish
- Publication dateJune 9, 2024
- File size8.5 MB
Shop this series
See full series- Kindle Price:$29.97By placing your order, you're purchasing a license to the content and you agree to the Kindle Store Terms of Use.
- Kindle Price:$49.95By placing your order, you're purchasing a license to the content and you agree to the Kindle Store Terms of Use.
- Kindle Price:$93.90By placing your order, you're purchasing a license to the content and you agree to the Kindle Store Terms of Use.
- Kindle Price:$103.89By placing your order, you're purchasing a license to the content and you agree to the Kindle Store Terms of Use.
Shop this series
This option includes 3 books.
This option includes 5 books.
This option includes 10 books.
This option includes 11 books.
Customers also bought or read
- Building LLM Powered Applications: Create intelligent apps and agents with large language modelsKindle Edition$31.19$31.19
- AI Engineering: Building Applications with Foundation Models#1 Best SellerNatural Language ProcessingKindle Edition$54.85$54.85
- Build a Large Language Model (From Scratch)#1 Best SellerComputer Neural NetworksKindle Edition$43.99$43.99
- Building Agentic AI Systems: Create intelligent, autonomous AI agents that can reason, plan, and adaptJust releasedKindle Edition$31.72$31.72
- Deep Learning with PyTorch Step-by-Step: A Beginner's Guide: Volume I: FundamentalsKindle Edition$3.95$3.95
- LangFlow, 2nd Edition : Build AI Agents and RAG Apps Without Writing a Line of CodeKindle Edition$7.00$7.00
Customers who bought this item also bought
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
- Best Sellers Rank: #350,387 in Kindle Store (See Top 100 in Kindle Store)
- Customer Reviews:
About the author

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
- 5 star4 star3 star2 star1 star5 star81%0%0%7%12%81%
- 5 star4 star3 star2 star1 star4 star81%0%0%7%12%0%
- 5 star4 star3 star2 star1 star3 star81%0%0%7%12%0%
- 5 star4 star3 star2 star1 star2 star81%0%0%7%12%7%
- 5 star4 star3 star2 star1 star1 star81%0%0%7%12%12%
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on January 9, 2025Format: PaperbackVerified PurchaseExcellent 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, 2024Format: KindleVerified PurchaseIt’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.
- Reviewed in the United States on July 28, 2024Format: PaperbackVerified PurchaseLangChain framework is very well explained for the beginners. Content is crisp and concise.
- Reviewed in the United States on January 19, 2025
1.0 out of 5 stars Running the programs in the book is impossible after Chapter 6 without debugging!
Format: PaperbackVerified PurchaseI 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, 2025Format: KindleThe 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, 2024Format: PaperbackI 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 AgrawalReviewed in India on March 21, 2025
5.0 out of 5 stars Amazing book for non technical people
Format: KindleVerified PurchaseLove 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.