How nandinii26/docpilot works
DocPilot is a conversational document assistant with web/desktop-facing UI and a Python API. Users sign in, submit a request or document, and receive chat answers, document summaries, file-search results, generated presentations, or email drafts; the UI also exposes voice interaction. The visible backend workflow routes API requests through intent parsing and, where relevant, search, PDF extraction, and presentation generation. The API also owns authentication, voice, and persisted chat/session functionality. The README is empty, so capability coverage comes from sampled source and the source index; unsampled API routes are represented within the API node rather than inferred as separate services.
Main entry points: api.py HTTP API · orchestrator.py Request orchestration · App.tsx Conversation UI · AuthPage.tsx Sign-in UI
Components 15
Client
- Conversation UI
ui/Conversational os/src/App.tsx - Sign-in UI
ui/Conversational os/src/AuthPage.tsx - API configuration
ui/Conversational os/src/config.ts
API and orchestration
- HTTP API
backend/api.py - Request orchestration
backend/orchestrator.py - Intent parser
backend/prompts/parser.py - LLM summary service
backend/services.py
Document workflows
- File search
backend/file_searcher/search.py - PDF processing
backend/automation/pdfpipeline.py - PDF text reader
backend/automation/pdfreader.py - Presentation generator
backend/ppt_gen.py
Identity and state
- PostgreSQL access
backend/database.py
Other components
- User
- Google OAuth
- Gemini API
Connections 20
- User → Conversation UI: submits requests
ui/Conversational os/src/App.tsx - Conversation UI → Sign-in UI: renders sign-in
ui/Conversational os/src/App.tsx - Conversation UI → HTTP API: fetches history
ui/Conversational os/src/App.tsx - Sign-in UI → HTTP API: posts credentials
ui/Conversational os/src/AuthPage.tsx - Conversation UI → API configuration: reads API base
ui/Conversational os/src/App.tsx - Sign-in UI → API configuration: reads API base
ui/Conversational os/src/AuthPage.tsx - Sign-in UI → Google OAuth: starts Google sign-in
ui/Conversational os/src/AuthPage.tsx - HTTP API → Request orchestration: routes requests
backend/api.py - HTTP API → PostgreSQL access: reads and writes
backend/api.py - HTTP API → Presentation generator: generates presentations
backend/api.py - HTTP API → LLM summary service: requests summaries
backend/api.py - HTTP API → Google OAuth: registers OAuth
backend/api.py - HTTP API → Gemini API: transcribes audio
backend/api.py - LLM summary service → Gemini API: generates summaries
backend/services.py - Request orchestration → Intent parser: classifies requests
backend/orchestrator.py - Request orchestration → File search: searches files
backend/orchestrator.py - Request orchestration → PDF processing: processes PDFs
backend/orchestrator.py - PDF processing → PDF text reader: extracts page text
backend/automation/pdfpipeline.py - Request orchestration → Presentation generator: builds slides
backend/orchestrator.py - Request orchestration → LLM summary service: summarizes content
backend/orchestrator.py