pub struct LlmOptions {
pub system_message: String,
pub temperature: Option<f32>,
pub top_p: Option<f32>,
}Fields§
§system_message: String§temperature: Option<f32>§top_p: Option<f32>Implementations§
Trait Implementations§
Source§impl Clone for LlmOptions
impl Clone for LlmOptions
Source§fn clone(&self) -> LlmOptions
fn clone(&self) -> LlmOptions
Returns a copy 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 LlmOptions
impl Debug for LlmOptions
Source§impl Default for LlmOptions
impl Default for LlmOptions
Source§impl PartialEq for LlmOptions
impl PartialEq for LlmOptions
impl StructuralPartialEq for LlmOptions
Auto Trait Implementations§
impl Freeze for LlmOptions
impl RefUnwindSafe for LlmOptions
impl Send for LlmOptions
impl Sync for LlmOptions
impl Unpin for LlmOptions
impl UnwindSafe for LlmOptions
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