A scenario for a forward deployed engineer · Mid level and up
The right passage comes eighth
Socket · The customer's engineer
Tuesday, 11:15
A customer's agent on Databricks retrieves ten passages from an AI Search index and gives the model the top three. Traces show the passage with the answer is usually there, at place six to nine.
What do you do?
Tap the one you would do. The answer opens below.
Show the best callThe best call
Turn on the reranker in the query, so the retrieved passages are ordered again by relevance before the top three are taken.
The passage with the answer moves into the top three for most questions, for a small delay on each query.
Why
Reranking in Databricks AI Search looks again at the retrieved passages and orders them by how relevant each is to the question. It adds a small delay and can improve retrieval a good deal. Databricks recommends trying it for any RAG agent. The number of results you ask for is the number returned after reranking.
Read it in the Databricks docs (opens in a new tab)The other two
- Works, at a price. Give the model all ten passages.
- The answer is in the prompt now. Every request costs three times the tokens, and the model has more to get lost in.
- A poor call. Lower the temperature of the model to zero.
- It gives the same wrong answer every time.
Go deeper on brickster.ai
- Databricks AI Search: what changed recentlyNews, releases, videos and questions on it, gathered daily.
- RAG: what changed recentlyNews, releases, videos and questions on it, gathered daily.
- Follow AI agentsNews, releases, videos and questions on it, gathered daily.
More scenarios
- The agent needs two outside systems · forward deployed engineer
- The CFO does not trust the answer · forward deployed engineer
- The assistant quotes last month's policy · 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.