Skip to content

A scenario for a forward deployed engineer · Staff and up

A cheaper model came out

Penny · Finance
Wednesday, 09:00

A customer wants its Databricks agent moved to a newer model that costs a third as much. The agent has an evaluation dataset and scorers from launch. Procurement wants the switch this week.

What do you do?

Tap the one you would do. The answer opens below.

Show the best call

Run the evaluation on both models with the same dataset and scorers, compare, then move traffic over in steps.

You find the new model fails tool calls on two kinds of question, fix the prompt, and then switch.

Why

An evaluation dataset is there to compare versions: run mlflow.genai.evaluate() for each model on the same data with the same scorers, and read the two runs side by side. A model service in Unity Gateway can then split traffic between the two models by percentage, so the move is gradual and the app keeps calling one name.

Read it in the Databricks docs (opens in a new tab)

The other two

Works, at a price. Send a tenth of live traffic to the new model and watch for complaints.
Real users find the problems for you. Some of them are the customer's customers.
A poor call. Switch at once. The public benchmark says the new model is better.
The benchmark did not include this customer's tools. Tool calls break on Thursday.

Go deeper on brickster.ai

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