ItemContentInputAudio 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.
An audio input to the model.
public class ItemContentInputAudio : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputAudio>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputAudio>
type ItemContentInputAudio = class
inherit ItemContent
interface IUtf8JsonSerializable
interface IJsonModel<ItemContentInputAudio>
interface IPersistableModel<ItemContentInputAudio>
Public Class ItemContentInputAudio
Inherits ItemContent
Implements IJsonModel(Of ItemContentInputAudio), IPersistableModel(Of ItemContentInputAudio)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ItemContentInputAudio() |
Initializes a new instance of ItemContentInputAudio for deserialization. |
| ItemContentInputAudio(ItemContentType, IDictionary<String,BinaryData>, String, ItemContentInputAudioFormat) |
Initializes a new instance of ItemContentInputAudio. |
| ItemContentInputAudio(String, ItemContentInputAudioFormat) |
Initializes a new instance of ItemContentInputAudio. |
Properties
| Name | Description |
|---|---|
| Data |
Base64-encoded audio data. |
| Format |
The format of the audio data. Currently supported formats are |
| Type |
Gets or sets the type. (Inherited from ItemContent) |
Methods
| Name | Description |
|---|---|
| DeserializeItemContentInputAudio(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |