pub struct AgentBuilder { /* private fields */ }Implementations§
Source§impl AgentBuilder
impl AgentBuilder
pub fn new(runtime: Arc<dyn SemanticRuntime>) -> Self
pub fn with_base_instructions(self, text: impl Into<String>) -> Self
pub fn with_personality(self, personality: Personality) -> Self
pub fn with_output_schema(self, schema: Value) -> Self
pub fn register_tool(self, handler: Arc<dyn ToolHandler>) -> Self
pub fn register_skill_provider(self, provider: Arc<dyn SkillProvider>) -> Self
pub fn build(self) -> AgentManager
Auto Trait Implementations§
impl !RefUnwindSafe for AgentBuilder
impl !UnwindSafe for AgentBuilder
impl Freeze for AgentBuilder
impl Send for AgentBuilder
impl Sync for AgentBuilder
impl Unpin for AgentBuilder
impl UnsafeUnpin for AgentBuilder
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