pub struct AssistantUpdateParams {
pub description: Option<String>,
pub instructions: Option<String>,
pub metadata: Option<Value>,
pub model: Option<String>,
pub name: Option<String>,
pub reasoning_effort: Option<Value>,
pub response_format: Option<Value>,
pub temperature: Option<f64>,
pub tool_resources: Option<ToolResources>,
pub tools: Option<Vec<Value>>,
pub top_p: Option<f64>,
}Fields§
§description: Option<String>The description of the assistant. The maximum length is 512 characters.
instructions: Option<String>The system instructions that the assistant uses.
metadata: Option<Value>Set of 16 key-value pairs that can be attached to an object.
model: Option<String>ID of the model to use.
name: Option<String>The name of the assistant. The maximum length is 256 characters.
reasoning_effort: Option<Value>Constrains effort on reasoning for
response_format: Option<Value>Specifies the format that the model must output.
temperature: Option<f64>What sampling temperature to use, between 0 and 2.
tool_resources: Option<ToolResources>A set of resources that are used by the assistant’s tools.
tools: Option<Vec<Value>>A list of tool enabled on the assistant.
top_p: Option<f64>An alternative to sampling with temperature, called nucleus sampling, where the
Trait Implementations§
Source§impl Clone for AssistantUpdateParams
impl Clone for AssistantUpdateParams
Source§fn clone(&self) -> AssistantUpdateParams
fn clone(&self) -> AssistantUpdateParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssistantUpdateParams
impl Debug for AssistantUpdateParams
Source§impl<'de> Deserialize<'de> for AssistantUpdateParams
impl<'de> Deserialize<'de> for AssistantUpdateParams
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 AssistantUpdateParams
impl RefUnwindSafe for AssistantUpdateParams
impl Send for AssistantUpdateParams
impl Sync for AssistantUpdateParams
impl Unpin for AssistantUpdateParams
impl UnsafeUnpin for AssistantUpdateParams
impl UnwindSafe for AssistantUpdateParams
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