feat(rerankers): implement litellm rerankers #96
Labels
document search
Changes to the document search package
feature
New feature or request
integrations
Changes in vendor integration
Milestone
Feature description
Implement the LiteLLM reranker API for the Document Search package. Add a new
LiteLLMReranker
class that would unlock Cohere, Together AI and Azure endpoints for documents reranking.Motivation
Currently, we don't have any rerankers defined in the lib that could be used out of the box.
Additional context
Here are the docs for the litellm reranker API - https://docs.litellm.ai/docs/rerank. For development we can easily test using Cohere free tier (please mind the rate limits).
The text was updated successfully, but these errors were encountered: