pub struct SystemPromptSection {
pub name: String,
pub compute: ComputeFn,
pub cache_break: bool,
}Expand description
A system prompt section with name, compute function, and cache behavior
Fields§
§name: String§compute: ComputeFn§cache_break: boolAuto Trait Implementations§
impl Freeze for SystemPromptSection
impl !RefUnwindSafe for SystemPromptSection
impl Send for SystemPromptSection
impl Sync for SystemPromptSection
impl Unpin for SystemPromptSection
impl UnsafeUnpin for SystemPromptSection
impl !UnwindSafe for SystemPromptSection
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