A scenario for a forward deployed engineer · Mid level and up
It promised a delivery date
Anchor · The customer's sponsor
Monday, 11:45
A retail customer's assistant on Databricks must never promise a delivery date. It did, twice last week. The rule is in the prompt, and the evaluation run only checks whether answers are correct.
What do you do?
Tap the one you would do. The answer opens below.
Show the best callThe best call
Add a Guidelines judge with the rule in plain words, and run it in evaluation beside the other scorers.
Every version is checked against the rule. The two bad answers fail the run until they are fixed.
Why
A Guidelines judge in MLflow takes pass or fail criteria written in natural language, such as 'must not promise a delivery date', and an LLM checks each answer against them. It suits rules about compliance, tone and required wording, and a domain expert can write the rule without code.
Read it in the Databricks docs (opens in a new tab)The other two
- Works, at a price. Add a check in code that fails any answer with a date in it.
- It catches 'by 4 March'. 'Early next week' goes through, and an answer that quotes the order date fails.
- A poor call. Write the rule in the prompt again, in capital letters.
- It promises less often. Nobody knows how often.
Go deeper on brickster.ai
- MLflow: what changed recentlyNews, releases, videos and questions on it, gathered daily.
More scenarios
- The thumbs go nowhere · forward deployed engineer
- Nobody has looked since launch · forward deployed engineer
- A cheaper model came out · forward deployed engineer
- All 77 scenarios
Had one like this at work? Send it to us: the best tickets come from real incidents.
Added on . Checked against the Databricks documentation on . brickster.ai is independent and is not affiliated with Databricks.