Share via


ItemContentOutputAudio Constructors

Definition

Overloads

ItemContentOutputAudio()

Source:
ItemContentOutputAudio.cs

Initializes a new instance of ItemContentOutputAudio for deserialization.

public ItemContentOutputAudio();
Public Sub New ()

Applies to

ItemContentOutputAudio(String, String)

Source:
ItemContentOutputAudio.cs

Initializes a new instance of ItemContentOutputAudio.

public ItemContentOutputAudio(string data, string transcript);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentOutputAudio : string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentOutputAudio
Public Sub New (data As String, transcript As String)

Parameters

data
String

Base64-encoded audio data from the model.

transcript
String

The transcript of the audio data from the model.

Exceptions

data or transcript is null.

Applies to

ItemContentOutputAudio(ItemContentType, IDictionary<String,BinaryData>, String, String)

Source:
ItemContentOutputAudio.cs

Initializes a new instance of ItemContentOutputAudio.

public ItemContentOutputAudio(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string data, string transcript);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentOutputAudio : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentType * System.Collections.Generic.IDictionary<string, BinaryData> * string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentOutputAudio
Public Sub New (type As ItemContentType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), data As String, transcript As String)

Parameters

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

data
String

Base64-encoded audio data from the model.

transcript
String

The transcript of the audio data from the model.

Applies to