AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class PromptRecord

    Inheritance
    object
    PromptRecord
    Namespace: Glitch9.AIDevKit
    Assembly: .dll
    Syntax
    [Serializable]
    public class PromptRecord

    Constructors

    PromptRecord()

    Declaration
    public PromptRecord()

    Properties

    Api

    Declaration
    public AIProvider Api { get; }
    Property Value
    Type Description
    AIProvider

    CreatedAt

    Declaration
    public UnixTime CreatedAt { get; }
    Property Value
    Type Description
    UnixTime

    Id

    Unique identifier for this data.

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    string

    InputContents

    Declaration
    public List<ISerializedContent> InputContents { get; }
    Property Value
    Type Description
    List<ISerializedContent>

    InputText

    Declaration
    public string InputText { get; }
    Property Value
    Type Description
    string

    ModelId

    Declaration
    public string ModelId { get; }
    Property Value
    Type Description
    string

    ModelName

    Declaration
    public string ModelName { get; }
    Property Value
    Type Description
    string

    Name

    Name of this data.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string

    OutputContents

    Declaration
    public List<ISerializedContent> OutputContents { get; }
    Property Value
    Type Description
    List<ISerializedContent>

    OutputText

    Declaration
    public string OutputText { get; }
    Property Value
    Type Description
    string

    Price

    Declaration
    public Currency Price { get; set; }
    Property Value
    Type Description
    Currency

    RequestOptions

    Declaration
    public Metadata RequestOptions { get; }
    Property Value
    Type Description
    Metadata

    Sender

    Declaration
    public string Sender { get; }
    Property Value
    Type Description
    string

    TaskType

    Declaration
    public int TaskType { get; }
    Property Value
    Type Description
    int

    Usage

    Declaration
    public Usage Usage { get; set; }
    Property Value
    Type Description
    Usage

    Methods

    AddInputAudio(params UniAudioFile[])

    Declaration
    public PromptRecord AddInputAudio(params UniAudioFile[] audios)
    Parameters
    Type Name Description
    UniAudioFile[] audios
    Returns
    Type Description
    PromptRecord

    AddInputImages(params UniImageFile[])

    Declaration
    public PromptRecord AddInputImages(params UniImageFile[] images)
    Parameters
    Type Name Description
    UniImageFile[] images
    Returns
    Type Description
    PromptRecord

    Equals(PromptRecord)

    Declaration
    public bool Equals(PromptRecord other)
    Parameters
    Type Name Description
    PromptRecord other
    Returns
    Type Description
    bool

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()

    GetMetadata(string)

    Declaration
    public string GetMetadata(string key)
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    string

    Operators

    operator ==(PromptRecord, PromptRecord)

    Declaration
    public static bool operator ==(PromptRecord left, PromptRecord right)
    Parameters
    Type Name Description
    PromptRecord left
    PromptRecord right
    Returns
    Type Description
    bool

    operator !=(PromptRecord, PromptRecord)

    Declaration
    public static bool operator !=(PromptRecord left, PromptRecord right)
    Parameters
    Type Name Description
    PromptRecord left
    PromptRecord right
    Returns
    Type Description
    bool
    In this article
    Back to top Generated by DocFX