pub struct Config {
pub model: String,
pub misbehave: HashSet<Misbehavior>,
pub impersonate: Impersonate,
pub chat_template: String,
pub speed: (f64, f64),
}Fields§
§model: String§misbehave: HashSet<Misbehavior>§impersonate: Impersonate§chat_template: StringChat template text served on llama.cpp’s /props.
speed: (f64, f64)Prompt and generation speed (tokens/s) reported in llama.cpp /completion timings.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Config
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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