Don't want to get left behind? Learn to build with A.I. now 🤖
Back to courses

Developing LLM Apps with LangChain

This byte-sized course will teach you how to build state-of-the-art LLM-powered applications with LangChain, Pinecone, and Python! This is the perfect way to start learning about the world of AI application development.

2 Days

Average time students take to complete this course.

Last updated: April 2024


LLMs are great at answering questions about data they've been trained on...but what if you want to ask it questions about data it hasn't been trained on? One of the best ways to do this is inputting the information into the model using tools like LangChain and Pinecone. And that's exactly what this project will teach you from scratch!

What you'll learn

  • How to integrate external data sources, including books and documents, into LLMs like GPT for enhanced question-answering capabilities beyond their initial training data
  • The fundamentals of building LLM-powered applications using the LangChain framework, enabling you to harness the full potential of AI in custom projects
  • Techniques for leveraging Pinecone and OpenAI with Python to create sophisticated Q&A applications, enhancing your technical skill set and understanding of modern AI tools
  • Step-by-step guidance on deploying scalable and performant AI applications, preparing you to create a portfolio-worthy project in just 3 hours

Why Learn LangChain?

LangChain is an open-source framework that allows developers working with AI to combine large language models (LLMs) like GPT-4 with external sources of computation and data.

It makes it easy to build and deploy AI applications that are both scalable and performant. LangChain is a great entry point into the AI field for individuals from diverse backgrounds and enables the deployment of AI as a service. It has a virtually infinite number of practical use cases!

Why Learn Pinecone?

Pinecone is a cutting-edge vector database designed specifically for machine learning and AI applications.

It enables developers and data scientists to efficiently store, manage, and search through large volumes of high-dimensional vector data, which is often generated by AI models like deep learning algorithms.

By learning Pinecone, you gain the capability to build advanced search, recommendation, and personalization systems that can handle complex queries and return highly relevant results in real-time.

This technology is crucial for anyone looking to build AI applications!

Wait... What's a Project?

One of the most common things we hear from students is: "I want to build more projects!".

We love hearing that, because building projects is really the best way to learn. And unique, challenging projects can really make your portfolio stand out for potential employers.

But just feel so good when you actually build something real!

That's why we've created ZTM Projects. A collection of comprehensive portfolio and practice projects that you can use to advance your knowledge, learn new skills, build your portfolio, and sometimes even just have fun!

What Else Should I Know?

By becoming a ZTM member you'll not only get access to all our courses, bytes, and projects.

But you’ll also get to join our exclusive live online community classroom to learn alongside thousands of students, alumni, mentors, TAs and Instructors.

Most importantly, you'll be learning from an industry professional (Andrei) that has actual real-world experience with LangChain and Pinecone. He teaches you the exact information he uses in his role.

Finally, as with all ZTM courses, this course is a living thing. It will be constantly updated as the landscape changes so you can use it as your go-to resource for learning LangChain and Pinecone now and throughout your career.

Join 1,000s of Zero To Mastery graduates that have gotten hired and are now working at companies like Google, Tesla, Amazon, Apple, IBM, JP Morgan, Facebook, Shopify + other top tech companies.

They come from all different backgrounds, ages, and experiences. Many even started as complete beginners.

So there's no reason it can't be you too.

And you have nothing to lose. Because you can start learning right now and if this course isn't everything you expected, we'll refund you 100% within 30 days. No hassles and no questions asked.

When's the best time to get started? Today!

There's never a bad time to learn in-demand skills. But the sooner, the better. So start learning LangChain and Pinecone today by joining the ZTM Academy. You'll have a clear roadmap to developing the skills to build your own projects, get hired, and advance your career.

Join Zero To Mastery Now

Course curriculum

Here's an overview of what you learn in this LangChain course.


5 lectures



Byte FAQ


Course Resources


Exercise: Meet Your Classmates and Instructor


Set Your Learning Streak Goal


Deep Dive into LangChain

14 lectures

Introduction to LangChain7:15


Setting Up the Environment: LangChain, Python-dotenv7:05


ChatModels: GPT-3.5-Turbo and GPT-46:29


Caching LLM Responses4:56


LLM Streaming2:57


Prompt Templates5:35




Simple Chains6:55


Sequential Chains7:14


Introduction to LangChain Agents4:00


LangChain Agents in Action: Python REPL7:40


LangChain Tools: DuckDuckGo and Wikipedia11:07


Creating a React Agent13:29


Testing the React Agent4:49


LangChain and Vector Stores (Pinecone)

9 lectures

Short Recap of Embeddings1:52


Introduction to Vector Databases6:57


Authenticating to Pinecone4:26


Working with Pinecone Indexes9:23


Working with Vectors8:42




Splitting and Embedding Text Using LangChain9:19


Inserting the Embeddings into a Pinecone Index8:49


Asking Questions (Similarity Search)7:53


Project: RAG - Q&A Application on Your Private Documents (Pinecone & Chroma)

11 lectures

Project Introduction6:08


Loading Your Custom (Private) PDF Documents7:27


Loading Different Document Formats5:12


Public and Private Service Loaders4:37


Chunking Strategies and Splitting the Documents6:38


Note: LangChain and Pinecone Library Versions


Embedding and Uploading to a Vector Database (Pinecone)11:17


Asking and Getting Answers10:33


Using Chroma as a Vector DB11:10


Adding Memory to the RAG System (Chat History)9:25


Using a Custom Prompt8:09


Where To Go From Here?

2 lectures

What's Next?


Review This Project!


Meet your instructor

Your instructor (Andrei) isn't just an expert with years of real-world professional experience. He has been in your shoes. He makes learning fun. He makes complex topics feel simple. He will motivate you. He will push you. And he will go above and beyond to help you succeed.

Andrei Dumitrescu

Hi, I'm Andrei Dumitrescu!

Andrei is a Senior Network & Software Engineer with 15+ years of experience and over 50,000+ students have taken at least one of his top-rated courses.


Andrei Dumitrescu

DevOps Engineer

Frequently asked questions

Are there any prerequisites for this course?

  • Basic Python knowledge is required. If you don't have that be sure to take our Python Bootcamp course first!

Do you provide a certificate of completion?

We definitely do and they are quite nice. You will also be able to add Zero To Mastery Academy to the education section of your LinkedIn profile as well.

Are there subtitles?

Yes! We have high quality subtitles in 11 different languages: English, Spanish, French, German, Dutch, Romanian, Arabic, Hindi, Portuguese, Indonesian, and Japanese.

You can even adjust the text size, color, background and more so that the subtitles are perfect just for you!

Still have more questions about the Academy?

Still have more questions specific to the Academy membership? No problem, we answer some more here.

Invest in a better you. For less than a coffee a day.

Choose your currency:
$ USD US Dollar
100% OFF$999
Only pay once, ever
You're serious about advancing your career and never getting left behind
Start Learning Now


Save 40% vs. monthly (that's $189 a year)
100% OFF$279 / year
$23 / month
$279 / year
You're committed to getting hired and starting a career in tech
Start Learning Now
100% OFF$39 / month
$39 / month
You're ready to upskill and advance your career
Start Learning Now

Every ZTM membership includes:

Unlimited access to all courses, projects + workshops, and career paths
Access to our private Discord with 400,000+ members
Access to our private LinkedIn networking group
Custom ZTM course completion certificates
Live career advice sessions with mentors, every month
Full access to all future courses, content, and features

We know you'll love ZTM. That's why we provide a no hassle, 30-day money back guarantee.