Struct llm_weaver::LlmConfig
source · pub struct LlmConfig<T: Config, L: Llm<T>> {
pub model: L,
pub params: L::Parameters,
}
Fields§
§model: L
§params: L::Parameters
Trait Implementations§
Auto Trait Implementations§
impl<T, L> Freeze for LlmConfig<T, L>
impl<T, L> RefUnwindSafe for LlmConfig<T, L>
impl<T, L> Send for LlmConfig<T, L>
impl<T, L> Sync for LlmConfig<T, L>
impl<T, L> Unpin for LlmConfig<T, L>
impl<T, L> UnwindSafe for LlmConfig<T, L>
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