pub enum ReasoningEffort {
Low,
Medium,
High,
}
Expand description
§on openapi.yaml
ReasoningEffort:
type: string
enum:
- low
- medium
- high
default: medium
nullable: true
description: |
**o-series models only**
Constrains effort on reasoning for
[reasoning models](https://platform.openai.com/docs/guides/reasoning).
Currently supported values are `low`, `medium`, and `high`. Reducing
reasoning effort can result in faster responses and fewer tokens used
on reasoning in a response.
Variants§
Trait Implementations§
Source§impl Debug for ReasoningEffort
impl Debug for ReasoningEffort
Source§impl Default for ReasoningEffort
impl Default for ReasoningEffort
Source§impl<'de> Deserialize<'de> for ReasoningEffort
impl<'de> Deserialize<'de> for ReasoningEffort
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 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
Mutably borrows from an owned value. Read more