CodeInterpreterTool interface
A tool that runs Python code to help generate a response to a prompt.
- Extends
Properties
| container | The code interpreter container. Can be a container ID or an object that
specifies uploaded file IDs to make available to your code, along with an
optional |
| type | The type of the code interpreter tool. Always |
Property Details
container
The code interpreter container. Can be a container ID or an object that
specifies uploaded file IDs to make available to your code, along with an
optional memory_limit setting.
If not provided, the service assumes auto.
container?: string | AutoCodeInterpreterToolParam
Property Value
string | AutoCodeInterpreterToolParam
type
The type of the code interpreter tool. Always code_interpreter.
type: "code_interpreter"
Property Value
"code_interpreter"