- Navigate to the
backenddirectory. - Install dependencies:
pip install -r requirements.txt - Run the application:
uvicorn main:app --reload
- Navigate to the
frontenddirectory. - Install dependencies:
npm install - Run the application:
npm start
🔘 Follow the link for Frontend Source Code
- 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.