pub struct StructuredOutputConfig { /* private fields */ }Expand description
Configuration knobs exposed to callers without forcing parser-subclass gymnastics. Defaults are tuned for general-purpose chat models.
Implementations§
Source§impl StructuredOutputConfig
impl StructuredOutputConfig
Sourcepub fn with_extraction(self, e: JsonExtraction) -> Self
pub fn with_extraction(self, e: JsonExtraction) -> Self
Override the JSON extraction strategy.
Trait Implementations§
Source§impl Clone for StructuredOutputConfig
impl Clone for StructuredOutputConfig
Source§fn clone(&self) -> StructuredOutputConfig
fn clone(&self) -> StructuredOutputConfig
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 moreSource§impl Debug for StructuredOutputConfig
impl Debug for StructuredOutputConfig
Auto Trait Implementations§
impl Freeze for StructuredOutputConfig
impl !RefUnwindSafe for StructuredOutputConfig
impl Send for StructuredOutputConfig
impl Sync for StructuredOutputConfig
impl Unpin for StructuredOutputConfig
impl UnsafeUnpin for StructuredOutputConfig
impl !UnwindSafe for StructuredOutputConfig
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