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: 24,146 of 187,950
Downloads: 59,853

Daily

Ranking: 7,434 of 187,922
Downloads: 302

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,225,313,097activesupport
1,85715,400,669syntax_tree
2,9315,384,182tiktoken_ruby
5,772978,512rubocop-discourse
5,899926,507tokenizers

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems