AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class SegmentObject

    Inheritance
    object
    SegmentObject
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: .dll
    Syntax
    public class SegmentObject

    Properties

    AvgLogprob

    Average logprob of the segment. If the value is lower than -1, consider the logprobs failed.

    Declaration
    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
    public float CompressionRatio { get; set; }
    Property Value
    Type Description
    float

    End

    End time of the segment in seconds.

    Declaration
    public float End { get; set; }
    Property Value
    Type Description
    float

    Id

    Unique identifier of the segment.

    Declaration
    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
    public float NoSpeechProb { get; set; }
    Property Value
    Type Description
    float

    Seek

    Seek offset of the segment.

    Declaration
    public int Seek { get; set; }
    Property Value
    Type Description
    int

    Start

    Start time of the segment in seconds.

    Declaration
    public float Start { get; set; }
    Property Value
    Type Description
    float

    Temperature

    Temperature parameter used for generating the segment.

    Declaration
    public float Temperature { get; set; }
    Property Value
    Type Description
    float

    Text

    Text content of the segment.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    string

    Tokens

    Array of token IDs for the text content.

    Declaration
    public int[] Tokens { get; set; }
    Property Value
    Type Description
    int[]
    In this article
    Back to top Generated by DocFX