06AI & ML development
AI features that are measured before they're shipped.
Ways to engage
- Discovery and evaluation sprint (two to three weeks) ending in a go/no-go recommendation
- Production build in milestones, each with measured quality targets
Reference architecture
A RAG system you can put in front of users
Ingestion, permission-aware retrieval, grounded generation, review and evaluation, each measured on its own. Scroll to connect the pipeline.
0105
Ingest what people actually use
PDFs, scans, emails and wiki pages are parsed, OCR'd and chunked by structure, with source, owner and permissions kept as metadata on every chunk.
- OCR
- Chunking
- Embeddings
- pgvector
0205
Retrieval that respects access
Questions run hybrid keyword and vector search, filtered by what the user may see before ranking, then re-ranked so the strongest evidence comes first.
- Hybrid search
- Re-ranking
- Access filters
0305
Answers with evidence
The model answers only from retrieved passages, in a structured format with citations. Guardrails check every answer and decline when the evidence is thin.
- Azure OpenAI
- Structured output
- Citations
0405
People in the loop
Answers below a confidence threshold go to a review queue. Every correction becomes a new evaluation case, so the system improves with use.
- Review queue
- Confidence thresholds
0505
Measured, not guessed
A golden dataset runs in CI on every change to chunking, prompts or models. Traces record cost, latency and user feedback for every answer in production.
- Golden dataset
- CI regression checks
- Tracing
You might need this if
- You have a prototype assistant that impresses in demos and worries you in production.
- People spend hours reading, extracting or re-keying data from documents.
- Nobody can say whether the last prompt change made answers better or worse.
- AI output must be reviewed by a person before it reaches customers or systems of record.
What I can own
- Ingestion: parsing PDFs, scans, emails and office documents; OCR; chunking strategies
- Retrieval: hybrid keyword and vector search, metadata filters, re-ranking and permission-aware retrieval
- Generation with citations, structured outputs and explicit refusal behavior
- Evaluation: golden datasets, retrieval metrics, answer grading and regression checks in CI
- Human-in-the-loop review queues driven by confidence thresholds
- Observability: traces, token cost tracking, latency budgets and feedback capture
- Classical ML where it fits better (classification, routing, forecasting), with an ML specialist joining when a project is model-heavy
Deliverables
What you receive.
- Evaluation set and baseline
- A labeled set of real questions or documents and a measured baseline, before any tuning starts.
- Retrieval and generation pipeline
- Ingestion, indexing, retrieval and generation as versioned components that can be evaluated separately.
- Review interface
- A queue where people approve, correct or reject low-confidence output, with corrections feeding back into evaluation.
- Observability and cost controls
- Per-request traces, cost per answer, latency percentiles, and alerts when quality metrics drift.
- Data-flow and governance notes
- Which data goes to which provider, retention settings, and how to swap models without rewriting the system.
How it runs
The approach, step by step
- 01
Define “correct” first
Collect real questions, documents and known failure cases with the people who will use the system. This becomes the evaluation set.
- 02
Build the simplest measurable pipeline
A baseline retrieval and generation flow, scored against the evaluation set on day one.
- 03
Improve with evidence
Change one thing at a time (chunking, retrieval, re-ranking, prompts, model) and keep what the numbers support.
- 04
Put people in the loop
Confidence thresholds route uncertain output to review. Corrections become new evaluation cases, so the system improves over time.
Typical tools
Chosen per project for fit and longevity, not by habit.
Languages
Services
Retrieval
Models
Automation & data
Technology pages
Production work
Where I’ve done this in production.
Questions
Keep exploring
Industries
Next step
Tell me what you’re building. I’ll tell you how I’d approach it.
Send a short brief. You’ll get a written reply from me within two business days — either a few clarifying questions, a suggested first step, or an honest “I’m not the right fit” with a pointer elsewhere.
Parth Patel
Senior full-stack engineer