ItemContentInputAudio 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 |
|---|---|
| ItemContentInputAudio() |
Initializes a new instance of ItemContentInputAudio for deserialization. |
| ItemContentInputAudio(String, ItemContentInputAudioFormat) |
Initializes a new instance of ItemContentInputAudio. |
| ItemContentInputAudio(ItemContentType, IDictionary<String,BinaryData>, String, ItemContentInputAudioFormat) |
Initializes a new instance of ItemContentInputAudio. |
ItemContentInputAudio()
- Source:
- ItemContentInputAudio.cs
Initializes a new instance of ItemContentInputAudio for deserialization.
public ItemContentInputAudio();
Public Sub New ()
Applies to
ItemContentInputAudio(String, ItemContentInputAudioFormat)
- Source:
- ItemContentInputAudio.cs
Initializes a new instance of ItemContentInputAudio.
public ItemContentInputAudio(string data, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputAudioFormat format);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputAudio : string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputAudioFormat -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputAudio
Public Sub New (data As String, format As ItemContentInputAudioFormat)
Parameters
- data
- String
Base64-encoded audio data.
- format
- ItemContentInputAudioFormat
The format of the audio data. Currently supported formats are mp3 and
wav.
Exceptions
data is null.
Applies to
ItemContentInputAudio(ItemContentType, IDictionary<String,BinaryData>, String, ItemContentInputAudioFormat)
- Source:
- ItemContentInputAudio.cs
Initializes a new instance of ItemContentInputAudio.
public ItemContentInputAudio(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string data, Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputAudioFormat format);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputAudio : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentType * System.Collections.Generic.IDictionary<string, BinaryData> * string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputAudioFormat -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputAudio
Public Sub New (type As ItemContentType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), data As String, format As ItemContentInputAudioFormat)
Parameters
- type
- ItemContentType
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
- data
- String
Base64-encoded audio data.
- format
- ItemContentInputAudioFormat
The format of the audio data. Currently supported formats are mp3 and
wav.