Skip to content

A scenario for a forward deployed engineer · Staff and up

The CFO does not trust the answer

Penny · Finance
Friday, 09:30

A Genie Agent on Databricks answers a customer's finance questions. Net revenue has one approved definition, with returns and credits taken out, and Genie sometimes writes a query of its own that leaves credits in.

What do you do?

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

Show the best call

Add the approved query as a parameterized example, so Genie reuses it and marks the answer as verified.

The CFO's question runs the approved SQL, and the answer carries a mark that says so.

Why

Trusted assets in a Genie Agent are parameterized example SQL queries and SQL functions for the questions you expect. When Genie, in chat mode, answers with one of them as written, it marks the answer as verified, and the user can change the parameter and run it again. Text instructions guide Genie, and give the reader no such mark.

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

The other two

Works, at a price. Write the definition into the agent's text instructions.
Genie follows it most of the time. Nothing tells the reader which answers did.
A poor call. Tell finance to check each number against their spreadsheet.
They do, for a week. Then they stop asking Genie.

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.