Sha256: 14db107f8c7c4284838d9cf402b7fa5e06f964ca4a6a3f2cc280fe6809067825

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

require 'zeitwerk'
require 'pry'

loader = Zeitwerk::Loader.for_gem
loader.inflector.inflect(
  'gen_ai' => 'GenAI',
  'open_ai' => 'OpenAI',
  'stability_ai' => 'StabilityAI'
)
loader.setup

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gen-ai-0.2.1 lib/gen_ai.rb
gen-ai-0.2.0 lib/gen_ai.rb