Skip to main content
CourseFlix

Build an LLM-powered Q&A App using LangChain, OpenAI and Python

2h 38m 22s
English
Paid

Project Overview

LLMs like GPT are exceptional at answering questions based on the data they’ve been trained on. But what if you need to inquire about information not included in their training set? For instance, asking about data from after their training cut-off date or querying non-public documents? This project will guide you on how to input extensive information, like books and documents, into the model to answer those questions. We will teach you this process from scratch!

In this project, you’ll learn to build cutting-edge LLM-powered apps using LangChain, Pinecone, OpenAI, and Python. Join us as we build together, step-by-step, line-by-line, in this learning-by-doing experience.

Why This Project Stands Out

This is a portfolio project designed to enrich your skill set. You will learn LangChain and build a Q&A application in about 3 hours.

LangChain is an open-source framework that simplifies working with AI by combining large language models (LLMs) like GPT-4 with external computation and data sources. It facilitates the creation and deployment of AI applications that are both scalable and performant. Whether you have a technical or non-technical background, LangChain provides an excellent entry point into the AI domain and supports deploying AI as a service. The practical applications are virtually limitless.

About the Author: zerotomastery.io

zerotomastery.io thumbnail
Whether you are just starting to learn to code or want to advance your skills, Zero To Mastery Academy will teach you React, Javascript, Python, CSS and more to help you advance your career, get hired and succeed at some of the top companies in the world.

Watch Online 23 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 23 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Project Demo
All Course Lessons (23)
#Lesson TitleDurationAccess
1
Project Demo Demo
05:25
2
Introduction to LangChain
07:16
3
Setting Up The Environment: LangChain, Pinecone, and Python-dotenv
11:02
4
LLM Models (Wrappers): GPT-3
06:14
5
ChatModels: GPT-3.5-Turbo and GPT-4
04:42
6
Prompt Templates
05:11
7
Simple Chains
05:50
8
Sequential Chains
08:08
9
Introduction to LangChain Agents
04:01
10
LangChain Agents in Action
05:29
11
Short Recap of Embeddings
01:53
12
Introduction to Vector Databases
06:58
13
Splitting and Embedding Text Using LangChain
09:20
14
Inserting the Embeddings into a Pinecone Index
07:54
15
Asking Questions (Similarity Search)
07:54
16
Project Introduction
06:09
17
Loading Your Custom (Private) PDF Documents
07:28
18
Loading Different Document Formats
05:13
19
Public and Private Service Loaders
04:38
20
Chunking Strategies and Splitting the Documents
06:39
21
Embedding and Uploading to a Vector Database (Pinecone)
11:18
22
Asking and Getting Answers
10:34
23
Adding Memory (Chat History)
09:06
Unlock unlimited learning

Get instant access to all 22 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription