Sha256: 79d13ee1355d7813db4393bf1920d2f16846f675c4ac8d2c36bc3129a9bb7ca8
Contents?: true
Size: 450 Bytes
Versions: 2
Compression:
Stored size: 450 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.collapse("#{__dir__}/gen_ai/core") 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.4.3 | lib/gen_ai.rb |
gen-ai-0.4.2 | lib/gen_ai.rb |