An introduction to LangChain, OpenAI's chat endpoint and Chroma DB vector database. This is a step-by-step tutorial to learn how to make a ChatGPT that uses data from your own PDF with sources breakdown. This video provides a few diagrams explaining the architecture and concepts to show how easy it can be.
🔗 Links
Source code: github.com/edrickdch/chat-pdf
PDF: www.imf.org/en/Publications/W...
OpenAI: platform.openai.com/
LangChain: python.langchain.com/en/lates...
Chroma DB: docs.trychroma.com/
⏳ Timestamps
00:00 Intro
00:11 Overview Large Language Model
00:51 Introduce LangChain
01:03 Part 1 - Ingestion Architeture
02:25 OpenAI API Key
02:48 Part 1 - Ingestion Code
03:04 Parse PDF
03:39 Clean text
04:06 Create text chunks
04:30 Create embeddings + Store Chroma DB Vector
04:45 Part 1 - Recap
04:55 Part 2 - Conversation Architecture
05:45 Part 2 - Conversation Code
06:27 Creating a LangChain chain to chat
07:00 Demo ChatPDF
💌 Link to the newsletter
practical-ai-builder.beehiiv....
🙋♂️ Need help?
You can reach out by email at edrick@daceflow.ai if you're looking to improve your business workflows using AI or build an AI app.
Негізгі бет Ғылым және технология 8 Minutes LangChain OpenAI Beginner Tutorial | ChatGPT with your PDF
Пікірлер: 40