pub enum WebSearchContextSize {
Low,
Medium,
High,
}
Expand description
§on openai.yaml
WebSearchContextSize:
type: string
description: >
High level guidance for the amount of context window space to use for
the
search. One of `low`, `medium`, or `high`. `medium` is the default.
enum:
- low
- medium
- high
default: medium
Variants§
Trait Implementations§
Source§impl Debug for WebSearchContextSize
impl Debug for WebSearchContextSize
Source§impl Default for WebSearchContextSize
impl Default for WebSearchContextSize
Source§fn default() -> WebSearchContextSize
fn default() -> WebSearchContextSize
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebSearchContextSize
impl<'de> Deserialize<'de> for WebSearchContextSize
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 WebSearchContextSize
impl RefUnwindSafe for WebSearchContextSize
impl Send for WebSearchContextSize
impl Sync for WebSearchContextSize
impl Unpin for WebSearchContextSize
impl UnwindSafe for WebSearchContextSize
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