pub struct SystemMessageMetadata {
pub prompt_version: Option<String>,
pub variables: HashMap<String, Value>,
}Expand description
Metadata about the prompt template and its construction
Fields§
§prompt_version: Option<String>Version identifier of the prompt template used
variables: HashMap<String, Value>Template variables used when constructing the prompt
Trait Implementations§
Source§impl Clone for SystemMessageMetadata
impl Clone for SystemMessageMetadata
Source§fn clone(&self) -> SystemMessageMetadata
fn clone(&self) -> SystemMessageMetadata
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 SystemMessageMetadata
impl Debug for SystemMessageMetadata
Source§impl<'de> Deserialize<'de> for SystemMessageMetadata
impl<'de> Deserialize<'de> for SystemMessageMetadata
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 SystemMessageMetadata
impl RefUnwindSafe for SystemMessageMetadata
impl Send for SystemMessageMetadata
impl Sync for SystemMessageMetadata
impl Unpin for SystemMessageMetadata
impl UnsafeUnpin for SystemMessageMetadata
impl UnwindSafe for SystemMessageMetadata
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