From 51d2fc5309792f64fe2ca881dc33f6533f26963d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Boschi?= Date: Wed, 4 Mar 2026 13:28:25 +0100 Subject: [PATCH] doc: add ZeroEntropy reranker to models.md (#489) --- hindsight-docs/docs/developer/models.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hindsight-docs/docs/developer/models.md b/hindsight-docs/docs/developer/models.md index 59667ada..7b2c817d 100644 --- a/hindsight-docs/docs/developer/models.md +++ b/hindsight-docs/docs/developer/models.md @@ -423,9 +423,11 @@ Reranks initial search results to improve precision. |----------|-------------|----------| | `local` | SentenceTransformers CrossEncoder (default) | Development, low latency | | `cohere` | Cohere rerank API | Production, high quality | +| `zeroentropy` | ZeroEntropy rerank API (zerank-2) | Production, state-of-the-art accuracy | | `tei` | HuggingFace Text Embeddings Inference | Production, self-hosted | | `flashrank` | FlashRank (lightweight, fast) | Resource-constrained environments | | `litellm` | LiteLLM proxy (unified gateway) | Multi-provider setups | +| `litellm-sdk` | LiteLLM SDK (direct API, no proxy) | Multi-provider, simpler setup | | `rrf` | RRF-only (no neural reranking) | Testing, minimal resources | ### Local Models @@ -443,6 +445,13 @@ Reranks initial search results to improve precision. | `rerank-english-v3.0` | English text | | `rerank-multilingual-v3.0` | 100+ languages | +### ZeroEntropy Models + +| Model | Use Case | +|-------|----------| +| `zerank-2` | Flagship multilingual reranker (default) | +| `zerank-2-small` | Faster, lighter variant | + ### LiteLLM Supported Providers LiteLLM supports multiple reranking providers via the `/rerank` endpoint: @@ -467,6 +476,11 @@ export HINDSIGHT_API_RERANKER_PROVIDER=cohere export HINDSIGHT_API_COHERE_API_KEY=your-api-key export HINDSIGHT_API_RERANKER_COHERE_MODEL=rerank-english-v3.0 +# ZeroEntropy (state-of-the-art accuracy) +export HINDSIGHT_API_RERANKER_PROVIDER=zeroentropy +export HINDSIGHT_API_RERANKER_ZEROENTROPY_API_KEY=your-api-key +export HINDSIGHT_API_RERANKER_ZEROENTROPY_MODEL=zerank-2 # default, can omit + # TEI (self-hosted) export HINDSIGHT_API_RERANKER_PROVIDER=tei export HINDSIGHT_API_RERANKER_TEI_URL=http://localhost:8081