pub struct ProgressiveConfig {
pub level_0: String,
pub level_1: String,
pub level_2: String,
pub level_3: String,
pub level_4_plus: String,
}Expand description
Configuration for progressive multi-level LLM usage strategy.
This strategy uses different levels of LLM involvement based on query complexity, budget, and quality requirements.
Fields§
§level_0: StringLevel 0: Pure algorithmic processing (no LLM usage)
level_1: StringLevel 1: Minimal LLM usage (entity extraction only)
level_2: StringLevel 2: Moderate LLM usage (entity + relationship extraction)
level_3: StringLevel 3: Heavy LLM usage (full semantic analysis)
level_4_plus: StringLevel 4+: Maximum LLM usage (comprehensive processing)
Trait Implementations§
Source§impl Clone for ProgressiveConfig
impl Clone for ProgressiveConfig
Source§fn clone(&self) -> ProgressiveConfig
fn clone(&self) -> ProgressiveConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ProgressiveConfig
impl Debug for ProgressiveConfig
Source§impl Default for ProgressiveConfig
impl Default for ProgressiveConfig
Source§impl<'de> Deserialize<'de> for ProgressiveConfig
impl<'de> Deserialize<'de> for ProgressiveConfig
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 ProgressiveConfig
impl RefUnwindSafe for ProgressiveConfig
impl Send for ProgressiveConfig
impl Sync for ProgressiveConfig
impl Unpin for ProgressiveConfig
impl UnsafeUnpin for ProgressiveConfig
impl UnwindSafe for ProgressiveConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more