Skip to content
BackNov 8
Quan D.
Upwork badge

Quan D.

AI Engineer | API Cost Optimization | Healthcare/Legal Document AI

I build production AI pipelines that turn messy documents into structured data. 8 years in Python and data engineering. I specialize in document processing systems — the kind where you throw in a stack of scanned PDFs and get clean, validated JSON out the other side. ## What I actually build ### LLM-Powered Extraction Pipelines Multi-agent systems using Claude, GPT-4, and GPT-4o with structured output enforcement (Instructor, Pydantic). I design domain-specific agents that classify documents, extract fields, validate data, and reconcile conflicts across sources. Not prompt-and-pray — schema-enforced, retry-aware, production-grade. ### OCR & PDF Processing Amazon Textract (async API), PyMuPDF, PDFPlumber, Camelot, Azure Document Intelligence. I handle the real-world mess — scanned documents with poor quality, mixed orientations, concatenated multi-document PDFs that need splitting and boundary detection. Table extraction, form parsing, layout-aware chunking. ### Serverless & Event-Driven Architecture AWS Lambda, SNS, SQS, Step Functions, EventBridge, ECS/Fargate. I build pipelines where S3 uploads trigger processing chains — fan-out to parallel extractors, dead-letter queues for failures, CloudWatch monitoring for quality metrics. ### Healthcare Document Systems Currently running a production pipeline that processes medical records daily — licenses, clinical notes, immunization records, provider credentialing documents. Full pipeline: PDF ingestion → OCR → document classification → LLM extraction → deduplication → normalization → structured output. Built with HIPAA considerations. ### Legal Document Systems Production pipeline for UK cost-assessment workflows — ingests multi-document bill bundles (PDFs, scans, Excel ledgers, Outlook .msg), classifies them, extracts disbursements, receipts, invoices, and party data, reconciles figures across sources with a 5-case matching algorithm, and generates court-compliant inter-partes narratives. Every extracted figure traces back to its source page for audit defensibility. ### Speech-to-Text Pipeline - AWS Transcribe Medical (streaming WebSocket + batch S3 jobs) with HIPAA-compliant configuration - Deepgram integration as an alternate ASR backend - Speaker diarization (up to 30 speakers), stereo channel separation, custom medical vocabularies, specialty-specific vocab lists (e.g. orthopedics) - Multi-threshold confidence analysis for dot-phrase and quick-text detection ### LLM Clinical Note Generation - Instructor + Pydantic schema-enforced structured outputs (Claude / GPT-4 / Gemini) - Prompt Studio: a template-authoring system where clinicians design reusable note templates with variables, segment bindings, and inline citations back to the raw transcript - Two output modes — Ambient (multi-category SOAP-style synthesis) and Dictation (verbatim with cleanup) - DOCX template engine with inline placeholder tokens, dual-archive export, and anchor-based fill for exact-fidelity Word output ### AI Agent Orchestration LangChain, LangGraph, MCP servers, RAG systems, function calling. I build agents that do real work — not chatbots that summarize, but extraction systems that produce validated, structured data from unstructured sources. ## Anthropic API Cost Optimization I help teams cut Claude/LLM API spend in half on production deployments without sacrificing product quality. I work across the levers that actually move the bill: - **Prompt caching** — designed around real traffic patterns, not just toggled on - **Model tiering** — Sonnet where reasoning matters, Haiku everywhere else - **Context discipline** — lazy-loading tools, skills, and instructions instead of dumping everything upfront - **Tool-call efficiency** — fewer round-trips, smaller payloads I've done this on a medical-document extraction pipeline and a LangGraph trading agent — both running in production with real users and real budgets. If you've inherited an over-budget Claude deployment, I know where to look first. ## Tech I use daily Python, FastAPI, Anthropic/OpenAI/Gemini, Instructor, LangChain, LangGraph, Textract, PyMuPDF, PostgreSQL, Redis, S3, Lambda, SNS/SQS, Docker, Pydantic. 20+ projects delivered on Upwork. I'm strongest when the problem involves turning unstructured documents into clean, structured data at scale.

🇻🇳Ho Chi Minh City, Vietnam$50/hr100% JSS5.00 (28)Since May 2022

Earnings and projects

MRR
$1.3k

Last 6 months ÷ 6

World#36,672 / 412k
🇻🇳Country#284 / 3,463
Revenue, last 30 days
$0

Last 6 months: $8k

Total earnings
$38k

Billed in all: $38k

World#94,227 / 412k
🇻🇳Country#653 / 3,463
Per project
$772

$2.7k in the last 6 months

World#144,564 / 412k
🇻🇳Country#1,045 / 3,463
Projects, last 6 months
3
67% fixed33% hourly
World#66,482 / 412k
🇻🇳Country#768 / 3,463
Projects in all
49

Across 54 contracts

81% fixed19% hourly
World#62,382 / 412k
🇻🇳Country#518 / 3,463

Earnings, last 30 days

$38.4kNothing earned in the last 30 daysBilled in all, before Upwork's fee · drag across the chart to see what was earned in any stretch
$37.5k$38.0k$38.5k$39.0kOct 9Oct 24Nov 8

Skill rankings: Top 6% in PDF

Ranked by MRR among everyone on Upwork with the skill.

  1. #7Information Retrieval65 freelancers · 🇻🇳 #1Top 11%
  2. #11Azure Cognitive Services48 freelancers · 🇻🇳 #1Top 23%
  3. #24OCR Software185 freelancers · 🇻🇳 #1Top 13%
  4. #24OCR Algorithm183 freelancers · 🇻🇳 #1Top 13%
  5. #40Amazon Bedrock204 freelancers · 🇻🇳 #1Top 20%
  6. #63Azure OpenAI Service312 freelancers · 🇻🇳 #1Top 20%
  7. #64Medical Report539 freelancers · 🇻🇳 #1Top 12%
  8. #66PDF1,104 freelancers · 🇻🇳 #2Top 6%