06AI & ML development

AI features that are measured before they're shipped.

A RAG demo takes an afternoon. A RAG system that answers correctly, cites its sources, declines gracefully and costs what you expected takes engineering. I build the retrieval pipeline, the evaluation harness, the guardrails and the human-review loop, and I'll tell you when a simpler non-AI approach would serve you better.

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
All engagement models

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.

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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

  1. You have a prototype assistant that impresses in demos and worries you in production.
  2. People spend hours reading, extracting or re-keying data from documents.
  3. Nobody can say whether the last prompt change made answers better or worse.
  4. AI output must be reviewed by a person before it reaches customers or systems of record.

What I can own

  1. Ingestion: parsing PDFs, scans, emails and office documents; OCR; chunking strategies
  2. Retrieval: hybrid keyword and vector search, metadata filters, re-ranking and permission-aware retrieval
  3. Generation with citations, structured outputs and explicit refusal behavior
  4. Evaluation: golden datasets, retrieval metrics, answer grading and regression checks in CI
  5. Human-in-the-loop review queues driven by confidence thresholds
  6. Observability: traces, token cost tracking, latency budgets and feedback capture
  7. Classical ML where it fits better (classification, routing, forecasting), with an ML specialist joining when a project is model-heavy

Deliverables

What you receive.

Concrete outputs, all in your accounts and repositories, written for the people who will maintain them.
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

  1. 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.

  2. 02

    Build the simplest measurable pipeline

    A baseline retrieval and generation flow, scored against the evaluation set on day one.

  3. 03

    Improve with evidence

    Change one thing at a time (chunking, retrieval, re-ranking, prompts, model) and keep what the numbers support.

  4. 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

PythonTypeScript

Services

FastAPINestJSCustom pipelinesLangChain or LlamaIndex where useful

Retrieval

PostgreSQL + pgvectorOpenSearchQdrantPinecone

Models

OpenAIGeminiAzure OpenAIOpen-weight models

Automation & data

PlaywrightPandasNumPyTwilioBolna AI

Questions

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