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



63
64
65
# File 'lib/kreuzberg/native.rb', line 63

def self.from_hash(hash)
  new
end

Instance Method Details

#always?Boolean

Returns:

  • (Boolean)


59
60
61
# File 'lib/kreuzberg/native.rb', line 59

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

#disabled?Boolean

Returns:

  • (Boolean)


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

def disabled? = true

#on_low_quality?Boolean

Returns:

  • (Boolean)


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

def on_low_quality? = false