chat with your pdf
To run this project, you will need to add the following environment variables to your .env file
OPENAI_API_KEY
PINECONE_API_KEY
PINECONE_ENVIRONMENT
PINECONE_INDEX
PINECONE_NAMESPACE
Ingest your pdf
await ingest_pdf('obaidmuneer.pdf',1000,200)
// place your file in data folder , chunk_size, chunk_overlap
Clone the project
git clone https://github.com/obaidmuneer/op_stack_chatbot_example.git
Go to the project directory
cd op_stack_chatbot_example
Install dependencies
npm install
Start the app
node app.mjs