pub struct Step3Parser { /* private fields */ }Expand description
Step3 reasoning parser.
This parser uses the same format as DeepSeek-R1 (
Implementations§
Source§impl Step3Parser
impl Step3Parser
Trait Implementations§
Source§impl Default for Step3Parser
impl Default for Step3Parser
Source§impl ReasoningParser for Step3Parser
impl ReasoningParser for Step3Parser
Source§fn detect_and_parse_reasoning(
&mut self,
text: &str,
) -> Result<ParserResult, ParseError>
fn detect_and_parse_reasoning( &mut self, text: &str, ) -> Result<ParserResult, ParseError>
Detects and parses reasoning from the input text (one-time parsing). Read more
Source§fn parse_reasoning_streaming_incremental(
&mut self,
text: &str,
) -> Result<ParserResult, ParseError>
fn parse_reasoning_streaming_incremental( &mut self, text: &str, ) -> Result<ParserResult, ParseError>
Parses reasoning incrementally from streaming input. Read more
Source§fn model_type(&self) -> &str
fn model_type(&self) -> &str
Get the model type this parser is designed for.
Source§fn is_in_reasoning(&self) -> bool
fn is_in_reasoning(&self) -> bool
Check if the parser is currently in reasoning mode. Read more
Auto Trait Implementations§
impl Freeze for Step3Parser
impl RefUnwindSafe for Step3Parser
impl Send for Step3Parser
impl Sync for Step3Parser
impl Unpin for Step3Parser
impl UnwindSafe for Step3Parser
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