A scenario for a forward deployed engineer · Junior and up
It cannot find part XJ-4410
Socket · The customer's engineer
Tuesday, 14:05
A parts catalog assistant on Databricks searches an AI Search index by similarity. The customer's engineers type exact part numbers such as XJ-4410, and get parts with similar descriptions, not that part.
What do you do?
Tap the one you would do. The answer opens below.
Show the best callThe best call
Query the index with hybrid search, so exact keywords count beside similarity.
The part with that number comes first, and questions in plain words still work.
Why
Similarity search finds text that means the same. It is weak on identifiers, where one character changes everything. Hybrid search in Databricks AI Search runs keyword search and similarity search together and merges the two rankings. It is a setting on the query: query_type set to hybrid.
Read it in the Databricks docs (opens in a new tab)The other two
- Works, at a price. Detect part numbers in the app and look those up with a SQL query on the parts table.
- Exact numbers work. You now keep a second path, and a question that mixes a number with words takes the wrong one.
- A poor call. Switch to a larger embedding model and build the index again.
- A day of embedding later, XJ-4410 still looks like XJ-4401 to the model.
Go deeper on brickster.ai
- Databricks AI Search: what changed recentlyNews, releases, videos and questions on it, gathered daily.
- Follow AI agentsNews, releases, videos and questions on it, gathered daily.
More scenarios
- Where is my order? · forward deployed engineer
- German staff get the French policy · forward deployed engineer
- The assistant made up a revenue figure · 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.