pub struct UserPromptTransformedOutput {
pub modified_transformed_prompt: Option<String>,
}Expand description
Output for the userPromptTransformed hook.
Fields§
§modified_transformed_prompt: Option<String>Replacement model-facing prompt to persist and send to the model.
Trait Implementations§
Source§impl Clone for UserPromptTransformedOutput
impl Clone for UserPromptTransformedOutput
Source§impl Debug for UserPromptTransformedOutput
impl Debug for UserPromptTransformedOutput
Auto Trait Implementations§
impl Freeze for UserPromptTransformedOutput
impl RefUnwindSafe for UserPromptTransformedOutput
impl Send for UserPromptTransformedOutput
impl Sync for UserPromptTransformedOutput
impl Unpin for UserPromptTransformedOutput
impl UnsafeUnpin for UserPromptTransformedOutput
impl UnwindSafe for UserPromptTransformedOutput
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