tiktoken_ruby 0.0.9
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:
=
Runtime Dependencies (1):
rb_sys
= 0.9.87