AI DevKit
Search Results for

    Show / Hide Table of Contents

    Class PromptRecord

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

    Constructors

    PromptRecord()

    Declaration
    public PromptRecord()

    Properties

    Api

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

    CostInUsd

    Declaration
    public double CostInUsd { get; }
    Property Value
    Type Description
    double

    CreatedAt

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

    FormattedPromptText

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

    Id

    Unique identifier for this data.

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

    InputFiles

    Declaration
    public List<IFile> InputFiles { get; }
    Property Value
    Type Description
    List<IFile>

    IsArchived

    Declaration
    public bool IsArchived { get; }
    Property Value
    Type Description
    bool

    ModelId

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

    ModelName

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

    N

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

    Name

    Name of this data.

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

    OutputFiles

    Declaration
    public List<IFile> OutputFiles { get; }
    Property Value
    Type Description
    List<IFile>

    OutputMimeType

    Declaration
    public MIMEType OutputMimeType { get; }
    Property Value
    Type Description
    MIMEType

    OutputText

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

    OutputTexts

    Declaration
    public List<string> OutputTexts { get; }
    Property Value
    Type Description
    List<string>

    PromptText

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

    RequestOptions

    Declaration
    public Dictionary<string, string> RequestOptions { get; }
    Property Value
    Type Description
    Dictionary<string, string>

    RequestType

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

    Sender

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

    Usage

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

    Methods

    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