Skip to content

0.3.0

Compare
Choose a tag to compare
@bclavie bclavie released this 17 May 14:17
· 36 commits to main since this release

0.3.0 is here! It brings a lot of oft-requested features:

  • A new transparent Document has been added. You may construct Documents yourself, or keep using the library exactly as-is. This object now allows for metadata support! You can pass a list of metadata (or add them to your Document objects) to rank() calls, and get the metadata back. Thanks to @Anmol6 for starting the work on this!
  • RankLLM is now supported 🥳 RankZephyr and RankVicuna are implemented, but untested at the moment, while RankLLM + GPT models are fully supported. In version 0.5.0, this will become the default way of using GPT models for reranking purposes.
  • Some QoL improvements, the most notable of which is that it is now possible to iterate directly on RankedResults objects rather than having to use the wordy for result in results.results.