AnswerDotAI / rerankers

A lightweight, low-dependency, unified API to use all common reranking and cross-encoder models.
Apache License 2.0
784 stars 40 forks source link

Add async ranking method to BaseRanker #6

Closed tarunamasa closed 5 months ago

tarunamasa commented 5 months ago

pretty rudimentary for now, when you guys support using the cohere/mixed bread client etc, can swap these out.

bclavie commented 5 months ago

Great, thank you for this! Sorry I'd missed the PR somehow, please feel free to @ me next time :)