Class: Kreuzberg::VlmFallbackPolicyDisabled

Inherits:
Data
  • Object
show all
Extended by:
T::Sig
Includes:
VlmFallbackPolicy
Defined in:
lib/kreuzberg/native.rb

Overview

No VLM fallback (default). Behaves identically to the pre-policy single-backend mode.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_hash(hash) ⇒ Object



279
280
281
# File 'lib/kreuzberg/native.rb', line 279

def self.from_hash(hash)
  new
end

Instance Method Details

#always?Boolean

Returns:

  • (Boolean)


275
276
277
# File 'lib/kreuzberg/native.rb', line 275

def always? = false
# @param hash [Hash] deserialized from the native extension
# @return [self]

#disabled?Boolean

Returns:

  • (Boolean)


271
# File 'lib/kreuzberg/native.rb', line 271

def disabled? = true

#on_low_quality?Boolean

Returns:

  • (Boolean)


273
# File 'lib/kreuzberg/native.rb', line 273

def on_low_quality? = false