Share via


SpeechToTextResponse Class

Definition

Represents the result of an speech to text request.

public ref class SpeechToTextResponse
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
public class SpeechToTextResponse
public class SpeechToTextResponse
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
type SpeechToTextResponse = class
type SpeechToTextResponse = class
Public Class SpeechToTextResponse
Inheritance
SpeechToTextResponse
Attributes

Constructors

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.

Properties

AdditionalProperties

Gets or sets any additional properties associated with the speech to text completion.

Contents

Gets or sets the generated content items.

EndTime

Gets or sets the end time of the text segment in relation to the full audio speech length.

ModelId

Gets or sets the model ID used in the creation of the speech to text completion.

RawRepresentation

Gets or sets the raw representation of the speech to text completion from an underlying implementation.

ResponseId

Gets or sets the ID of the speech to text response.

StartTime

Gets or sets the start time of the text segment in relation to the full audio speech length.

Text

Gets the text of this speech to text response.

Methods

ToSpeechToTextResponseUpdates()

Creates an array of SpeechToTextResponseUpdate instances that represent this SpeechToTextResponse.

ToString()

Returns a string that represents the current object.

Applies to