Closed tarasglek closed 5 months ago
Thank you for flagging. This is because it defaults to returning a Result
rather a RankedResults
object when only ranking a single document, but that's actually counter-intuitive behaviour as most people wouldn't expect the output format to change. Fixed in 0.1.2post1/https://github.com/AnswerDotAI/rerankers/pull/9
docs = ["foo"] breaks docs = ["foo", ""] works