pub enum LLMEngineConfig {
OpenAI(OpenAIEngineConfig),
Llama(LlamaEngineConfig),
Custom(Box<dyn LLMEngineTrait>),
}Expand description
§Configuration
Unified configuration enum for the underlying inference engine.
Supports switching between different backend implementations via Cargo features.
Variants§
OpenAI(OpenAIEngineConfig)
Configuration for OpenAI-compatible network APIs.
Llama(LlamaEngineConfig)
Configuration for local Llama.cpp inference.
Custom(Box<dyn LLMEngineTrait>)
Configuration for custom engine.
Auto Trait Implementations§
impl Freeze for LLMEngineConfig
impl !RefUnwindSafe for LLMEngineConfig
impl Send for LLMEngineConfig
impl Sync for LLMEngineConfig
impl Unpin for LLMEngineConfig
impl UnsafeUnpin for LLMEngineConfig
impl !UnwindSafe for LLMEngineConfig
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