Skip to content

Ajtambad/TalkDoc

Repository files navigation

TalkDocAI

AI assisted document filler.

Blog - https://medium.com/@amoghtambad/talkdocai-ai-powered-document-filler-745bc11c71c9

Overview

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.

How It Works

Upload

User uploads a document to /uploadfile/. The backend creates a session, extracts placeholders, and generates the first question.

TalkDoc Landing Page

Chat

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.

TalkDoc Chat Page

Download

Once finished, the user downloads the filled document via /download/{session_id}.

TalkDoc Download Document

Endpoints

POST /uploadfile/ – start session and extract placeholders

POST /chat/– send response and receive next question

GET /download/{session_id} – download final document

Untitled-2025-11-24-2239

About

AI assisted document filler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors