pub struct InvocationFile {
pub invocation_id: String,
pub user_content: String,
pub expected_tool_use: Vec<ExpectedToolUse>,
pub expected_response: Option<String>,
pub intermediate_data: Option<IntermediateData>,
}Expand description
A single invocation (turn pair) in the eval case conversation.
Fields§
§invocation_id: StringUnique identifier for this invocation.
user_content: StringThe user’s input content.
expected_tool_use: Vec<ExpectedToolUse>Expected tool uses for this invocation.
expected_response: Option<String>Expected final response text (if any).
intermediate_data: Option<IntermediateData>Intermediate data recorded during this invocation.
Trait Implementations§
Source§impl Clone for InvocationFile
impl Clone for InvocationFile
Source§fn clone(&self) -> InvocationFile
fn clone(&self) -> InvocationFile
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 InvocationFile
impl Debug for InvocationFile
Source§impl<'de> Deserialize<'de> for InvocationFile
impl<'de> Deserialize<'de> for InvocationFile
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
Auto Trait Implementations§
impl Freeze for InvocationFile
impl RefUnwindSafe for InvocationFile
impl Send for InvocationFile
impl Sync for InvocationFile
impl Unpin for InvocationFile
impl UnwindSafe for InvocationFile
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