Sha256: 901c436d2ab66b739017d5ca19b6c0a03c078c08a6b5f706d745b698dea1c7f1

Contents?: true

Size: 364 Bytes

Versions: 4

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

require 'zeitwerk'

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

4 entries across 4 versions & 1 rubygems

Version Path
gen-ai-0.3.2 lib/gen_ai.rb
gen-ai-0.3.1 lib/gen_ai.rb
gen-ai-0.3.0 lib/gen_ai.rb
gen-ai-0.2.3 lib/gen_ai.rb