Class: RubyLLM::OCR::Page
- Inherits:
-
Struct
- Object
- Struct
- RubyLLM::OCR::Page
- Defined in:
- lib/ruby_llm/ocr.rb
Overview
One page of an OCR result: the zero-based page index, the extracted
markdown, and the images and tables the provider reports for the
page, or nil when it reports none. raw holds the provider's
unmodified page hash, including any fields beyond these.
Instance Attribute Summary collapse
-
#images ⇒ Object
Returns the value of attribute images.
-
#index ⇒ Object
Returns the value of attribute index.
-
#markdown ⇒ Object
Returns the value of attribute markdown.
-
#raw ⇒ Object
Returns the value of attribute raw.
-
#tables ⇒ Object
Returns the value of attribute tables.
Instance Attribute Details
#images ⇒ Object
Returns the value of attribute images
20 21 22 |
# File 'lib/ruby_llm/ocr.rb', line 20 def images @images end |
#index ⇒ Object
Returns the value of attribute index
20 21 22 |
# File 'lib/ruby_llm/ocr.rb', line 20 def index @index end |
#markdown ⇒ Object
Returns the value of attribute markdown
20 21 22 |
# File 'lib/ruby_llm/ocr.rb', line 20 def markdown @markdown end |
#raw ⇒ Object
Returns the value of attribute raw
20 21 22 |
# File 'lib/ruby_llm/ocr.rb', line 20 def raw @raw end |
#tables ⇒ Object
Returns the value of attribute tables
20 21 22 |
# File 'lib/ruby_llm/ocr.rb', line 20 def tables @tables end |