pub struct TrajectoryDef {
pub name: String,
pub description: Option<String>,
pub agent_type: String,
pub token_budget: i32,
pub memory_refs: Vec<String>,
pub metadata: Option<Value>,
}Expand description
Trajectory definition for multi-turn interaction templates.
pack syntax:
trajectory "customer_support" {
description: "Multi-turn customer support interaction"
agent_type: "support_agent"
token_budget: 8000
memory_refs: [artifacts, notes, scopes]
}Fields§
§name: String§description: Option<String>§agent_type: String§token_budget: i32§memory_refs: Vec<String>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for TrajectoryDef
impl Clone for TrajectoryDef
Source§fn clone(&self) -> TrajectoryDef
fn clone(&self) -> TrajectoryDef
Returns a duplicate of the value. Read more
1.0.0 · 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 TrajectoryDef
impl Debug for TrajectoryDef
Source§impl<'de> Deserialize<'de> for TrajectoryDef
impl<'de> Deserialize<'de> for TrajectoryDef
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 TrajectoryDef
impl PartialEq for TrajectoryDef
Source§impl Serialize for TrajectoryDef
impl Serialize for TrajectoryDef
impl StructuralPartialEq for TrajectoryDef
Auto Trait Implementations§
impl Freeze for TrajectoryDef
impl RefUnwindSafe for TrajectoryDef
impl Send for TrajectoryDef
impl Sync for TrajectoryDef
impl Unpin for TrajectoryDef
impl UnwindSafe for TrajectoryDef
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