pub struct FactExtractorSuggestor { /* private fields */ }Expand description
Reads raw signals and extracts tagged factual claims via LLM. Organism owns the extraction prompt and parsing.
Implementations§
Source§impl FactExtractorSuggestor
impl FactExtractorSuggestor
pub fn new( subject: impl Into<String>, budget: Arc<SharedBudget>, llm: Arc<dyn DdLlm>, ) -> FactExtractorSuggestor
Trait Implementations§
Source§impl Suggestor for FactExtractorSuggestor
impl Suggestor for FactExtractorSuggestor
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Human-readable name, used for logging and provenance. Read more
Source§fn dependencies(&self) -> &[ContextKey]
fn dependencies(&self) -> &[ContextKey]
Context keys this suggestor reads from. Read more
Source§fn accepts(&self, ctx: &dyn Context) -> bool
fn accepts(&self, ctx: &dyn Context) -> bool
Pure predicate: should this suggestor execute given the current context? Read more
Auto Trait Implementations§
impl !Freeze for FactExtractorSuggestor
impl !RefUnwindSafe for FactExtractorSuggestor
impl Send for FactExtractorSuggestor
impl Sync for FactExtractorSuggestor
impl Unpin for FactExtractorSuggestor
impl UnsafeUnpin for FactExtractorSuggestor
impl !UnwindSafe for FactExtractorSuggestor
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