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: 22,449 of 188,252
Downloads: 67,043

Daily

Ranking: 2,999 of 188,232
Downloads: 2,677

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,239,301,750activesupport
1,86315,668,293syntax_tree
2,9265,464,808tiktoken_ruby
5,758994,233rubocop-discourse
5,831962,338tokenizers

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems