pub struct ResponseConfig {
pub modalities: Vec<String>,
pub instructions: Option<String>,
pub voice: Option<String>,
pub output_audio_format: Option<String>,
pub tools: Vec<Value>,
pub tool_choice: String,
pub temperature: Option<f32>,
pub max_output_tokens: Option<u32>,
}Fields§
§modalities: Vec<String>§instructions: Option<String>§voice: Option<String>§output_audio_format: Option<String>§tools: Vec<Value>§tool_choice: String§temperature: Option<f32>§max_output_tokens: Option<u32>Trait Implementations§
Source§impl Debug for ResponseConfig
impl Debug for ResponseConfig
Source§impl<'de> Deserialize<'de> for ResponseConfig
impl<'de> Deserialize<'de> for ResponseConfig
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 ResponseConfig
impl RefUnwindSafe for ResponseConfig
impl Send for ResponseConfig
impl Sync for ResponseConfig
impl Unpin for ResponseConfig
impl UnwindSafe for ResponseConfig
Blanket Implementations§
§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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