pub enum ReasoningEffort {
Minimal,
Low,
Medium,
High,
}Expand description
Defines the level of reasoning effort the model should apply
This enum controls how much computational effort the model invests in reasoning through complex problems before generating a response.
§API Reference
Corresponds to the reasoning.effort parameter in the OpenAI Responses API.
Variants§
Minimal
Minimal reasoning effort - fastest response time
Use this for simple queries that don’t require deep analysis.
Low
Low reasoning effort - balanced performance
Use this for moderately complex queries that benefit from some reasoning.
Medium
Medium reasoning effort - comprehensive analysis
Use this for complex queries that require thorough consideration.
High
High reasoning effort - maximum thoughtfulness
Use this for very complex queries requiring deep, careful analysis.
Trait Implementations§
Source§impl Clone for ReasoningEffort
impl Clone for ReasoningEffort
Source§fn clone(&self) -> ReasoningEffort
fn clone(&self) -> ReasoningEffort
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReasoningEffort
impl Debug for ReasoningEffort
Source§impl Display for ReasoningEffort
impl Display for ReasoningEffort
Source§impl FromStr for ReasoningEffort
impl FromStr for ReasoningEffort
Source§impl PartialEq for ReasoningEffort
impl PartialEq for ReasoningEffort
Source§impl Serialize for ReasoningEffort
impl Serialize for ReasoningEffort
Source§impl TryFrom<&str> for ReasoningEffort
impl TryFrom<&str> for ReasoningEffort
impl StructuralPartialEq for ReasoningEffort
Auto Trait Implementations§
impl Freeze for ReasoningEffort
impl RefUnwindSafe for ReasoningEffort
impl Send for ReasoningEffort
impl Sync for ReasoningEffort
impl Unpin for ReasoningEffort
impl UnwindSafe for ReasoningEffort
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.