AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class RealtimeItemContent

    The content part that is done.

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

    Properties

    Audio

    Base64-encoded audio data (if type is "audio").

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

    Text

    The text content (if type is "text").

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

    Transcript

    The transcript of the audio (if type is "audio").

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

    Type

    The content type

    Declaration
    public RealtimeItemContentType? Type { get; set; }
    Property Value
    Type Description
    RealtimeItemContentType?

    Methods

    CreateInputAudio(string, string)

    Declaration
    public static RealtimeItemContent CreateInputAudio(string audio, string transcript)
    Parameters
    Type Name Description
    string audio
    string transcript
    Returns
    Type Description
    RealtimeItemContent

    CreateInputText(string)

    Declaration
    public static RealtimeItemContent CreateInputText(string text)
    Parameters
    Type Name Description
    string text
    Returns
    Type Description
    RealtimeItemContent
    In this article
    Back to top Generated by DocFX