Closed janheinrichmerker closed 2 years ago
I think adding type annotations is a good idea. This is something we considered but haven't prioritized, so any contributions adding them would be welcome. Just let us know if you run into any questions when implementing your Reranker
!
Closing due to inactivity.
Thanks for this well-written framework! I'm currently discovering the aspects of the Capreolus framework and plan to write a custom
Reranker
. Though, I find that a bit difficult, as IDE support is limited. How do you think about the idea of making as much of the Capreolus code-base type safe? For example, when a method uses Qrels, why don't we specify thedict
structure as well?