pub enum ImageFallbackMode {
Placeholder,
Error,
Ocr,
Vision,
}Variants§
Placeholder
Error
Ocr
Vision
Use a vision-capable LLM to describe the image, then replace the image with the textual description so that text-only models can understand the content.
Trait Implementations§
Source§impl Clone for ImageFallbackMode
impl Clone for ImageFallbackMode
Source§fn clone(&self) -> ImageFallbackMode
fn clone(&self) -> ImageFallbackMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageFallbackMode
impl Debug for ImageFallbackMode
Source§impl PartialEq for ImageFallbackMode
impl PartialEq for ImageFallbackMode
impl Copy for ImageFallbackMode
impl Eq for ImageFallbackMode
impl StructuralPartialEq for ImageFallbackMode
Auto Trait Implementations§
impl Freeze for ImageFallbackMode
impl RefUnwindSafe for ImageFallbackMode
impl Send for ImageFallbackMode
impl Sync for ImageFallbackMode
impl Unpin for ImageFallbackMode
impl UnsafeUnpin for ImageFallbackMode
impl UnwindSafe for ImageFallbackMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.