The PDF-to-Text Q&A Web Application is a powerful and user-friendly platform that allows users to upload PDF documents, extract text from these PDFs, and then ask questions about the contents of the PDFs. This innovative application leverages the OpenAI API to provide accurate and context-aware answers to user queries, making it a valuable tool for extracting insights from documents efficiently.
PDF Upload: Users can easily upload PDF documents directly to the platform.
Text Extraction: The application automatically extracts text from uploaded PDFs, making it accessible for further analysis.
Question and Answer: Users can ask questions related to the content of the uploaded PDFs. The application utilizes the OpenAI API to provide insightful and contextually relevant answers.
Upload PDF: Users can upload PDF documents directly to the application.
Text Extraction: The application automatically extracts text from the uploaded PDFs.
Ask Questions: Users can ask questions about the content of the PDFs using natural language queries.
OpenAI Integration: The application sends user queries to the OpenAI API, which processes the questions and extracts relevant information from the PDF text.
Contextual Answers: OpenAI's advanced language model provides context-aware answers to user questions, ensuring accuracy and relevance.
Display Answers: The application displays the answers to user queries, allowing users to gain insights from the PDF content quickly.
Software and tools required to run project.
Node.js (v14+) MongoDB (v4+) React (v17+) Express.js OpenAI API Key
-
Clone the repository to your local machine:
git clone https://github.com/0xrizy/chatpdf.git cd frontend npm install cd backend npm install OPENAI_API_KEY=YOURKEY PORT = 3001