pub struct AxACE { /* private fields */ }Expand description
Agentic Context Engineering optimizer (Generator -> Reflector -> Curator).
Deterministic playbook mutations reuse the Core-owned _ace_* ops; the
LLM-orchestrated reflect/curate steps are delegated to injected callables so
the loop is reproducible under conformance with scripted responses (mirrors
how AxGEPA accepts a reflection client).
Implementations§
Source§impl AxACE
impl AxACE
pub fn new(options: Value) -> Self
pub fn with_callables( self, reflector: Option<Box<dyn FnMut(&Value) -> Value>>, curator: Option<Box<dyn FnMut(&Value) -> Value>>, generator: Option<Box<dyn FnMut(&Value) -> Value>>, ) -> Self
pub fn name(&self) -> &str
pub fn version(&self) -> &str
pub fn reset(&mut self)
pub fn configure_auto(&mut self, level: &str)
pub fn hydrate(&mut self, state: &Value)
pub fn get_playbook(&self) -> Value
pub fn get_artifact(&self) -> Value
pub fn compile( &mut self, examples: &[Value], metric_fn: &mut dyn FnMut(&Value) -> Value, options: &Value, ) -> AxResult<Value>
pub fn apply_online_update(&mut self, args: &Value) -> AxResult<Value>
Auto Trait Implementations§
impl !RefUnwindSafe for AxACE
impl !Send for AxACE
impl !Sync for AxACE
impl !UnwindSafe for AxACE
impl Freeze for AxACE
impl Unpin for AxACE
impl UnsafeUnpin for AxACE
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