CodeInterpreterToolResource 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.
A set of resources that are used by the code_interpreter
tool.
public class CodeInterpreterToolResource : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.CodeInterpreterToolResource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.CodeInterpreterToolResource>
type CodeInterpreterToolResource = class
interface IJsonModel<CodeInterpreterToolResource>
interface IPersistableModel<CodeInterpreterToolResource>
Public Class CodeInterpreterToolResource
Implements IJsonModel(Of CodeInterpreterToolResource), IPersistableModel(Of CodeInterpreterToolResource)
- Inheritance
-
CodeInterpreterToolResource
- Implements
Constructors
CodeInterpreterToolResource() |
Initializes a new instance of CodeInterpreterToolResource. |
Properties
DataSources |
The data sources to be used. This option is mutually exclusive with the |
FileIds |
A list of file IDs made available to the |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<CodeInterpreterToolResource>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CodeInterpreterToolResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CodeInterpreterToolResource>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CodeInterpreterToolResource>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CodeInterpreterToolResource>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |