Skip to content

A scenario for a forward deployed engineer · Junior and up

The assistant quotes last month's policy

Socket · The customer's engineer
Monday, 09:20

A customer's support assistant on Databricks answers from an AI Search index of policy documents. The source Delta table was updated on Friday, but the index was filled once by a script and still holds the old text.

What do you do?

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

Show the best call

Rebuild it as a Delta Sync index on the table, and start a sync as the last step of the job that loads documents.

New policies can be found soon after each load, and on a standard endpoint only the rows that changed are processed.

Why

A Delta Sync index in Databricks AI Search (formerly Vector Search) follows its source table. In triggered mode a sync is started by a call, for example at the end of the load job. Continuous mode keeps the index seconds behind the table, at a higher cost. On a standard endpoint both process only what changed. A Direct Vector Access index changes only when you write to it yourself.

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

The other two

Works, at a price. Schedule the script to fill the whole index again every night.
Answers are at most a day old, and you pay to embed every document again each night.
A poor call. Paste the new policy into the system prompt until someone has time.
It works for one policy. The next change is missed the same way, and the prompt keeps growing.

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.