pub enum AssistantsApiResponseFormatOption {
Text(String),
ResponseFormatText(ResponseFormatText),
ResponseFormatJsonObject(ResponseFormatJsonObject),
ResponseFormatJsonSchema(ResponseFormatJsonSchema),
}
Expand description
Specifies the format that the model must output.
Variants§
Text(String)
auto
is the default value
ResponseFormatText(ResponseFormatText)
ResponseFormatJsonObject(ResponseFormatJsonObject)
ResponseFormatJsonSchema(ResponseFormatJsonSchema)
Trait Implementations§
Source§impl Clone for AssistantsApiResponseFormatOption
impl Clone for AssistantsApiResponseFormatOption
Source§fn clone(&self) -> AssistantsApiResponseFormatOption
fn clone(&self) -> AssistantsApiResponseFormatOption
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 AssistantsApiResponseFormatOption
impl RefUnwindSafe for AssistantsApiResponseFormatOption
impl Send for AssistantsApiResponseFormatOption
impl Sync for AssistantsApiResponseFormatOption
impl Unpin for AssistantsApiResponseFormatOption
impl UnwindSafe for AssistantsApiResponseFormatOption
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