Class VerboseTranscript.Segment
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public class VerboseTranscript.Segment
Properties
| Edit this page View SourceAvgLogprob
Average logprob of the segment. If the value is lower than -1, consider the logprobs failed.
Declaration
[JsonProperty("avg_logprob")]
public float AvgLogprob { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
CompressionRatio
Compression ratio of the segment. If the value is greater than 2.4, consider the compression failed.
Declaration
[JsonProperty("compression_ratio")]
public float CompressionRatio { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
End
End time of the segment in seconds.
Declaration
[JsonProperty("end")]
public float End { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Id
Unique identifier of the segment.
Declaration
[JsonProperty("id")]
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
NoSpeechProb
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.
Declaration
[JsonProperty("no_speech_prob")]
public float NoSpeechProb { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Seek
Seek offset of the segment.
Declaration
[JsonProperty("seek")]
public int Seek { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Start
Start time of the segment in seconds.
Declaration
[JsonProperty("start")]
public float Start { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Temperature
Temperature parameter used for generating the segment.
Declaration
[JsonProperty("temperature")]
public float Temperature { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Text
Text content of the segment.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Tokens
Array of token IDs for the text content.
Declaration
[JsonProperty("tokens")]
public int[] Tokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |