Namespace Mythosia.AI.Rag.Reranking
Classes
- CohereReranker
Re-ranker that uses the Cohere Rerank API to reorder search results by relevance. Requires a Cohere API key. See: https://docs.cohere.com/reference/rerank
- LlmReranker
Re-ranker that uses an existing LLM (AIService) to score and reorder search results. Sends a prompt asking the LLM to rate each document's relevance on a 0โ10 scale.