Class: Cloudflare::AI::Results::ImageToText

Inherits:
Cloudflare::AI::Result
  • Object
show all
Defined in:
lib/cloudflare/ai/results/image_to_text.rb

Instance Method Summary collapse

Instance Method Details

#descriptionObject



2
3
4
# File 'lib/cloudflare/ai/results/image_to_text.rb', line 2

def description
  result&.dig(:description) # nil if no shape
end