pub struct AssistantModificationRequest { /* private fields */ }
Expand description
Struct representing a request for creating or modifying an assistant.
Implementations§
Source§impl AssistantModificationRequest
impl AssistantModificationRequest
Sourcepub fn description(self, description: String) -> Self
pub fn description(self, description: String) -> Self
Set the description for the assistant request.
Sourcepub fn instructions(self, instructions: String) -> Self
pub fn instructions(self, instructions: String) -> Self
Set the instructions for the assistant request.
Sourcepub fn tool_resources(self, tool_resources: Value) -> Self
pub fn tool_resources(self, tool_resources: Value) -> Self
Set the tool resources for the assistant request.
Sourcepub fn temperature(self, temperature: f64) -> Self
pub fn temperature(self, temperature: f64) -> Self
Set the temperature for the assistant request.
Sourcepub fn response_format(self, response_format: Value) -> Self
pub fn response_format(self, response_format: Value) -> Self
Set the response format for the assistant request.
Trait Implementations§
Source§impl Default for AssistantModificationRequest
impl Default for AssistantModificationRequest
Source§fn default() -> AssistantModificationRequest
fn default() -> AssistantModificationRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AssistantModificationRequest
impl RefUnwindSafe for AssistantModificationRequest
impl Send for AssistantModificationRequest
impl Sync for AssistantModificationRequest
impl Unpin for AssistantModificationRequest
impl UnwindSafe for AssistantModificationRequest
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