pub struct RewritePrompt {
pub system: String,
pub user: String,
}Expand description
The constrained-rewrite prompt for the LLM formatter (consumed by the Candle
façade in T7). system is hard restraint that holds at every level; the
per-level rule only widens which edits are permitted. Restraint is the
wording, so it lives here in the pure core, not in the inference façade.
Fields§
§system: String§user: StringAuto Trait Implementations§
impl Freeze for RewritePrompt
impl RefUnwindSafe for RewritePrompt
impl Send for RewritePrompt
impl Sync for RewritePrompt
impl Unpin for RewritePrompt
impl UnsafeUnpin for RewritePrompt
impl UnwindSafe for RewritePrompt
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