pub struct ProcessingConfig {
pub format_type: FormatType,
pub max_char_buffer: usize,
pub batch_length: usize,
pub max_workers: usize,
pub additional_context: Option<String>,
pub debug: bool,
pub extraction_passes: usize,
pub fence_output: Option<bool>,
pub use_schema_constraints: bool,
pub custom_params: HashMap<String, Value>,
}
Expand description
Core processing configuration
Fields§
§format_type: FormatType
Output format type
max_char_buffer: usize
Maximum characters per chunk for processing
batch_length: usize
Batch size for processing chunks
max_workers: usize
Maximum number of concurrent workers
additional_context: Option<String>
Additional context for the prompt
debug: bool
Enable debug mode
extraction_passes: usize
Number of extraction passes to improve recall
fence_output: Option<bool>
Whether to wrap output in code fences
use_schema_constraints: bool
Whether to use schema constraints
custom_params: HashMap<String, Value>
Custom parameters for extensibility
Trait Implementations§
Source§impl Clone for ProcessingConfig
impl Clone for ProcessingConfig
Source§fn clone(&self) -> ProcessingConfig
fn clone(&self) -> ProcessingConfig
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 ProcessingConfig
impl Debug for ProcessingConfig
Source§impl Default for ProcessingConfig
impl Default for ProcessingConfig
Source§impl<'de> Deserialize<'de> for ProcessingConfig
impl<'de> Deserialize<'de> for ProcessingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProcessingConfig
impl RefUnwindSafe for ProcessingConfig
impl Send for ProcessingConfig
impl Sync for ProcessingConfig
impl Unpin for ProcessingConfig
impl UnwindSafe for ProcessingConfig
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