pub struct ReasoningConfigArgs { /* private fields */ }
Expand description
Builder for ReasoningConfig
.
Implementations§
Source§impl ReasoningConfigArgs
impl ReasoningConfigArgs
Sourcepub fn effort<VALUE: Into<ReasoningEffort>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn effort<VALUE: Into<ReasoningEffort>>( &mut self, value: VALUE, ) -> &mut Self
Constrain effort on reasoning.
Sourcepub fn summary<VALUE: Into<ReasoningSummary>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn summary<VALUE: Into<ReasoningSummary>>( &mut self, value: VALUE, ) -> &mut Self
Summary mode for reasoning.
Sourcepub fn build(&self) -> Result<ReasoningConfig, OpenAIError>
pub fn build(&self) -> Result<ReasoningConfig, OpenAIError>
Trait Implementations§
Source§impl Clone for ReasoningConfigArgs
impl Clone for ReasoningConfigArgs
Source§fn clone(&self) -> ReasoningConfigArgs
fn clone(&self) -> ReasoningConfigArgs
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 moreAuto Trait Implementations§
impl Freeze for ReasoningConfigArgs
impl RefUnwindSafe for ReasoningConfigArgs
impl Send for ReasoningConfigArgs
impl Sync for ReasoningConfigArgs
impl Unpin for ReasoningConfigArgs
impl UnwindSafe for ReasoningConfigArgs
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