RAG reranking method