pub enum ContextInjectionMode {
SchemaOnly,
SchemaWithKnowledge,
}Expand description
Which normalized semantic context is embedded into emitted agent prompts.
This is a source-neutral runtime binding choice, not a context-provider identifier, component
identity, or IR control flow. A host adapter may source context from Wren MDL, OSI, dbt, or
another provider before constructing this payload. Both modes carry the same deterministic
schema digest; schema+knowledge additionally embeds host-supplied business rules. The
dispatcher never reads the bound project itself.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ContextInjectionMode
impl Clone for ContextInjectionMode
Source§fn clone(&self) -> ContextInjectionMode
fn clone(&self) -> ContextInjectionMode
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 moreimpl Copy for ContextInjectionMode
Source§impl Debug for ContextInjectionMode
impl Debug for ContextInjectionMode
impl Eq for ContextInjectionMode
Source§impl PartialEq for ContextInjectionMode
impl PartialEq for ContextInjectionMode
Source§impl Serialize for ContextInjectionMode
impl Serialize for ContextInjectionMode
impl StructuralPartialEq for ContextInjectionMode
Auto Trait Implementations§
impl Freeze for ContextInjectionMode
impl RefUnwindSafe for ContextInjectionMode
impl Send for ContextInjectionMode
impl Sync for ContextInjectionMode
impl Unpin for ContextInjectionMode
impl UnsafeUnpin for ContextInjectionMode
impl UnwindSafe for ContextInjectionMode
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.