pub enum ToolFormat {
Hermes,
Llama3,
Mistral,
OpenAiTools,
Generic,
}Expand description
Tool calling format detected.
Variants§
Hermes
Hermes-style tool calling.
Llama3
Llama 3.x style.
Mistral
Mistral style.
OpenAiTools
OpenAI tools format.
Generic
Generic/unknown format.
Implementations§
Trait Implementations§
Source§impl Clone for ToolFormat
impl Clone for ToolFormat
Source§fn clone(&self) -> ToolFormat
fn clone(&self) -> ToolFormat
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 ToolFormat
impl Debug for ToolFormat
Source§impl Display for ToolFormat
impl Display for ToolFormat
Source§impl PartialEq for ToolFormat
impl PartialEq for ToolFormat
impl Eq for ToolFormat
impl StructuralPartialEq for ToolFormat
Auto Trait Implementations§
impl Freeze for ToolFormat
impl RefUnwindSafe for ToolFormat
impl Send for ToolFormat
impl Sync for ToolFormat
impl Unpin for ToolFormat
impl UnwindSafe for ToolFormat
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