pub enum TextResponseFormatConfiguration {
ResponseFormatText(ResponseFormatText),
TextResponseFormatJsonSchema(TextResponseFormatJsonSchema),
ResponseFormatJsonObject(ResponseFormatJsonObject),
}
Expand description
An object specifying the format that the model must output.
Variants§
ResponseFormatText(ResponseFormatText)
TextResponseFormatJsonSchema(TextResponseFormatJsonSchema)
ResponseFormatJsonObject(ResponseFormatJsonObject)
Trait Implementations§
Source§impl Clone for TextResponseFormatConfiguration
impl Clone for TextResponseFormatConfiguration
Source§fn clone(&self) -> TextResponseFormatConfiguration
fn clone(&self) -> TextResponseFormatConfiguration
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 TextResponseFormatConfiguration
impl RefUnwindSafe for TextResponseFormatConfiguration
impl Send for TextResponseFormatConfiguration
impl Sync for TextResponseFormatConfiguration
impl Unpin for TextResponseFormatConfiguration
impl UnwindSafe for TextResponseFormatConfiguration
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