Search Results for

    Show / Hide Table of Contents

    Class ChatCompletionAudioData

    OpenAI style Generated Audio Data used by OpenAI.

    Inheritance
    object
    ChatCompletionAudioData
    Implements
    IBase64Source
    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.dll
    Syntax
    public sealed class ChatCompletionAudioData : IBase64Source

    Properties

    | Edit this page View Source

    Data

    Base64 encoded audio bytes generated by the model, in the format specified in the request.

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

    ExpiresAt

    The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.

    Declaration
    [JsonProperty("expires_at")]
    public UnixTime? ExpiresAt { get; set; }
    Property Value
    Type Description
    UnixTime?
    | Edit this page View Source

    Id

    Unique identifier for this audio response.

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

    Transcript

    Transcript of the audio generated by the model.

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

    Methods

    | Edit this page View Source

    GetBase64String()

    Declaration
    public string GetBase64String()
    Returns
    Type Description
    string

    Implements

    IBase64Source

    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