pub enum ToolChoiceOptions {
None,
Auto,
Required,
Other(String),
}
Expand description
Controls which (if any) tool is called by the model.
Variants§
Trait Implementations§
Source§impl Clone for ToolChoiceOptions
impl Clone for ToolChoiceOptions
Source§fn clone(&self) -> ToolChoiceOptions
fn clone(&self) -> ToolChoiceOptions
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ToolChoiceOptions
impl RefUnwindSafe for ToolChoiceOptions
impl Send for ToolChoiceOptions
impl Sync for ToolChoiceOptions
impl Unpin for ToolChoiceOptions
impl UnwindSafe for ToolChoiceOptions
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