Categories: None [Edit]
    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: 25,235 of 187,548
          Downloads: 55,759
        Daily
Ranking: 7,154 of 187,532
          Downloads: 280
        Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name | 
|---|
Depends on
| Rank | Downloads | Name | 
|---|---|---|
| 7 | 1,210,718,693 | activesupport | 
| 1,862 | 15,122,604 | syntax_tree | 
| 2,930 | 5,309,049 | tiktoken_ruby | 
| 5,790 | 959,055 | rubocop-discourse | 
| 5,968 | 893,676 | tokenizers | 
Owners
| # | Gravatar | Handle | 
|---|---|---|
| 1 | Falco | |
| 2 | discourse-rubygems | 
 xmisao
xmisao