pub struct AgentExample {
pub description: String,
pub user_input: String,
pub expected_output: String,
}Expand description
An example interaction demonstrating agent capabilities
Fields§
§description: StringDescription of the example scenario
user_input: StringExample user input
expected_output: StringExpected agent output (may be abbreviated)
Trait Implementations§
Source§impl Clone for AgentExample
impl Clone for AgentExample
Source§fn clone(&self) -> AgentExample
fn clone(&self) -> AgentExample
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 AgentExample
impl Debug for AgentExample
Source§impl<'de> Deserialize<'de> for AgentExample
impl<'de> Deserialize<'de> for AgentExample
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 Eq for AgentExample
Source§impl PartialEq for AgentExample
impl PartialEq for AgentExample
Source§fn eq(&self, other: &AgentExample) -> bool
fn eq(&self, other: &AgentExample) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentExample
impl Serialize for AgentExample
impl StructuralPartialEq for AgentExample
Auto Trait Implementations§
impl Freeze for AgentExample
impl RefUnwindSafe for AgentExample
impl Send for AgentExample
impl Sync for AgentExample
impl Unpin for AgentExample
impl UnsafeUnpin for AgentExample
impl UnwindSafe for AgentExample
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