pub struct AiAgent {
pub input_transforms: Box<AiAgentInputTransforms>,
pub tools: Vec<AgentTool>,
pub type: Type,
pub parallel: Option<bool>,
}Expand description
AiAgent : AI agent step that can use tools to accomplish tasks. The agent receives inputs and can call any of its configured tools to complete the task
Fields§
§input_transforms: Box<AiAgentInputTransforms>§tools: Vec<AgentTool>Array of tools the agent can use. The agent decides which tools to call based on the task
type: Type§parallel: Option<bool>If true, the agent can execute multiple tool calls in parallel
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AiAgent
impl<'de> Deserialize<'de> for AiAgent
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
impl StructuralPartialEq for AiAgent
Auto Trait Implementations§
impl Freeze for AiAgent
impl RefUnwindSafe for AiAgent
impl Send for AiAgent
impl Sync for AiAgent
impl Unpin for AiAgent
impl UnwindSafe for AiAgent
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