- Navigate to the
frontend
directory. - Install dependencies:
npm install
- Run the application:
npm start
- Navigate to the
backend
directory. - Install dependencies:
pip install -r requirements.txt
- Run the application:
uvicorn main:app --reload
Follow the link for Backend Source Code
Follow the link for Live Demo
- Endpoint:
/upload
- Method:
POST
- Body:
file
(form-data)
- Endpoint:
/ask
- Method:
POST
- Body:
filename
,question
The application allows users to upload PDF documents and ask questions about their content. The backend uses FastAPI to handle requests and LangChain for NLP processing. The frontend is built with React.js.