pub enum ReasoningStepType {
Thought,
Action,
Observation,
Reflection,
Decision,
FinalAnswer,
Custom(String),
}Expand description
推理步骤类型
Variants§
Trait Implementations§
Source§impl Clone for ReasoningStepType
impl Clone for ReasoningStepType
Source§fn clone(&self) -> ReasoningStepType
fn clone(&self) -> ReasoningStepType
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 ReasoningStepType
impl Debug for ReasoningStepType
Source§impl<'de> Deserialize<'de> for ReasoningStepType
impl<'de> Deserialize<'de> for ReasoningStepType
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
Source§impl PartialEq for ReasoningStepType
impl PartialEq for ReasoningStepType
Source§impl Serialize for ReasoningStepType
impl Serialize for ReasoningStepType
impl Eq for ReasoningStepType
impl StructuralPartialEq for ReasoningStepType
Auto Trait Implementations§
impl Freeze for ReasoningStepType
impl RefUnwindSafe for ReasoningStepType
impl Send for ReasoningStepType
impl Sync for ReasoningStepType
impl Unpin for ReasoningStepType
impl UnsafeUnpin for ReasoningStepType
impl UnwindSafe for ReasoningStepType
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