ItemContentInputFile 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 file input to the model.
public class ItemContentInputFile : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputFile>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputFile>
type ItemContentInputFile = class
inherit ItemContent
interface IUtf8JsonSerializable
interface IJsonModel<ItemContentInputFile>
interface IPersistableModel<ItemContentInputFile>
Public Class ItemContentInputFile
Inherits ItemContent
Implements IJsonModel(Of ItemContentInputFile), IPersistableModel(Of ItemContentInputFile)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ItemContentInputFile() |
Initializes a new instance of ItemContentInputFile. |
| ItemContentInputFile(ItemContentType, IDictionary<String,BinaryData>, String, String, String) |
Initializes a new instance of ItemContentInputFile. |
Properties
| Name | Description |
|---|---|
| FileData |
The content of the file to be sent to the model. |
| FileId |
The ID of the file to be sent to the model. |
| Filename |
The name of the file to be sent to the model. |
| Type |
Gets or sets the type. (Inherited from ItemContent) |
Methods
| Name | Description |
|---|---|
| DeserializeItemContentInputFile(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |