Share via


SpeechToTextResponse Constructors

Definition

Overloads

Name Description
SpeechToTextResponse()

Initializes a new instance of the SpeechToTextResponse class.

SpeechToTextResponse(IList<AIContent>)

Initializes a new instance of the SpeechToTextResponse class.

SpeechToTextResponse(String)

Initializes a new instance of the SpeechToTextResponse class.

SpeechToTextResponse()

Source:
SpeechToTextResponse.cs

Initializes a new instance of the SpeechToTextResponse class.

public:
 SpeechToTextResponse();
[System.Text.Json.Serialization.JsonConstructor]
public SpeechToTextResponse();
Public Sub New ()
Attributes

Applies to

SpeechToTextResponse(IList<AIContent>)

Source:
SpeechToTextResponse.cs

Initializes a new instance of the SpeechToTextResponse class.

public:
 SpeechToTextResponse(System::Collections::Generic::IList<Microsoft::Extensions::AI::AIContent ^> ^ contents);
public SpeechToTextResponse(System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent> contents);
new Microsoft.Extensions.AI.SpeechToTextResponse : System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent> -> Microsoft.Extensions.AI.SpeechToTextResponse
Public Sub New (contents As IList(Of AIContent))

Parameters

contents
IList<AIContent>

The contents for this response.

Applies to

SpeechToTextResponse(String)

Source:
SpeechToTextResponse.cs

Initializes a new instance of the SpeechToTextResponse class.

public:
 SpeechToTextResponse(System::String ^ content);
public SpeechToTextResponse(string? content);
new Microsoft.Extensions.AI.SpeechToTextResponse : string -> Microsoft.Extensions.AI.SpeechToTextResponse
Public Sub New (content As String)

Parameters

content
String

Content of the response.

Applies to