#[non_exhaustive]pub enum ImageScope {
All,
LowConfidencePagesOnly,
}Expand description
Which images super::understand_image is meant to be called for.
Purely a signal the caller reads before deciding to call — see
AiConfig::image_scope’s docs for why this module never inspects it itself.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
All
Every parsed image resource. Quality-first — the default once a caller
supplies an AiConfig at all.
LowConfidencePagesOnly
Only pages a low-confidence OCR gate already flagged as a full-page scan with no extractable text layer. Narrows cost/latency for a caller that wants VLM calls only where the existing text extraction produced nothing.
Trait Implementations§
Source§impl Clone for ImageScope
impl Clone for ImageScope
impl Copy for ImageScope
Source§impl Debug for ImageScope
impl Debug for ImageScope
Source§impl Default for ImageScope
impl Default for ImageScope
impl Eq for ImageScope
Source§impl PartialEq for ImageScope
impl PartialEq for ImageScope
impl StructuralPartialEq for ImageScope
Auto Trait Implementations§
impl Freeze for ImageScope
impl RefUnwindSafe for ImageScope
impl Send for ImageScope
impl Sync for ImageScope
impl Unpin for ImageScope
impl UnsafeUnpin for ImageScope
impl UnwindSafe for ImageScope
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