This project demonstrates a PDF chatbot utilizing Upstash's RAGChat and OpenAI's GPT-4 model. The chatbot extracts text from a PDF file and uses it to answer user queries.
git clone git@github.com:upstash/chat-with-pdf.git
cd chat-with-pdf
npm install
OPENAI_API_KEY=your_openai_api_key
UPSTASH_VECTOR_REST_URL=your_upstash_vector_rest_url
UPSTASH_VECTOR_REST_TOKEN=your_upstash_vector_rest_token
npm run dev
This project demonstrates a PDF chatbot utilizing Upstash's RAGChat and OpenAI's GPT-4 model. The chatbot extracts text from a PDF file and uses it to answer user queries.
git clone git@github.com:upstash/chat-with-pdf.git
cd chat-with-pdf
npm install
OPENAI_API_KEY=your_openai_api_key
UPSTASH_VECTOR_REST_URL=your_upstash_vector_rest_url
UPSTASH_VECTOR_REST_TOKEN=your_upstash_vector_rest_token
npm run dev