CodeInterpreterToolAuto Class
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.
Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on.
public class CodeInterpreterToolAuto : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.CodeInterpreterToolAuto>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.CodeInterpreterToolAuto>
type CodeInterpreterToolAuto = class
interface IUtf8JsonSerializable
interface IJsonModel<CodeInterpreterToolAuto>
interface IPersistableModel<CodeInterpreterToolAuto>
Public Class CodeInterpreterToolAuto
Implements IJsonModel(Of CodeInterpreterToolAuto), IPersistableModel(Of CodeInterpreterToolAuto), IUtf8JsonSerializable
- Inheritance
-
CodeInterpreterToolAuto
- Implements
Constructors
| Name | Description |
|---|---|
| CodeInterpreterToolAuto() |
Initializes a new instance of CodeInterpreterToolAuto. |
| CodeInterpreterToolAuto(CodeInterpreterToolAutoType, IList<String>, IDictionary<String,BinaryData>) |
Initializes a new instance of CodeInterpreterToolAuto. |
Properties
| Name | Description |
|---|---|
| FileIds |
An optional list of uploaded files to make available to your code. |
| Type |
Always |
Methods
| Name | Description |
|---|---|
| DeserializeCodeInterpreterToolAuto(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<CodeInterpreterToolAuto>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<CodeInterpreterToolAuto>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<CodeInterpreterToolAuto>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<CodeInterpreterToolAuto>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<CodeInterpreterToolAuto>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
| IUtf8JsonSerializable.Write(Utf8JsonWriter) | |