RAG reranking