SpeechToTextResponse 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 |
|---|---|
| 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
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.