Sha256: 9b495067f0e68c07069b0563963e84c66c423b584b36f66c6d5ddfe6ad5632a3

Contents?: true

Size: 336 Bytes

Versions: 9

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

require_relative "tiktoken_ruby/version"
require_relative "tiktoken_ruby/encoding.rb"

begin
  RUBY_VERSION =~ /(\d+\.\d+)/
  require_relative "tiktoken_ruby/#{$1}/tiktoken_ruby"
rescue LoadError
  require_relative "tiktoken_ruby/tiktoken_ruby"
end

module Tiktoken
  class Error < StandardError; end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tiktoken_ruby-0.0.2-arm64-darwin lib/tiktoken_ruby.rb
tiktoken_ruby-0.0.2-x64-mingw32 lib/tiktoken_ruby.rb
tiktoken_ruby-0.0.2-x86_64-darwin lib/tiktoken_ruby.rb
tiktoken_ruby-0.0.2-x86_64-linux-musl lib/tiktoken_ruby.rb
tiktoken_ruby-0.0.2-x86_64-linux lib/tiktoken_ruby.rb
tiktoken_ruby-0.0.2-x64-mingw-ucrt lib/tiktoken_ruby.rb
tiktoken_ruby-0.0.2-arm-linux lib/tiktoken_ruby.rb
tiktoken_ruby-0.0.2-aarch64-linux lib/tiktoken_ruby.rb
tiktoken_ruby-0.0.2 lib/tiktoken_ruby.rb