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:
=
安裝:
=
Runtime 相依性套件 (1):
rb_sys
= 0.9.87