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: 15,523 of 189,933
Downloads: 126,706

Daily

Ranking: 3,003 of 189,920
Downloads: 2,013

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,287,743,226activesupport
1,85216,784,494syntax_tree
2,8985,802,234tiktoken_ruby
5,6961,077,162tokenizers
5,7311,055,004rubocop-discourse

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems