Skip to main content

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

2h 38m 22s
English
Paid

Course description

WHAT IS THIS PROJECT?

LLMs like GPT 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? For example, maybe you want to ask them about information from after their training cut-off date, or information from non-public documents? One of the best ways to do this is inputting the information, even large amounts of information such books and documents, into the model. And that's exactly what this project will teach you from scratch!

In this project you'll learn how to build state-of-the-art LLM-powered applications with LangChain, Pinecone, OpenAI, and Python! We'll build together, step-by-step, line-by-line. This will be a learning-by-doing experience.

WHY IS THIS PROJECT AWESOME?

This is a portfolio project. It requires about 3 hours to both learn LangChain and build the Q&A application.

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.

Watch Online

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

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

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

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

The Ultimate Flask Course

The Ultimate Flask Course

Sources: udemy
Welcome to The Ultimate Flask Course. This course is designed to teach you everything you need to know to get started building your own Python-based web apps us
28 hours 4 minutes 28 seconds
Python 3: Deep Dive (Part 1 - Functional)

Python 3: Deep Dive (Part 1 - Functional)

Sources: udemy
This is Part 1 of a series of courses intended to dive into the inner mechanics and more complicated aspects of Python 3. This is not a beginner course - if you've been coding P...
44 hours 40 minutes 37 seconds
100 Days of Code - The Complete Python Pro Bootcamp for 2023

100 Days of Code - The Complete Python Pro Bootcamp for 2023

Sources: udemy
Welcome to the 100 Days of Code - The Complete Python Pro Bootcamp, the only course you need to learn to code with Python. With over 100,000 reviews and a 4.8 a
58 hours 35 minutes 40 seconds
Developing LLM App Frontends with Streamlit

Developing LLM App Frontends with Streamlit

Sources: zerotomastery.io
This byte-sized course will teach Streamlit fundamentals and how to use Streamlit to create a frontend for your LLM-powered applications.
1 hour 43 minutes 52 seconds
Full Web Apps with FastAPI

Full Web Apps with FastAPI

Sources: Talkpython
FastAPI has burst on to the Python web scene. In fact, the 2020 PSF developer survey shows FastAPI going from off the radar to the 3rd most popular and fastest
7 hours 12 minutes 4 seconds