pub struct Round {
pub calls: Vec<(String, Value, String)>,
pub tool_turns: String,
}Expand description
One built-in round: the calls run and the tool turns that answer them.
Fields§
§calls: Vec<(String, Value, String)>(name, arguments, result) of every call, in order.
tool_turns: String<|im_start|>tool\n<tool_response>\n…\n</tool_response><|im_end|>\n per call.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Round
impl Freeze for Round
impl Move for Round
impl RefUnwindSafe for Round
impl Send for Round
impl Sync for Round
impl Unpin for Round
impl UnsafeUnpin for Round
impl UnwindSafe for Round
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