pub struct ComposedPrompt {
pub system: String,
pub user: String,
}Expand description
Composed prompt from facets
Fields§
§system: StringSystem prompt (persona-derived)
user: StringUser message (knowledge + instruction + policy + output contract)
Trait Implementations§
Source§impl Clone for ComposedPrompt
impl Clone for ComposedPrompt
Source§fn clone(&self) -> ComposedPrompt
fn clone(&self) -> ComposedPrompt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ComposedPrompt
impl RefUnwindSafe for ComposedPrompt
impl Send for ComposedPrompt
impl Sync for ComposedPrompt
impl Unpin for ComposedPrompt
impl UnsafeUnpin for ComposedPrompt
impl UnwindSafe for ComposedPrompt
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