一个由 AI 驱动的 Next.js 应用,可与您的 PDF 文件进行聊天,并使用 LangChain 和 PineconeDB 获取流式响应 ✨️
一个由 AI 驱动的 Next.js 应用,可与您的 PDF 文件进行聊天,并使用 LangChain 和 PineconeDB 获取流式响应 ✨️
An AI-powered PDF chat built with Next.js 13, Langchain, and PineconeDB
Check out the tutorial on my YT channel
Added sources to the stream and displaying it in an accordian
https://github.com/rajeshdavidbabu/pdf-chat-ai/assets/15684795/feb5331d-b43d-4778-a8dd-630d6f361197
Built with:
.env file with the required information.npm run prepare:data, but its better to create it manually if you dont want the command to fail.All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run prepare:data |
Splits your PDF file under the /docs folder into chunks, embeds them, uploads them to Pinecone |
npm run dev |
Starts the local dev server at localhost:3000 |
Pull requests are welcome, before creating a PR talk to me on discord. For major changes, please open an issue first to discuss what you would like to change.
暂无开放 Issues,或尚未同步最近议题。