Categories: None [Edit]

discourse_ai-tokenizers

https://rubygems.org/gems/discourse_ai-tokenizers
https://github.com/discourse/discourse_ai-tokenizers
A Ruby gem providing a consistent interface for various AI/ML tokenizers including OpenAI GPT, Anthropic Claude, Google Gemini, Meta Llama, Mistral, Qwen, and embedding models like BERT, BGE, and multilingual-E5. Features caching, truncation, token counting, and error handling across different tokenization libraries.

Total

Ranking: 9,003 of 196,721
Downloads: 443,945

Daily

Ranking: 3,991 of 196,694
Downloads: 909

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,426,725,582activesupport
1,77520,425,727syntax_tree
2,7367,343,962tiktoken_ruby
5,0531,631,340tokenizers
5,4251,374,485rubocop-discourse

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems