pub struct LlmFallbackConfig {
pub enable: bool,
pub quality_threshold: f32,
pub max_html_bytes: usize,
pub always_run: bool,
}Fields§
§enable: bool§quality_threshold: f32§max_html_bytes: usize§always_run: boolWhen true (and enable is true), invoke the LLM on every page rather
than only when DOM-based extraction scores below quality_threshold.
Mirrors the “LLM as primary extractor” pattern used by Reader-LM,
Firecrawl, and similar services. Higher cost, higher recall.
Trait Implementations§
Source§impl Clone for LlmFallbackConfig
impl Clone for LlmFallbackConfig
Source§fn clone(&self) -> LlmFallbackConfig
fn clone(&self) -> LlmFallbackConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LlmFallbackConfig
impl Debug for LlmFallbackConfig
Source§impl Default for LlmFallbackConfig
impl Default for LlmFallbackConfig
Source§impl<'de> Deserialize<'de> for LlmFallbackConfig
impl<'de> Deserialize<'de> for LlmFallbackConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LlmFallbackConfig
impl RefUnwindSafe for LlmFallbackConfig
impl Send for LlmFallbackConfig
impl Sync for LlmFallbackConfig
impl Unpin for LlmFallbackConfig
impl UnsafeUnpin for LlmFallbackConfig
impl UnwindSafe for LlmFallbackConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more