You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add FastembedColbertRanker to fastembed integration page (#442)
* docs: add FastembedColbertRanker to fastembed integration page
Updates the fastembed integration page to include the new
FastembedColbertRanker component from PR #3135, which adds
ColBERT late-interaction reranking support via fastembed.
- Added FastembedColbertRanker to the components list
- Added a usage example with ColBERT ranker in a pipeline
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Update integrations/fastembed.md
Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>
* Adopt new component name
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>
Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
`FastembedLateInteractionRanker` uses ColBERT late-interaction scoring: the query and documents are encoded independently into token-level embeddings, and a MaxSim score is computed for each document. This offers stronger ranking quality than cross-encoders on many tasks while remaining efficient.
169
+
170
+
> **Note:** ColBERT scores are unnormalized sums. They are meaningful for ranking within a single query but should not be compared across queries.
171
+
172
+
```python
173
+
from haystack import Document, Pipeline
174
+
from haystack.components.retrievers.in_memory import InMemoryEmbeddingRetriever
175
+
from haystack.document_stores.in_memory import InMemoryDocumentStore
176
+
from haystack_integrations.components.embedders.fastembed import FastembedDocumentEmbedder, FastembedTextEmbedder
177
+
from haystack_integrations.components.rankers.fastembed import FastembedLateInteractionRanker
0 commit comments