Description
Implement robust binary file parsing in the Python FastAPI backend (backend/parser.py) so that users can upload actual PDF and DOCX files, not just raw text.
User Story
As a LexGuard user,
I want to drop a .pdf or .docx contract into the upload pane,
So that I don't have to manually open, copy, and paste text.
Technical Tasks
Description
Implement robust binary file parsing in the Python FastAPI backend (
backend/parser.py) so that users can upload actual PDF and DOCX files, not just raw text.User Story
Technical Tasks
pdfplumberandpython-docxtobackend/requirements.txt./parseroute inbackend/main.pyto handle binary streams underUploadFile.backend/parser.py: