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: 11,048 of 191,854
Downloads: 252,560

Daily

Ranking: 2,655 of 191,816
Downloads: 1,335

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,319,897,894activesupport
1,82817,642,464syntax_tree
2,8586,092,742tiktoken_ruby
5,4811,227,797tokenizers
5,6081,155,391rubocop-discourse

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems