Author: Umang Tank
This FastAPI application provides:
- A question-answering endpoint.
- A PDF upload and processing endpoint.
- Run
model.py
to load and save the model. - Start the FastAPI application.
- GET /: Check model initialization.
- POST /AskQA: Ask a question.
- POST /upload-pdf/: Upload a PDF file.
Before committing, run:
pre-commit run --all-files
Developed by Umang Tank.