Sha256: 81a6bb3747850916a418e6f136e56854b0e42e0b8e962f13d244ed3628f96192

Contents?: true

Size: 571 Bytes

Versions: 13

Compression:

Stored size: 571 Bytes

Contents

# frozen_string_literal: true

module GenAI
  class Image
    class Base < GenAI::Base
      def generate(...)
        raise NotImplementedError, "#{self.class.name} does not support generate"
      end

      def variations(...)
        raise NotImplementedError, "#{self.class.name} does not support variations"
      end

      def edit(...)
        raise NotImplementedError, "#{self.class.name} does not support editing"
      end

      def upscale(...)
        raise NotImplementedError, "#{self.class.name} does not support upscaling"
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gen-ai-0.4.3 lib/gen_ai/image/base.rb
gen-ai-0.4.2 lib/gen_ai/image/base.rb
gen-ai-0.4.1 lib/gen_ai/image/base.rb
gen-ai-0.4.0 lib/gen_ai/image/base.rb
gen-ai-0.4.0.alpha.3 lib/gen_ai/image/base.rb
gen-ai-0.4.0.alpha.2 lib/gen_ai/image/base.rb
gen-ai-0.4.0.alpha.1 lib/gen_ai/image/base.rb
gen-ai-0.3.2 lib/gen_ai/image/base.rb
gen-ai-0.3.1 lib/gen_ai/image/base.rb
gen-ai-0.3.0 lib/gen_ai/image/base.rb
gen-ai-0.2.3 lib/gen_ai/image/base.rb
gen-ai-0.2.2 lib/gen_ai/image/base.rb
gen-ai-0.2.1 lib/gen_ai/image/base.rb