Learn LangChain, Pinecone & OpenAI: Build Next-Gen LLM Apps

Learn LangChain, Pinecone & OpenAI: Build Next-Gen LLM Apps

English | MP4 | AVC 1920×1080 | AAC 44KHz 2ch | 87 lectures (8h 24m) | 3.61 GB

Hands-On Applications with LangChain, Pinecone, and OpenAI. Build Web Apps with Streamlit. Join the AI Revolution Today!

Master LangChain, Pinecone, and OpenAI. Build hands-on generative LLM-powered applications with LangChain.

Create powerful web-based front-ends for your generative apps using Streamlit.

The AI revolution is here and it will change the world! In a few years, the entire society will be reshaped by artificial intelligence.

By the end of this course, you will have a solid understanding of the fundamentals of LangChain, Pinecone, and OpenAI. You’ll also be able to create modern front-ends using Streamlit in pure Python.

This LangChain course is the 2nd part of “OpenAI API with Python Bootcamp”. It is not recommended for complete beginners as it requires some essential Python programming experience.

Currently, the effort, knowledge, and money of major technology corporations worldwide are being invested in AI.

In this course, you’ll learn how to build state-of-the-art LLM-powered applications with LangChain.

What is 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.

It also facilitates entry into the AI field for individuals from diverse backgrounds and enables the deployment of AI as a service.

In this course, we’ll go over LangChain components, LLM wrappers, Chains, and Agents. We’ll dive deep into embeddings and vector databases such as Pinecone.

This will be a learning-by-doing experience. We’ll build together, step-by-step, line-by-line, real-world LLM applications with Python, LangChain, and OpenAI. The applications will be complete and we’ll also contain a modern web app front-end using Streamlit.

We will develop an LLM-powered question-answering application using LangChain, Pinecone, and OpenAI for custom or private documents. This opens up an infinite number of practical use cases.

We will also build a summarization system, which is a valuable tool for anyone who needs to summarize large amounts of text. This includes students, researchers, and business professionals.

I will continue to add new projects that solve different problems. This course, and the technologies it covers, will always be under development and continuously updated.

The topics covered in this “LangChain, Pinecone and OpenAI” course are:

  • LangChain Fundamentals
  • Setting Up the Environment with Dotenv: LangChain, Pinecone, OpenAI
  • LLM Models (Wrappers): GPT-3
  • ChatModels: GPT-3.5-Turbo and GPT-4
  • LangChain Prompt Templates
  • Simple Chains
  • Sequential Chains
  • Introduction to LangChain Agents
  • LangChain Agents in Action
  • Vector Embeddings
  • Introduction to Vector Databases
  • Diving into Pinecone
  • Diving into Chroma
  • Splitting and Embedding Text Using LangChain
  • Inserting the Embeddings into a Pinecone Index
  • Asking Questions (Similarity Search) and Gettings Answers (GPT-4)
  • Proficient in using AI Coding Assistants (Jupyter AI)
  • Creating front-ends for LLM and generative AI apps using Streamlit
  • Streamlit: main concepts, widgets, session state, callbacks

The skills you’ll acquire will allow you to build and deploy real-world AI applications. I can’t tell you how excited I am to teach you all these cutting-edge technologies.

What you’ll learn

  • How to Use LangChain, Pinecone, and OpenAI to Build LLM-Powered Applications.
  • Learn about LangChain components, including LLM wrappers, prompt templates, chains, and agents.
  • Learn about the different types of chains available in LangChain, such as stuff, map_reduce, refine, and LangChain agents.
  • Acquire a solid understanding of embeddings and vector data stores.
  • Learn how to use embeddings and vector data stores to improve the performance of your LangChain applications.
  • Deep Dive into Pinecone.
  • Learn about Pinecone Indexes and Similarity Search.
  • Project: Build an LLM-powered question-answering app with a modern web-based front-end for custom or private documents.
  • Project: Build a summarization system for large documents using various methods and chains: stuff, map_reduce, refine, or LangChain Agents.
  • This will be a Learning-by-Doing Experience. We’ll Build Together, Step-by-Step, Line-by-Line, Real-
  • World Applications (including front-ends using Streamlit).
  • You’ll learn how to create web interfaces (front-ends) for your LLM and generative AI apps using Streamlit.
  • Streamlit: main concepts, widgets, session state, callbacks.
  • Learn how to use Jupyter AI efficiently.
Table of Contents

Getting Started
1 How to Get the Most Out of This Course
2 Join My Private Community
3 Course Resources

Deep Dive into LangChain and Pinecone
4 LangChain Demo
5 Introduction to LangChain
6 Setting Up the Environment LangChain Pinecone and Pythondotenv
7 LLM Models Wrappers GPT3
8 ChatModels GPT35Turbo and GPT4
9 Prompt Templates
10 Simple Chains
11 Sequential Chains
12 Introduction to LangChain Agents
13 LangChain Agents in Action
14 Short Recap of Embeddings
15 Introduction to Vector Databases
16 Diving into Pinecone Part 1
17 Diving into Pinecone Part 2
18 Splitting and Embedding Text Using LangChain
19 Inserting the Embeddings into a Pinecone Index
20 Asking Questions Similarity Search

Jupyter AI
21 Jupyter AI
22 Introduction to Jupyter AI and Other Coding Companions
23 Installing Jupyter AI
24 Using Jupyter AI in JupyterLab
25 Setting Up Jupyter AI in Jupyter Notebook
26 Using Jupyter AI in Jupyter Notebook
27 Using Interpolation for More Advanced Use Cases
28 Using Jupyter AI with Other Providers and Models

Project 1 Building a Custom ChatGPT App with LangChain From Scratch
29 Project Introduction
30 Implementing a ChatGPT App with ChatPromptTemplates and Chains
31 Adding Chat Memory Using ConversationBufferMemory
32 Saving Chat Sessions

Project 2 QuestionAnswering Application on Your Custom or Private Documents
33 Project Introduction
34 Loading Your Custom Private PDF Documents
35 Loading Different Document Formats
36 Public and Private Service Loaders
37 Chunking Strategies and Splitting the Documents
38 Embedding and Uploading to a Vector Database Pinecone
39 Asking and Getting Answers
40 Adding Memory Chat History

Project 3 Building a FrontEnd for the QuestionAnswering App Using Streamlit
41 Project Introduction and Library Installation
42 Defining Functions
43 Creating the Sidebar
44 Reading Chunking and Embedding Data
45 Asking Questions and Getting Answers
46 Saving the Chat History
47 Clearing Session State History Using Callback Functions

Project 4 Summarizing With LangChain and OpenAI
48 Project Introduction
49 Summarizing Using a Basic Prompt
50 Summarizing using Prompt Templates
51 Summarizing Using StuffDocumentsChain
52 Summarizing Large Documents Using mapreduce
53 mapreduce With Custom Prompts
54 Summarizing Using the refine CombineDocumentChain
55 refine With Custom Prompts
56 Summarizing Using LangChain Agents

Project 5 Building a Custom ChatGTP App with LangChain and Streamlit
57 Project Introduction
58 Building the App
59 Displaying the Chat History
60 Testing the App

Appendix Creating Web Interfaces for LLM Applications Using Streamlit
61 Section Resources
62 Introduction to Streamlit
63 Streamlit Main Concepts
64 Displaying Data on the Screen stwrite and Magic
65 Widgets Part 1 textinput numberinput button
66 Widgets Part 2 checkbox radio select
67 Widgets Part 3 slider fileuploader camerainput image
68 Layout Sidebar
69 Layout Columns
70 Layout Expander
71 Displaying a Progress Bar
72 Session State
73 Callbacks

Appendix Python Programming
74 README
75 While and continue Statements
76 While and break Statements
77 List Slicing and Iteration
78 List Comprehension Part 1
79 List Comprehension Part 2
80 Working with Dictionaries
81 JSON Data Serialization
82 JSON Data Deserialization
83 Assignment JSON and RequestsREST API
84 Assignment Answer JSON and RequestsREST API

Appendinx Installing Jupyter Notebook and Google Colab
85 Installing Jupyter Notebook and Google Colab

BONUS SECTION
86 Congratulations
87 BONUS THANK YOU GIFT

Homepage