CodeInterpreterTool Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CodeInterpreterTool() |
Initializes a new instance of CodeInterpreterTool for deserialization. |
| CodeInterpreterTool(BinaryData) |
Initializes a new instance of CodeInterpreterTool. |
| CodeInterpreterTool(ToolType, IDictionary<String,BinaryData>, BinaryData) |
Initializes a new instance of CodeInterpreterTool. |
CodeInterpreterTool()
- Source:
- CodeInterpreterTool.cs
Initializes a new instance of CodeInterpreterTool for deserialization.
public CodeInterpreterTool();
Public Sub New ()
Applies to
CodeInterpreterTool(BinaryData)
- Source:
- CodeInterpreterTool.cs
Initializes a new instance of CodeInterpreterTool.
public CodeInterpreterTool(BinaryData container);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.CodeInterpreterTool : BinaryData -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.CodeInterpreterTool
Public Sub New (container As BinaryData)
Parameters
- container
- BinaryData
The code interpreter container. Can be a container ID or an object that specifies uploaded file IDs to make available to your code.
Exceptions
container is null.
Applies to
CodeInterpreterTool(ToolType, IDictionary<String,BinaryData>, BinaryData)
- Source:
- CodeInterpreterTool.cs
Initializes a new instance of CodeInterpreterTool.
public CodeInterpreterTool(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, BinaryData container);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.CodeInterpreterTool : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolType * System.Collections.Generic.IDictionary<string, BinaryData> * BinaryData -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.CodeInterpreterTool
Public Sub New (type As ToolType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), container As BinaryData)
Parameters
- type
- ToolType
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
- container
- BinaryData
The code interpreter container. Can be a container ID or an object that specifies uploaded file IDs to make available to your code.