Upload any pdf file and ask questions from that pdf.
PaperBot generates embeddings from OpenAI embedding model and stores them in Pinecone Vector database. To answer user's questions, PaperBot does a semantic search on Pinecone Vector database and further refines the result with OpenAI completion model.
- OpenAI API Key
- Pinecone Database ENV and KEY
- MongoDB cluster username and password
- AWS S3 bucket, access key and access id
- Clone the repo
- Run
npm installto install all the dependencies - Create a
.env.localfromenv-examplefile:cp env-example .env.local - Update the OpenAI, Pinecone keys, MongoDB creds and AWS S3 bucket and creds in the
.env.localfile - Run
npm run devto start the project
- NextJS
- TailwindCSS
- MongoDB
- Pinecone (Vector DB)
- OpenAI Models - Embedding and Completion
