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: 36,054 of 186,833
Downloads: 33,021

Daily

Ranking: 4,418 of 186,696
Downloads: 712

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,166,558,178activesupport
1,84714,353,437syntax_tree
3,1484,292,673tiktoken_ruby
5,881895,138rubocop-discourse
6,170801,217tokenizers

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems