info Open to new work opportunities! Contact me
Daniel Hladik AI Automation Engineer

← All terms

Re-ranking

A second filter in a RAG system that refines the selection of the most relevant results from vector search.

What is re-ranking?

Re-ranking is a process that increases the accuracy of responses in a RAG system. Vector search is like a librarian who brings 10 books on a given topic. Re-ranking is the moment when you flip through those 10 books and select only the 3 most likely to contain the answer.

It is a second, stricter filter before passing data to the LLM model. Especially useful with large volumes of input data.