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,832 of 197,051
Downloads: 469,677

Daily

Ranking: 4,572 of 197,010
Downloads: 1,044

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,442,365,801activesupport
1,76920,741,234syntax_tree
2,7137,540,039tiktoken_ruby
4,9981,687,745tokenizers
5,4041,406,849rubocop-discourse

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems