pub struct CodeInterpreterTool {
pub container: CodeInterpreterToolContainer,
}
Expand description
A tool that runs Python code to help generate a response to a prompt.
Fields§
§container: CodeInterpreterToolContainer
The code interpreter container. Can be a container ID or an object that specifies uploaded file IDs to make available to your code.
Implementations§
Trait Implementations§
Source§impl Clone for CodeInterpreterTool
impl Clone for CodeInterpreterTool
Source§fn clone(&self) -> CodeInterpreterTool
fn clone(&self) -> CodeInterpreterTool
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 moreSource§impl Debug for CodeInterpreterTool
impl Debug for CodeInterpreterTool
Source§impl<'de> Deserialize<'de> for CodeInterpreterTool
impl<'de> Deserialize<'de> for CodeInterpreterTool
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
Source§impl PartialEq for CodeInterpreterTool
impl PartialEq for CodeInterpreterTool
Source§impl Serialize for CodeInterpreterTool
impl Serialize for CodeInterpreterTool
impl StructuralPartialEq for CodeInterpreterTool
Auto Trait Implementations§
impl Freeze for CodeInterpreterTool
impl RefUnwindSafe for CodeInterpreterTool
impl Send for CodeInterpreterTool
impl Sync for CodeInterpreterTool
impl Unpin for CodeInterpreterTool
impl UnwindSafe for CodeInterpreterTool
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