pdf-chat-ai-sdk
An AI powered Next.js app to chat with your PDF files and get a streamed response using Vercel's AI SDK, Langchain and PineconeDB โจ๐ค๐ป๐๏ธ
ํ์ผ ํ์๊ธฐ
์ต์ข ๋ฒ์ ๋ค์ด๋ก๋ (.zip)- german-basic-law.pdf
- next.svg
- vercel.svg
- route.ts
- favicon.ico
- globals.css
- layout.tsx
- page.tsx
- accordion.tsx
- button.tsx
- card.tsx
- dropdown-menu.tsx
- input.tsx
- spinner.tsx
- chat-line.tsx
- chat.tsx
- dark-mode-toggle.tsx
- theme-provider.tsx
- config.ts
- langchain.ts
- llm.ts
- pdf-loader.ts
- pinecone-client.ts
- prompt-templates.ts
- utils.ts
- vector-store.ts
- pinecone-prepare-docs.ts
- index.ts
- .env.example
- .eslintrc.json
- .gitignore
- components.json
- LICENSE
- next.config.js
- package-lock.json
- package.json
- postcss.config.cjs
- README.md
- tailwind.config.cjs
- tsconfig.json
# ์ค์น ๊ฐ์ด๋
1. ์ฝ๋ ๋ด๋ ค๋ฐ๊ธฐ
git clone https://github.com/rajeshdavidbabu/pdf-chat-ai-sdk
๊นํ๋ธ์์ ํ๋ก์ ํธ ์ฝ๋ ์ ์ฒด๋ฅผ ๋ด ์ปดํจํฐ๋ก ๋ด๋ ค๋ฐ์ต๋๋ค.
cd pdf-chat-ai-sdk
๋ฐฉ๊ธ ๋ด๋ ค๋ฐ์ ํ๋ก์ ํธ ํด๋ ์์ผ๋ก ์ด๋ํฉ๋๋ค.
2. Node.js
์ฌ์ ์ถ์ฒ์ฌ์ ์ค๋น๋ฌผ
npm install
package.json์ ๋ช ์๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ค์ ๋ด๋ ค๋ฐ์ ์ค์นํฉ๋๋ค.
npm start
๊ฐ๋ฐ/์คํ ์๋ฒ๋ฅผ ์ผญ๋๋ค.
๋ช
๋ น์ด ์คํ ํ ํฐ๋ฏธ๋์ ๋ํ๋๋ ์ฃผ์(๋ณดํต http://localhost:3000 ํํ)๋ฅผ ๋ธ๋ผ์ฐ์ ์์ ์ด์ด๋ณด์ธ์.
// repository documentation
Was this content helpful?
(0 ratings)
