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: 8,512 of 197,744
Downloads: 514,973

Daily

Ranking: 2,890 of 197,724
Downloads: 4,156

Depended by

RankDownloadsName

Depends on

RankDownloadsName
61,458,386,728activesupport
1,76921,047,102syntax_tree
2,6987,777,460tiktoken_ruby
4,9331,752,231tokenizers
5,3821,439,696rubocop-discourse

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems