RubyGems Navigation menu

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:

  1. 0.0.12 August 26, 2025 x86_64-linux (12,4 MB)
  2. 0.0.12 August 26, 2025 x86_64-linux-musl (12,4 MB)
  3. 0.0.12 August 26, 2025 x86_64-darwin (12 MB)
  4. 0.0.12 August 26, 2025 x64-mingw-ucrt (14 MB)
  5. 0.0.12 August 26, 2025 arm64-darwin (12 MB)
  6. 0.0.12 August 26, 2025 (15 KB)
Mostrar todas as versões (107)

Runtime Dependencies (1):

rb_sys ~> 0.9

Donos:

Pushed by:

Autores:

  • IAPark

SHA 256 checksum:

=

Total de downloads 4.216.211

Desta versão 124

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 3.1.0

Versão Requerida do RubyGems: >= 3.4.0

Links: