Class TranscriptionSegment
Segment of the transcribed text and their corresponding details.
public sealed class TranscriptionSegment
- Inheritance
-
TranscriptionSegment
- Inherited Members
Properties
AverageLogProbability
Average logprob of the segment. If the value is lower than -1, consider the logprobs failed.
[JsonInclude]
[JsonPropertyName("avg_logprob")]
public double AverageLogProbability { get; }
Property Value
CompressionRatio
Compression ratio of the segment. If the value is greater than 2.4, consider the compression failed.
[JsonInclude]
[JsonPropertyName("compression_ratio")]
public double CompressionRatio { get; }
Property Value
End
End time of the segment in seconds.
[JsonInclude]
[JsonPropertyName("end")]
public double End { get; }
Property Value
Id
Unique identifier of the segment.
[JsonInclude]
[JsonPropertyName("id")]
public int Id { get; }
Property Value
NoSpeechProbability
Probability of no speech in the segment. If the value is higher than 1.0 and the avg_logprob is below -1, consider this segment silent.
[JsonInclude]
[JsonPropertyName("no_speech_prob")]
public double NoSpeechProbability { get; }
Property Value
Seek
Seek offset of the segment.
[JsonInclude]
[JsonPropertyName("seek")]
public int Seek { get; }
Property Value
Start
Start time of the segment in seconds.
[JsonInclude]
[JsonPropertyName("start")]
public double Start { get; }
Property Value
Temperature
Temperature parameter used for generating the segment.
[JsonInclude]
[JsonPropertyName("temperature")]
public double Temperature { get; }
Property Value
Text
Text content of the segment.
[JsonInclude]
[JsonPropertyName("text")]
public string Text { get; }
Property Value
Tokens
Array of token IDs for the text content.
[JsonInclude]
[JsonPropertyName("tokens")]
public int[] Tokens { get; }
Property Value
- int[]