pub struct AiAgentInputTransforms {
pub provider: Box<InputTransform>,
pub output_type: Box<InputTransform>,
pub user_message: Box<InputTransform>,
pub system_prompt: Option<Box<InputTransform>>,
pub streaming: Option<Box<InputTransform>>,
pub messages_context_length: Option<Box<InputTransform>>,
pub output_schema: Option<Box<InputTransform>>,
pub user_images: Option<Box<InputTransform>>,
pub max_completion_tokens: Option<Box<InputTransform>>,
pub temperature: Option<Box<InputTransform>>,
}Expand description
AiAgentInputTransforms : Input parameters for the AI agent mapped to their values
Fields§
§provider: Box<InputTransform>§output_type: Box<InputTransform>§user_message: Box<InputTransform>§system_prompt: Option<Box<InputTransform>>§streaming: Option<Box<InputTransform>>§messages_context_length: Option<Box<InputTransform>>§output_schema: Option<Box<InputTransform>>§user_images: Option<Box<InputTransform>>§max_completion_tokens: Option<Box<InputTransform>>§temperature: Option<Box<InputTransform>>Implementations§
Source§impl AiAgentInputTransforms
impl AiAgentInputTransforms
Sourcepub fn new(
provider: InputTransform,
output_type: InputTransform,
user_message: InputTransform,
) -> AiAgentInputTransforms
pub fn new( provider: InputTransform, output_type: InputTransform, user_message: InputTransform, ) -> AiAgentInputTransforms
Input parameters for the AI agent mapped to their values
Trait Implementations§
Source§impl Clone for AiAgentInputTransforms
impl Clone for AiAgentInputTransforms
Source§fn clone(&self) -> AiAgentInputTransforms
fn clone(&self) -> AiAgentInputTransforms
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 Debug for AiAgentInputTransforms
impl Debug for AiAgentInputTransforms
Source§impl Default for AiAgentInputTransforms
impl Default for AiAgentInputTransforms
Source§fn default() -> AiAgentInputTransforms
fn default() -> AiAgentInputTransforms
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AiAgentInputTransforms
impl<'de> Deserialize<'de> for AiAgentInputTransforms
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 PartialEq for AiAgentInputTransforms
impl PartialEq for AiAgentInputTransforms
Source§impl Serialize for AiAgentInputTransforms
impl Serialize for AiAgentInputTransforms
impl StructuralPartialEq for AiAgentInputTransforms
Auto Trait Implementations§
impl Freeze for AiAgentInputTransforms
impl RefUnwindSafe for AiAgentInputTransforms
impl Send for AiAgentInputTransforms
impl Sync for AiAgentInputTransforms
impl Unpin for AiAgentInputTransforms
impl UnwindSafe for AiAgentInputTransforms
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