Class: Kreuzberg::VlmFallbackPolicyAlways
- Inherits:
-
Data
- Object
- Data
- Kreuzberg::VlmFallbackPolicyAlways
- Extended by:
- T::Sig
- Includes:
- VlmFallbackPolicy
- Defined in:
- lib/kreuzberg/native.rb
Overview
Skip the classical OCR backend entirely. Every page is sent to the VLM.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.from_hash(hash) ⇒ Object
324 325 326 |
# File 'lib/kreuzberg/native.rb', line 324 def self.from_hash(hash) new end |
Instance Method Details
#always? ⇒ Boolean
320 321 322 |
# File 'lib/kreuzberg/native.rb', line 320 def always? = true # @param hash [Hash] deserialized from the native extension # @return [self] |
#disabled? ⇒ Boolean
316 |
# File 'lib/kreuzberg/native.rb', line 316 def disabled? = false |
#on_low_quality? ⇒ Boolean
318 |
# File 'lib/kreuzberg/native.rb', line 318 def on_low_quality? = false |