AzureOpenAIModelFactory.AudioTranscriptionSegment Method
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.
Initializes a new instance of AudioTranscriptionSegment.
public static Azure.AI.OpenAI.AudioTranscriptionSegment AudioTranscriptionSegment (int id = 0, TimeSpan start = default, TimeSpan end = default, string text = default, float temperature = 0, float averageLogProbability = 0, float compressionRatio = 0, float noSpeechProbability = 0, System.Collections.Generic.IEnumerable<int> tokens = default, int seek = 0);
static member AudioTranscriptionSegment : int * TimeSpan * TimeSpan * string * single * single * single * single * seq<int> * int -> Azure.AI.OpenAI.AudioTranscriptionSegment
Public Shared Function AudioTranscriptionSegment (Optional id As Integer = 0, Optional start As TimeSpan = Nothing, Optional end As TimeSpan = Nothing, Optional text As String = Nothing, Optional temperature As Single = 0, Optional averageLogProbability As Single = 0, Optional compressionRatio As Single = 0, Optional noSpeechProbability As Single = 0, Optional tokens As IEnumerable(Of Integer) = Nothing, Optional seek As Integer = 0) As AudioTranscriptionSegment
Parameters
- id
- Int32
The 0-based index of this segment within a transcription.
- start
- TimeSpan
The time at which this segment started relative to the beginning of the transcribed audio.
- end
- TimeSpan
The time at which this segment ended relative to the beginning of the transcribed audio.
- text
- String
The transcribed text that was part of this audio segment.
- temperature
- Single
The temperature score associated with this audio segment.
- averageLogProbability
- Single
The average log probability associated with this audio segment.
- compressionRatio
- Single
The compression ratio of this audio segment.
- noSpeechProbability
- Single
The probability of no speech detection within this audio segment.
- tokens
- IEnumerable<Int32>
The token IDs matching the transcribed text in this audio segment.
- seek
- Int32
The seek position associated with the processing of this audio segment. Seek positions are expressed as hundredths of seconds. The model may process several segments from a single seek position, so while the seek position will never represent a later time than the segment's start, the segment's start may represent a significantly later time than the segment's associated seek position.
Returns
A new AudioTranscriptionSegment instance for mocking.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for