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: 17,168 of 188,987
Downloads: 104,198
Daily
Ranking: 5,216 of 188,969
Downloads: 641
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,262,095,627 | activesupport |
| 1,862 | 16,135,154 | syntax_tree |
| 2,912 | 5,617,863 | tiktoken_ruby |
| 5,737 | 1,022,355 | tokenizers |
| 5,743 | 1,018,592 | rubocop-discourse |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | Falco | |
| 2 | discourse-rubygems |