pub struct DoclingConvertRequest {
pub output_formats: Vec<OutputFormat>,
pub page_range: Option<(u32, u32)>,
pub chunker: ChunkerKind,
pub chunking: ChunkingOptions,
pub pipeline: Option<PipelineKind>,
pub picture_description_preset: Option<String>,
}Fields§
§output_formats: Vec<OutputFormat>§page_range: Option<(u32, u32)>§chunker: ChunkerKind§chunking: ChunkingOptions§pipeline: Option<PipelineKind>§picture_description_preset: Option<String>Preset ID for picture description, forwarded to Docling Serve as
picture_description_preset. When set, the legacy
picture_description_custom_config form field is suppressed so the
preset wins. When None, the legacy custom VLM configuration is
preserved unchanged.
Implementations§
Source§impl DoclingConvertRequest
impl DoclingConvertRequest
pub fn for_outputs(output_formats: Vec<OutputFormat>) -> Self
pub fn with_chunker( self, chunker: ChunkerKind, options: ChunkingOptions, ) -> Self
pub fn with_pipeline(self, pipeline: Option<PipelineKind>) -> Self
pub fn with_picture_description_preset( self, picture_description_preset: Option<String>, ) -> Self
Trait Implementations§
Source§impl Clone for DoclingConvertRequest
impl Clone for DoclingConvertRequest
Source§fn clone(&self) -> DoclingConvertRequest
fn clone(&self) -> DoclingConvertRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DoclingConvertRequest
impl RefUnwindSafe for DoclingConvertRequest
impl Send for DoclingConvertRequest
impl Sync for DoclingConvertRequest
impl Unpin for DoclingConvertRequest
impl UnsafeUnpin for DoclingConvertRequest
impl UnwindSafe for DoclingConvertRequest
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