This is a project build in order to ease the hassle of the students, teacher and researchers who find it difficult to exactly pin point the specific aritcle, page or line where specific data is located.
This project helps the users to upload the PDF file and then ask question related to that pdf and all the answers will be in context to the uploaded document.
All the data is fetched from https://pdf-qa-backend.onrender.com/ endpoint.
POST /uploadfile/| Parameter | Requested body | Description |
|---|---|---|
No parameters |
string(binary) |
Required. PDF file |
{ "status_code" : "your_status_code", "filename" : "your_file_name" }
GET /ask/| Parameter | Requested body | Description |
|---|---|---|
No parameters |
{"filename" : "string", "question" : "string"} |
Required. Name of the file and question you want to ask |
{ "answer" : "answer_to_your_question" }
Project is live at https://qa-frontend-theta.vercel.app/
Install project with npm
cd project
npm install
npm run dev