pub struct MemoryChatParams {
pub messages: Vec<ChatMessage>,
pub temperature: Option<f64>,
pub max_tokens: Option<f64>,
}Fields§
§messages: Vec<ChatMessage>§temperature: Option<f64>§max_tokens: Option<f64>Trait Implementations§
Source§impl Clone for MemoryChatParams
impl Clone for MemoryChatParams
Source§fn clone(&self) -> MemoryChatParams
fn clone(&self) -> MemoryChatParams
Returns a duplicate 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 MemoryChatParams
impl Debug for MemoryChatParams
Source§impl Default for MemoryChatParams
impl Default for MemoryChatParams
Source§fn default() -> MemoryChatParams
fn default() -> MemoryChatParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MemoryChatParams
impl RefUnwindSafe for MemoryChatParams
impl Send for MemoryChatParams
impl Sync for MemoryChatParams
impl Unpin for MemoryChatParams
impl UnsafeUnpin for MemoryChatParams
impl UnwindSafe for MemoryChatParams
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