pub struct AppendedSystemInstructions {
pub custom_identity: Option<String>,
pub appended_sections: Vec<SystemInstructionSection>,
}Expand description
Appended instructions format, maintaining identity overrides and section segments.
Fields§
§custom_identity: Option<String>Optional override for the agent’s custom identity block.
appended_sections: Vec<SystemInstructionSection>Sections to be appended to the standard system instructions.
Trait Implementations§
Source§impl Clone for AppendedSystemInstructions
impl Clone for AppendedSystemInstructions
Source§fn clone(&self) -> AppendedSystemInstructions
fn clone(&self) -> AppendedSystemInstructions
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 moreSource§impl Debug for AppendedSystemInstructions
impl Debug for AppendedSystemInstructions
Source§impl<'de> Deserialize<'de> for AppendedSystemInstructions
impl<'de> Deserialize<'de> for AppendedSystemInstructions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AppendedSystemInstructions
impl RefUnwindSafe for AppendedSystemInstructions
impl Send for AppendedSystemInstructions
impl Sync for AppendedSystemInstructions
impl Unpin for AppendedSystemInstructions
impl UnsafeUnpin for AppendedSystemInstructions
impl UnwindSafe for AppendedSystemInstructions
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