tiktoken_ruby 0.0.12
An unofficial Ruby wrapper for Tiktoken, a BPE tokenizer written by and used by OpenAI. It can be used to count the number of tokens in text before sending it to OpenAI APIs.
Gemfile:
=
instalar:
=
Versões:
- 0.0.12 August 26, 2025 x86_64-linux (12,4 MB)
- 0.0.12 August 26, 2025 x86_64-linux-musl (12,4 MB)
- 0.0.12 August 26, 2025 x86_64-darwin (12 MB)
- 0.0.12 August 26, 2025 x64-mingw-ucrt (14 MB)
- 0.0.12 August 26, 2025 arm64-darwin (12 MB)
- 0.0.12 August 26, 2025 (15 KB)
Runtime Dependencies (1):
rb_sys
~> 0.9