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: 17,168 of 188,987
Downloads: 104,198

Daily

Ranking: 5,216 of 188,969
Downloads: 641

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,262,095,627activesupport
1,86216,135,154syntax_tree
2,9125,617,863tiktoken_ruby
5,7371,022,355tokenizers
5,7431,018,592rubocop-discourse

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems