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: 25,235 of 187,548
Downloads: 55,759

Daily

Ranking: 7,154 of 187,532
Downloads: 280

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,210,718,693activesupport
1,86215,122,604syntax_tree
2,9305,309,049tiktoken_ruby
5,790959,055rubocop-discourse
5,968893,676tokenizers

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems