pub struct AiAgentBasicTextTool {
pub model: Option<String>,
pub num_tokens_for_completion: Option<i64>,
pub llm_endpoint_params: Option<AiLlmEndpointParams>,
pub system_message: Option<String>,
pub prompt_template: Option<String>,
}Fields§
§model: Option<String>§num_tokens_for_completion: Option<i64>§llm_endpoint_params: Option<AiLlmEndpointParams>§system_message: Option<String>§prompt_template: Option<String>Trait Implementations§
Source§impl Clone for AiAgentBasicTextTool
impl Clone for AiAgentBasicTextTool
Source§fn clone(&self) -> AiAgentBasicTextTool
fn clone(&self) -> AiAgentBasicTextTool
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 moreSource§impl Debug for AiAgentBasicTextTool
impl Debug for AiAgentBasicTextTool
Source§impl Default for AiAgentBasicTextTool
impl Default for AiAgentBasicTextTool
Source§fn default() -> AiAgentBasicTextTool
fn default() -> AiAgentBasicTextTool
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AiAgentBasicTextTool
impl<'de> Deserialize<'de> for AiAgentBasicTextTool
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 AiAgentBasicTextTool
impl PartialEq for AiAgentBasicTextTool
Source§impl Serialize for AiAgentBasicTextTool
impl Serialize for AiAgentBasicTextTool
impl StructuralPartialEq for AiAgentBasicTextTool
Auto Trait Implementations§
impl Freeze for AiAgentBasicTextTool
impl RefUnwindSafe for AiAgentBasicTextTool
impl Send for AiAgentBasicTextTool
impl Sync for AiAgentBasicTextTool
impl Unpin for AiAgentBasicTextTool
impl UnsafeUnpin for AiAgentBasicTextTool
impl UnwindSafe for AiAgentBasicTextTool
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