Skip to content

1.0.0: PHP8, Encoding

Choose a tag to compare

@thekid thekid released this 01 Nov 09:07
· 56 commits to main since this release
  • Heads up: Dropped support for PHP < 7.4, see xp-framework/rfc#343
    (@thekid)
  • Heads up: Removed com.openai.Encoding::for($model), removing a
    maintenance liability - and all newer models use o200k_base anyways
    (@thekid)
  • Merged PR #26: Add o200k_harmony encoding definition used for GPT-OSS
    (@thekid)
  • Merged PR #25: Limit merges along vocabulary during TikToken encoding,
    optimizing performance for repeated characters including whitespace.
    (@thekid)