pub enum ResponseProperties_ToolChoice {
ToolChoiceOptions(ToolChoiceOptions),
ToolChoiceTypes(ToolChoiceTypes),
ToolChoiceFunction(ToolChoiceFunction),
}
Expand description
How the model should select which tool (or tools) to use when generating a response.
Variants§
ToolChoiceOptions(ToolChoiceOptions)
ToolChoiceTypes(ToolChoiceTypes)
ToolChoiceFunction(ToolChoiceFunction)
Trait Implementations§
Source§impl Clone for ResponseProperties_ToolChoice
impl Clone for ResponseProperties_ToolChoice
Source§fn clone(&self) -> ResponseProperties_ToolChoice
fn clone(&self) -> ResponseProperties_ToolChoice
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 moreAuto Trait Implementations§
impl Freeze for ResponseProperties_ToolChoice
impl RefUnwindSafe for ResponseProperties_ToolChoice
impl Send for ResponseProperties_ToolChoice
impl Sync for ResponseProperties_ToolChoice
impl Unpin for ResponseProperties_ToolChoice
impl UnwindSafe for ResponseProperties_ToolChoice
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