RubyGems Navigation menu

discourse_ai-tokenizers 0.2.0

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:
=

インストール:
=

バージョン履歴:

  1. 0.2.0 July 02, 2025 (20.6MB)
  2. 0.1.2 July 02, 2025 (20.6MB)
  3. 0.1.1 July 01, 2025 (20.6MB)
  4. 0.1.0 July 01, 2025 (20.6MB)

Runtime依存関係 (3):

activesupport >= 6.0
tiktoken_ruby ~> 0.0.11.1
tokenizers ~> 0.5.4

Development依存関係 (2):

syntax_tree ~> 6.2.0

所有者:

プッシュ者:

作者:

  • Rafael Silva

SHA 256チェックサム:

=

累計ダウンロード数 1,007

このバージョンのみ 685

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 3.2.0

リンク: