Enum ReasoningMode
pub enum ReasoningMode {
None,
Direct,
ChainOfThoughtLike,
TreeOfThoughtLike,
GraphOfThoughtLike,
ProgramAided,
ToolAugmented,
Reflective,
Custom,
}Variants§
None
Direct
ChainOfThoughtLike
TreeOfThoughtLike
GraphOfThoughtLike
ProgramAided
ToolAugmented
Reflective
Custom
Implementations§
§impl ReasoningMode
impl ReasoningMode
pub const ALL: &'static [ReasoningMode]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for ReasoningMode
impl Clone for ReasoningMode
§fn clone(&self) -> ReasoningMode
fn clone(&self) -> ReasoningMode
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 more§impl Debug for ReasoningMode
impl Debug for ReasoningMode
§impl Display for ReasoningMode
impl Display for ReasoningMode
§impl FromStr for ReasoningMode
impl FromStr for ReasoningMode
§type Err = ReasoningError
type Err = ReasoningError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<ReasoningMode, <ReasoningMode as FromStr>::Err>
fn from_str( value: &str, ) -> Result<ReasoningMode, <ReasoningMode as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for ReasoningMode
impl Hash for ReasoningMode
§impl Ord for ReasoningMode
impl Ord for ReasoningMode
§impl PartialEq for ReasoningMode
impl PartialEq for ReasoningMode
§impl PartialOrd for ReasoningMode
impl PartialOrd for ReasoningMode
impl Copy for ReasoningMode
impl Eq for ReasoningMode
impl StructuralPartialEq for ReasoningMode
Auto Trait Implementations§
impl Freeze 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