A scenario for a forward deployed engineer · Junior and up
A wrong answer, and nobody knows why
Socket · The customer's engineer
Thursday, 13:25
An agent on Databricks told a user the refund window is 60 days. It is 30. The agent searches documents, calls two tools, then writes. The team is arguing about whether the search or the model is at fault.
What do you do?
Tap the one you would do. The answer opens below.
Show the best callThe best call
Open the MLflow trace of that request and read each step: what was retrieved, and what each tool returned.
The trace shows the search returned a policy from 2019. The model quoted what it was given.
Why
MLflow Tracing records every step of a request as a span: the calls to the model, the retriever and each tool, with their inputs, outputs, latency and token use. With tracing on, the trace of the request that failed is already there, so which step went wrong is answered by reading it.
Read it in the Databricks docs (opens in a new tab)The other two
- Works, at a price. Add print statements around each step and ask the question again.
- You find it after a few runs, as long as the answer goes wrong the same way again.
- A poor call. Rewrite the prompt to say that the refund window is 30 days.
- That one question is fixed. The 2019 policy is still in the index for every other one.
Go deeper on brickster.ai
- MLflow: what changed recentlyNews, releases, videos and questions on it, gathered daily.
More scenarios
- The lawyers have to judge the answers · forward deployed engineer
- It promised a delivery date · forward deployed engineer
- The thumbs go nowhere · 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.