Sha256: 9a9edcd2d6132cbfc26d9182187950f1618da8cbaf1c694da73eabbf5a43291d

Contents?: true

Size: 408 Bytes

Versions: 5

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

require 'zeitwerk'
require 'active_support/core_ext/hash/keys'

loader = Zeitwerk::Loader.for_gem
loader.inflector.inflect(
  'gen_ai' => 'GenAI',
  'open_ai' => 'OpenAI',
  'stability_ai' => 'StabilityAI'
)
loader.ignore("#{__dir__}/gen")
loader.setup

module GenAI
  class Error < StandardError; end
  class ApiError < Error; end
  class UnsupportedProvider < Error; end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gen-ai-0.4.1 lib/gen_ai.rb
gen-ai-0.4.0 lib/gen_ai.rb
gen-ai-0.4.0.alpha.3 lib/gen_ai.rb
gen-ai-0.4.0.alpha.2 lib/gen_ai.rb
gen-ai-0.4.0.alpha.1 lib/gen_ai.rb