Skip to content

v0.8.1 - OpenAI v1.0.0 compatibility

Compare
Choose a tag to compare
@kddubey kddubey released this 07 Nov 01:15
· 124 commits to main since this release

Breaking changes

  • end_of_prompt must be a whitespace or empty string. (This was intended since v0.4.7, but I forgot to add a check for it)

New features

  • cappr.openai is now compatible with OpenAI v1.0.0 (and is backwards compatible with previous versions). You can input a client object

Bug fixes

  • cappr.huggingface.classify.token_logprobs now has an option to add a BOS token or not. Previously, it always added it if applicable, which is wrong for the (still highly experimental) discount feature