pub struct DeepResearchShell { /* private fields */ }Expand description
Two-tier outer shell.
Holds an IntentClassifier, a ShallowResearcher, and a
DeepResearchHarnessRef; implements Callable so it composes
like any other tool / harness in the framework.
Implementations§
Source§impl DeepResearchShell
impl DeepResearchShell
Sourcepub fn new(
classifier: Arc<dyn IntentClassifier>,
shallow: Arc<dyn ShallowResearcher>,
deep: DeepResearchHarnessRef,
) -> Self
pub fn new( classifier: Arc<dyn IntentClassifier>, shallow: Arc<dyn ShallowResearcher>, deep: DeepResearchHarnessRef, ) -> Self
Wire a shell around an intent classifier, a shallow researcher, and a deep-research harness handle.
Sourcepub fn deep(&self) -> &DeepResearchHarnessRef
pub fn deep(&self) -> &DeepResearchHarnessRef
Access the underlying deep-research harness handle.
Sourcepub async fn run(&self, req: ResearchRequest) -> CoreResult<ResearchResult>
pub async fn run(&self, req: ResearchRequest) -> CoreResult<ResearchResult>
Pure async run path: classify then dispatch to shallow or deep.
Trait Implementations§
Source§impl Callable for DeepResearchShell
impl Callable for DeepResearchShell
Source§impl Clone for DeepResearchShell
impl Clone for DeepResearchShell
Source§fn clone(&self) -> DeepResearchShell
fn clone(&self) -> DeepResearchShell
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for DeepResearchShell
impl !UnwindSafe for DeepResearchShell
impl Freeze for DeepResearchShell
impl Send for DeepResearchShell
impl Sync for DeepResearchShell
impl Unpin for DeepResearchShell
impl UnsafeUnpin for DeepResearchShell
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