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: 7,455 of 199,228
Downloads: 696,596

Daily

Ranking: 2,987 of 199,184
Downloads: 4,140

Depended by

RankDownloadsName

Depends on

RankDownloadsName
61,493,482,686activesupport
1,74521,910,693syntax_tree
2,6388,353,248tiktoken_ruby
4,7421,994,155tokenizers
5,2691,553,505rubocop-discourse

Owners

#GravatarHandle
1iconFalco
2icondiscourse-rubygems