AI assisted document filler.
Blog - https://medium.com/@amoghtambad/talkdocai-ai-powered-document-filler-745bc11c71c9
A simple system that lets users upload a document, answer questions through a chat interface, and download a completed version of the document. The backend extracts placeholders, asks the user for the required information, fills the document, and returns the final file.
User uploads a document to /uploadfile/. The backend creates a session, extracts placeholders, and generates the first question.
The frontend sends each user response to /chat/ with the session ID.
The backend saves history, updates the document, and returns the next question until all fields are complete.
Once finished, the user downloads the filled document via /download/{session_id}.
POST /uploadfile/ – start session and extract placeholders
POST /chat/– send response and receive next question
GET /download/{session_id} – download final document