pub struct SystemPromptGenerator { /* private fields */ }
Expand description
System prompt generator
Implementations§
Source§impl SystemPromptGenerator
impl SystemPromptGenerator
pub fn new(config: SystemPromptConfig, context: PromptContext) -> Self
Auto Trait Implementations§
impl Freeze for SystemPromptGenerator
impl RefUnwindSafe for SystemPromptGenerator
impl Send for SystemPromptGenerator
impl Sync for SystemPromptGenerator
impl Unpin for SystemPromptGenerator
impl UnwindSafe for SystemPromptGenerator
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