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: 9,195 of 196,106
Downloads: 419,640

Daily

Ranking: 4,612 of 196,079
Downloads: 705

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,411,402,789activesupport
1,77520,114,087syntax_tree
2,7597,167,251tiktoken_ruby
5,0951,580,370tokenizers
5,4811,326,642rubocop-discourse

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems