pub struct LlmContext {
pub messages: Vec<Value>,
pub tools: Vec<Value>,
}Expand description
The universal LLM context to run. Mirrors pipecat LLMContext
(frames.py:502). Opaque message list — providers interpret it.
Fields§
§messages: Vec<Value>§tools: Vec<Value>Trait Implementations§
Source§impl Clone for LlmContext
impl Clone for LlmContext
Source§impl Debug for LlmContext
impl Debug for LlmContext
Source§impl Default for LlmContext
impl Default for LlmContext
Source§impl<'de> Deserialize<'de> for LlmContext
impl<'de> Deserialize<'de> for LlmContext
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 LlmContext
impl PartialEq for LlmContext
Source§impl Serialize for LlmContext
impl Serialize for LlmContext
impl StructuralPartialEq for LlmContext
Auto Trait Implementations§
impl Freeze for LlmContext
impl RefUnwindSafe for LlmContext
impl Send for LlmContext
impl Sync for LlmContext
impl Unpin for LlmContext
impl UnsafeUnpin for LlmContext
impl UnwindSafe for LlmContext
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