pub enum SectionType {
SystemPrompt,
Instructions,
Evidence,
Memory,
ToolResult,
ConversationHistory,
System,
Persona,
Notes,
History,
Artifacts,
User,
}Expand description
Type of context section.
Variants§
SystemPrompt
System prompt (highest level instructions)
Instructions
pack instructions/persona configuration
Evidence
Evidence/provenance data
Memory
User memory injection
ToolResult
Tool/LLM result history
ConversationHistory
Conversation history
System
System instructions (shares budget with SystemPrompt)
Persona
Persona/kernel configuration (shares budget with Instructions)
Notes
Relevant notes from semantic memory (shares budget with Memory)
History
Scope summaries (shares budget with ConversationHistory)
Artifacts
Artifacts from current trajectory (shares budget with Evidence)
User
User input/query
Implementations§
Trait Implementations§
Source§impl Clone for SectionType
impl Clone for SectionType
Source§fn clone(&self) -> SectionType
fn clone(&self) -> SectionType
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 ComposeSchema for SectionType
impl ComposeSchema for SectionType
Source§impl Debug for SectionType
impl Debug for SectionType
Source§impl<'de> Deserialize<'de> for SectionType
impl<'de> Deserialize<'de> for SectionType
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 Hash for SectionType
impl Hash for SectionType
Source§impl PartialEq for SectionType
impl PartialEq for SectionType
Source§impl Serialize for SectionType
impl Serialize for SectionType
Source§impl ToSchema for SectionType
impl ToSchema for SectionType
impl Copy for SectionType
impl Eq for SectionType
impl StructuralPartialEq for SectionType
Auto Trait Implementations§
impl Freeze for SectionType
impl RefUnwindSafe for SectionType
impl Send for SectionType
impl Sync for SectionType
impl Unpin for SectionType
impl UnwindSafe for SectionType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.