Search Results for

    Show / Hide Table of Contents

    Class VerboseTranscript.Segment

    Inheritance
    object
    VerboseTranscript.Segment
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public class VerboseTranscript.Segment

    Properties

    | Edit this page View Source

    AvgLogprob

    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
    | Edit this page View Source

    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
    | Edit this page View Source

    End

    End time of the segment in seconds.

    Declaration
    [JsonProperty("end")]
    public float End { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    Id

    Unique identifier of the segment.

    Declaration
    [JsonProperty("id")]
    public int Id { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    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
    | Edit this page View Source

    Seek

    Seek offset of the segment.

    Declaration
    [JsonProperty("seek")]
    public int Seek { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Start

    Start time of the segment in seconds.

    Declaration
    [JsonProperty("start")]
    public float Start { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    Temperature

    Temperature parameter used for generating the segment.

    Declaration
    [JsonProperty("temperature")]
    public float Temperature { get; set; }
    Property Value
    Type Description
    float
    | Edit this page View Source

    Text

    Text content of the segment.

    Declaration
    [JsonProperty("text")]
    public string Text { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Tokens

    Array of token IDs for the text content.

    Declaration
    [JsonProperty("tokens")]
    public int[] Tokens { get; set; }
    Property Value
    Type Description
    int[]

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation