This repository contains the code for a SaaS application that allows users to chat with PDFs using OpenAI's GPT. The application leverages Next.js for the frontend, Pinecone and Langchain for embedding and indexing, Stripe for payment processing, and Clerk for authentication.
- Chat with PDFs: Upload PDFs and chat with the content using OpenAI's GPT.
- User Authentication: Secure user authentication using Clerk.
- Payment Processing: Integrated payment system using Stripe.
- Efficient Searching: Fast and efficient PDF content searching using Pinecone and Langchain.
- Frontend: Next.js
- AI/ML: OpenAI GPT
- Embedding and Indexing: Pinecone, Langchain
- Payment Processing: Stripe
- Backend: Firebase
- Authentication: Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
CLERK_SECRET_KEY
PINECONE_API_KEY
OPENAI_API
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY
STRIPE_API_KEY
STRIPE_WEBHOOK_SECRET
FIREBASE_STORAGE_BUCKET
NEXT_PUBLIC_URL
-
Clone the repository
git clone https://github.com/aaqifshafi/chat-with-pdf.git cd chat-with-pdf
npm i npm run dev