Search Results for

    Show / Hide Table of Contents

    Class MistralTranscriptionEvent

    Inheritance
    object
    MistralTranscriptionEvent
    Implements
    ICompletableEvent
    IEvent
    IUsageProvider
    IProjector<Transcript>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Mistral
    Assembly: Glitch9.AIDevKit.Provider.Mistral.dll
    Syntax
    [JsonConverter(typeof(MistralTranscriptionEventConverter))]
    public sealed class MistralTranscriptionEvent : ICompletableEvent, IEvent, IUsageProvider, IProjector<Transcript>

    Constructors

    | Edit this page View Source

    MistralTranscriptionEvent(string, object)

    Declaration
    public MistralTranscriptionEvent(string type, object data)
    Parameters
    Type Name Description
    string type
    object data

    Fields

    | Edit this page View Source

    Done

    Declaration
    public const string Done = "transcription.done"
    Field Value
    Type Description
    string
    | Edit this page View Source

    Language

    Declaration
    public const string Language = "transcription.language"
    Field Value
    Type Description
    string
    | Edit this page View Source

    Segment

    Declaration
    public const string Segment = "transcription.segment"
    Field Value
    Type Description
    string
    | Edit this page View Source

    TextDelta

    Declaration
    public const string TextDelta = "transcription.text.delta"
    Field Value
    Type Description
    string

    Properties

    | Edit this page View Source

    Data

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

    Type

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

    Methods

    | Edit this page View Source

    GetData()

    Declaration
    public string GetData()
    Returns
    Type Description
    string
    | 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

    ICompletableEvent
    IEvent
    IUsageProvider
    IProjector<TOut>

    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