Город МОСКОВСКИЙ
00:39:52

Let's Build a "Chat With PDF” app using Langchain(TS/JS), AI SDK, Pinecone DB, Open AI & Next.js 13

Аватар
JS Король
Просмотры:
26
Дата загрузки:
28.11.2023 22:50
Длительность:
00:39:52
Категория:
Технологии и интернет

Описание

✨ Update ✨

Looks like Pinecone has removed namespaces from free-tier, so you can also remove all the instances of PINECONE_NAME_SPACES from our app and try running the app. It should work.

If you have questions jump on the discord link https://discord.gg/4zpS4Zsz56
------------------
A beginner friendly and full-tutorial on how to build a “Chat with PDF” using Langchain, AI SDK, Pinecone DB, Open AI and Next.js 13.

Github: https://github.com/rajeshdavidbabu/pdf-chat-ai-sdk

(without AI SDK - Github: https://github.com/rajeshdavidbabu/pdf-chat-ai)


Timecode:
0:00 - Intro
01:08 - How to make your LLMs smarter ?
02:29 - Tech-stack walkthrough
04:20 - App Architecture
05:53 - Breakdown of app into steps
07:16 - Step 1: Setup Next.js 13 and shadcn app
08:54 - Step 2: Building chat UI components
14:44 - Step 3: Setting up API keys and ENV config
16:55 - Step 4: Setup Pinecone DB client
18:40 - Step 5: Embed PDF and store on Pinecone DB
24:18 - Step 6: LLM Templates and models
25:55 - Step 7: Building chains using Langchain
31:14 - Step 8: Prepare chat-endpoint
32:53 - Step 9: Build a streaming chat UI
36:09 - Step 10: Streaming the sources information

Рекомендуемые видео