pub enum ReasoningMode {
FunctionCall,
Prompt,
}Expand description
How the model is asked to answer.
Variants§
FunctionCall
A forced function call whose schema is the parameter list.
Prompt
A JSON answer requested in the prompt.
Trait Implementations§
Source§impl Clone for ReasoningMode
impl Clone for ReasoningMode
impl Copy for ReasoningMode
Source§impl Debug for ReasoningMode
impl Debug for ReasoningMode
Source§impl Default for ReasoningMode
impl Default for ReasoningMode
Source§impl<'de> Deserialize<'de> for ReasoningMode
impl<'de> Deserialize<'de> for ReasoningMode
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
impl Eq for ReasoningMode
Source§impl PartialEq for ReasoningMode
impl PartialEq for ReasoningMode
impl StructuralPartialEq for ReasoningMode
Auto Trait Implementations§
impl Forget for ReasoningMode
impl Freeze for ReasoningMode
impl Move for ReasoningMode
impl RefUnwindSafe for ReasoningMode
impl Send for ReasoningMode
impl Sync for ReasoningMode
impl Unpin for ReasoningMode
impl UnsafeUnpin for ReasoningMode
impl UnwindSafe for ReasoningMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.