pub struct TranscriptContext {
pub messages: Vec<Message>,
}Expand description
Normalized provider input: the prompt and tools live in the transcript’s system messages.
Fields§
§messages: Vec<Message>Trait Implementations§
Source§impl Clone for TranscriptContext
impl Clone for TranscriptContext
Source§impl Debug for TranscriptContext
impl Debug for TranscriptContext
Source§impl Default for TranscriptContext
impl Default for TranscriptContext
Source§impl<'de> Deserialize<'de> for TranscriptContext
impl<'de> Deserialize<'de> for TranscriptContext
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
Source§impl PartialEq for TranscriptContext
impl PartialEq for TranscriptContext
Source§impl Serialize for TranscriptContext
impl Serialize for TranscriptContext
impl StructuralPartialEq for TranscriptContext
Auto Trait Implementations§
impl Forget for TranscriptContext
impl Freeze for TranscriptContext
impl Move for TranscriptContext
impl RefUnwindSafe for TranscriptContext
impl Send for TranscriptContext
impl Sync for TranscriptContext
impl Unpin for TranscriptContext
impl UnsafeUnpin for TranscriptContext
impl UnwindSafe for TranscriptContext
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