RubyGems Navigation menu

discourse_ai-tokenizers 0.4

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.

Gemfile:
=

installieren:
=

Versionen:

  1. 0.4 January 06, 2026 (20,6 MB)
  2. 0.3.2 December 10, 2025 (20,6 MB)
  3. 0.3.1 July 07, 2025 (20,6 MB)
  4. 0.3.0 July 04, 2025 (20,6 MB)
  5. 0.2.0 July 02, 2025 (20,6 MB)
Zeige alle Versionen (8 total)

Runtime Abhängigkeiten (3):

activesupport >= 6.0
tiktoken_ruby ~> 0.0.15
tokenizers ~> 0.6.3

Development Abhängigkeiten (2):

syntax_tree ~> 6.2.0

Besitzer:

Pushed by:

Autoren:

  • Rafael Silva

SHA 256-Prüfsumme:

=

Downloads insgesamt 104.628

Für diese Version 4.640

Version veröffentlicht:

Lizenz:

MIT

Erforderliche Ruby-Version: >= 3.2.0

Links: