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§fn default() -> LlmOptions
fn default() -> LlmOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LlmOptions
impl<'de> Deserialize<'de> for LlmOptions
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
Source§impl Display for LlmOptions
impl Display for LlmOptions
Source§impl PartialEq for LlmOptions
impl PartialEq for LlmOptions
Source§impl Serialize for LlmOptions
impl Serialize 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