pub struct ExtraBody {
pub enable_thinking: Option<bool>,
pub thinking_budget: Option<u32>,
pub top_k: Option<u32>,
}
Fields§
§enable_thinking: Option<bool>
Make sense only for Qwen API.
thinking_budget: Option<u32>
Make sense only for Qwen API.
top_k: Option<u32>
The size of the candidate set for sampling during generation.
Make sense only for Qwen API.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExtraBody
impl<'de> Deserialize<'de> for ExtraBody
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 ExtraBody
impl RefUnwindSafe for ExtraBody
impl Send for ExtraBody
impl Sync for ExtraBody
impl Unpin for ExtraBody
impl UnwindSafe for ExtraBody
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