Design an ML-Assisted Field-Service Evidence Workflow
Guide a customer request into executable worker instructions, collect completion evidence, and use versioned ML checks plus human review to produce an auditable outcome.
Problem statement
For this exercise, assume a multi-region field-service marketplace receives customer requests, turns incomplete request details into executable worker instructions, lets a field worker complete the task and upload text and image evidence, and returns a trustworthy completion outcome.
A versioned LLM may ask bounded follow-up questions and draft instructions; a separate versioned ML evaluator checks whether submitted evidence supports completion. Interactive guidance should return within two seconds.
Uncertain, conflicting, or policy-sensitive evidence must go to an authorized human reviewer rather than being silently accepted or rejected. Design request intake, instruction generation, task-state transitions, evidence upload, asynchronous evaluation, human escalation, failure recovery, and result serving.
Worker matching, payments, model training, and general customer-support chat are outside scope.
What to build
- The system durably captures a customer request, uses a versioned LLM to collect only missing task details, and publishes reproducible worker instructions.
- An authorized field worker can accept a task, record completion, and upload integrity-checked text and image evidence through retry-safe state transitions.
- A versioned ML evaluator scores submitted evidence, records the evidence behind its judgment, and routes uncertain or conflicting cases to human review.
- Authorized customers, workers, and reviewers see one durable task outcome with instruction, evidence, evaluator, failure, and human-review provenance.
At scale
- For this exercise, assume 500,000 new tasks per day with a ten-times peak-hour skew and up to twenty text or image evidence objects per task.
- Return interactive LLM guidance within two seconds p95 and acknowledge evidence metadata within 300 milliseconds p95 while large bytes upload directly to object storage.
- Third-party model calls may take two to sixty seconds, time out after remote acceptance, and enforce regional and tenant rate limits.
- Retain decision evidence for 90 days, continuously score calibration samples, and route low-confidence or conflicting judgments to a bounded human-review queue.