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,727 of 197,085
Downloads: 480,314

Daily

Ranking: 780 of 197,066
Downloads: 9,707

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,443,326,435activesupport
1,77020,755,129syntax_tree
2,7127,552,286tiktoken_ruby
4,9921,691,018tokenizers
5,4031,408,698rubocop-discourse

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems