Overview - Mem0

Supported Rerankers

Cohere

Sentence Transformers

Hugging Face

LLM Reranker

Zero Entropy

All five rerankers are available in both the Python and the TypeScript self-hosted SDKs. Each provider page has a TypeScript (self-hosted) section with the camelCase config.

Reranking Workflow

Understand Reranking
Configure Providers
Optimize Performance
Custom Prompts
Zero Entropy Guide
Sentence Transformers

Picking the Right Reranker

Implementation Checklist

  1. Confirm baseline search KPIs so you can measure uplift.
  2. Select a provider and add the reranker block to your config.
  3. Test latency impact with production-like query batches.
  4. Decide whether to enable reranking globally or per-search via the rerank flag.

Set Up Reranking
Example: Reranker Search