pub struct Reasoning {
pub effort: Option<ReasoningEffort>,
pub summary: Option<ReasoningSummary>,
}Expand description
Configuration for reasoning behavior in responses
This struct allows you to control how the model approaches reasoning for complex queries, including the effort level and summary format.
§API Reference
Corresponds to the reasoning parameter in the OpenAI Responses API.
Fields§
§effort: Option<ReasoningEffort>The level of reasoning effort to apply
summary: Option<ReasoningSummary>The format for the reasoning summary
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reasoning
impl RefUnwindSafe for Reasoning
impl Send for Reasoning
impl Sync for Reasoning
impl Unpin for Reasoning
impl UnsafeUnpin for Reasoning
impl UnwindSafe for Reasoning
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