pub struct DocExtractProTool {
pub binary: String,
pub mode: String,
pub timeout_secs: u64,
}Expand description
Opt-in wrapper around the external opendataloader-pdf CLI.
Fields§
§binary: StringPath/name of the opendataloader-pdf executable.
mode: String“fast” (default, deterministic) or “hybrid” (AI backend, OCR).
timeout_secs: u64Per-invocation timeout in seconds.
Trait Implementations§
Source§impl Tool for DocExtractProTool
impl Tool for DocExtractProTool
fn name(&self) -> &str
fn description(&self) -> &str
fn parameters(&self) -> Value
fn execute<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
args: Value,
ctx: &'life1 ToolContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for DocExtractProTool
impl RefUnwindSafe for DocExtractProTool
impl Send for DocExtractProTool
impl Sync for DocExtractProTool
impl Unpin for DocExtractProTool
impl UnsafeUnpin for DocExtractProTool
impl UnwindSafe for DocExtractProTool
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