Share via


ItemContentInputAudio Constructors

Definition

Overloads

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

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.

Applies to