FAISS and Cohere Rerank tools in ML

How reranking models work