Deploying LLM applications for a customer

5 concepts · 10 practice questions

Choosing what to automate

The best first LLM project at a customer is a workflow with high volume, output a person or a rule can check quickly, a low cost of error or a reviewer before anything reaches the outside, and inputs you can actually get. Start by assisting people, such as drafting for review, before deciding anything on your own. Measure today's process first, time per item and error rate, because that baseline is what the pilot's value will be judged against.

from dataclasses import dataclass

@dataclass
class Candidate:
    name: str
    items_per_week: int
    minutes_per_item: float
    checkable: bool        # can a person or a rule verify the output quickly?
    error_cost: str        # "low", "medium" or "high"

def first_projects(candidates):
    ok = [c for c in candidates if c.checkable and c.error_cost != "high"]
    return sorted(ok, key=lambda c: c.items_per_week * c.minutes_per_item,
                  reverse=True)

Also covered

Grounding on customer data with their permissions
A customer-specific eval set
Cost and latency budgets
Human review and rollout

Sign in to read the rest and take the 10-question test.

Sign in to continue