Skip to content

A scenario for a forward deployed engineer · Mid level and up

The assistant made up a revenue figure

Anchor · The customer's sponsor
Thursday, 10:15

A document assistant on Databricks answers from an index of reports. An executive asked for last quarter's revenue by region and got numbers from an old PDF. The real figures are in governed Unity Catalog tables.

What do you do?

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

Show the best call

Set up a Genie Agent on those tables for questions about numbers, and keep the document search for text.

Revenue questions are answered by a SQL query on the real tables, shown with its result.

Why

Search over documents returns passages. It does not add up rows. A Genie Agent (formerly a Genie space) turns a question into a SQL query on tables registered in Unity Catalog and answers with the query and its result. Analysts set it up with the datasets, example queries and instructions in the company's own terms.

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

The other two

Works, at a price. Export the quarterly figures to text each week and add them to the index.
The common questions come out right. Any cut that nobody exported is still guessed from documents.
A poor call. Add 'only give accurate numbers' to the system prompt.
The model agrees, and quotes the same old PDF with more confidence.

The words in this scenario

Unity Catalog.
The part of Databricks that governs data: who may see and change which tables and files, where data came from, and who did what. In the docs (opens in a new tab)

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.