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: 27,231 of 187,178
Downloads: 49,628

Daily

Ranking: 4,073 of 187,161
Downloads: 1,319

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,193,932,348activesupport
1,85614,837,173syntax_tree
2,9345,226,542tiktoken_ruby
5,830931,417rubocop-discourse
6,032859,824tokenizers

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems