百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

pdf-chat-ai

> 编程语言
开源

一个由 AI 驱动的 Next.js 应用,可与您的 PDF 文件进行聊天,并使用 LangChain 和 PineconeDB 获取流式响应 ✨️

193 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一个由 AI 驱动的 Next.js 应用,可与您的 PDF 文件进行聊天,并使用 LangChain 和 PineconeDB 获取流式响应 ✨️

PDF-CHAT AI ✨️

An AI-powered PDF chat built with Next.js 13, Langchain, and PineconeDB

‍♂️ Want to Learn How to Build It?

Check out the tutorial on my YT channel

✨Update✨

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

Architecture

‍ Description

Built with:

  • ✅ Next.js 13
  • ✅ Shadcn-ui
  • ✅ Langchain TypeScript integration
  • ✅ PineconeDB as the knowledge store
  • ✅ Dark Mode with persistent theme-switching

️ Pre-requisites

  • Create a free account and get an OPEN_AI key from platform.openai.com
  • Create a free account and get access to PineconeDB
  • And populate your .env file with the required information.

Good to know

  • The PineconeDB index creation happens when we run npm run prepare:data, but its better to create it manually if you dont want the command to fail.
  • If the command fails, then give sometime for pinecone index to get initialized and try to run the command again, it should work eventually.

Commands

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

Roadmap

  • ✅ Add sources to the streamed chat bubble
  • Clean up and show proper error messages
  • Sanitize input and output source documents

Contributing

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· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言