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

Описание к видео Let's Build a "Chat With PDF” app using Langchain(TS/JS), AI SDK, Pinecone DB, Open AI & Next.js 13

✨ Update ✨

Looks like Pinecone has removed namespaces from free-tier, so I pushed recent changes to https://github.com/rajeshdavidbabu/pd... and removed the name-spaces and tested the code its still working ! 🥹 🚀

Troubleshooting:
For " Error [InsufficientQuotaError]: 429 You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guid...."

I had to delete all my old API keys and created a new one + charged my credits for about 10 dollars.

If you have questions jump on the discord link   / discord  
------------------
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/pd...

(without AI SDK - Github: https://github.com/rajeshdavidbabu/pd...)


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

Комментарии

Информация по комментариям в разработке