Search Results for

    Show / Hide Table of Contents

    Class OpenAITranscriptionEvent

    Inheritance
    object
    OpenAITranscriptionEvent
    Implements
    IProjector<Transcript>
    IUsageProvider
    ICompletableEvent
    IEvent
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
    Syntax
    public sealed class OpenAITranscriptionEvent : IProjector<Transcript>, IUsageProvider, ICompletableEvent, IEvent

    Properties

    | Edit this page View Source

    Delta

    Required. The text delta that was additionally transcribed.

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

    Logprobs

    Optional. The log probabilities of the individual tokens in the transcription. Only included if you create a transcription with the include[] parameter set to logprobs.

    Declaration
    [JsonProperty("logprobs")]
    public LogProb[] Logprobs { get; set; }
    Property Value
    Type Description
    LogProb[]
    | Edit this page View Source

    Text

    Required. The text that was transcribed.

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

    Type

    Required. The type of the event.transcript.text.delta or transcript.text.done

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

    Usage

    Required. Usage statistics for models billed by token usage.

    Declaration
    [JsonProperty("usage")]
    public Usage Usage { get; set; }
    Property Value
    Type Description
    Usage

    Methods

    | Edit this page View Source

    GetUsage()

    Declaration
    public Usage GetUsage()
    Returns
    Type Description
    Usage
    | Edit this page View Source

    IsDone()

    Declaration
    public bool IsDone()
    Returns
    Type Description
    bool
    | Edit this page View Source

    IsValid()

    Declaration
    public bool IsValid()
    Returns
    Type Description
    bool
    | Edit this page View Source

    Project()

    Declaration
    public Transcript Project()
    Returns
    Type Description
    Transcript

    Implements

    IProjector<TOut>
    IUsageProvider
    ICompletableEvent
    IEvent

    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