pub struct SmartExtractor { /* private fields */ }
Implementations§
Source§impl SmartExtractor
impl SmartExtractor
pub fn new(config: &OmnivoreConfig) -> Self
pub async fn extract_with_intent( &self, intent: &ExtractionIntent, html: &str, ) -> Result<Value>
pub async fn process_natural_language( &self, request: &str, url: &str, html: &str, ) -> Result<Value>
Auto Trait Implementations§
impl Freeze for SmartExtractor
impl !RefUnwindSafe for SmartExtractor
impl Send for SmartExtractor
impl Sync for SmartExtractor
impl Unpin for SmartExtractor
impl !UnwindSafe for SmartExtractor
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