AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class AIDevKitAsset

    Inheritance
    object
    AIDevKitAsset
    Model
    Voice
    Namespace: Glitch9.AIDevKit
    Assembly: .dll
    Syntax
    public abstract class AIDevKitAsset : ScriptableObject

    Fields

    api

    Declaration
    protected AIProvider api
    Field Value
    Type Description
    AIProvider

    custom

    Declaration
    protected bool custom
    Field Value
    Type Description
    bool

    deprecated

    Declaration
    protected bool deprecated
    Field Value
    Type Description
    bool

    displayName

    Declaration
    protected string displayName
    Field Value
    Type Description
    string

    id

    Declaration
    protected string id
    Field Value
    Type Description
    string

    locked

    Declaration
    protected bool locked
    Field Value
    Type Description
    bool

    Properties

    Api

    The API service this asset uses (e.g., OpenAI, Google). This information is used to route requests to the correct AIClient.

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

    Id

    The unique identifier of the asset If it's a model: "gpt-3.5-turbo", "gemini-pro-vision" If it's a voice: "alloy"(OpenAI), "21m00Tcm4TlvDq8ikWAM"(ElevenLabs)

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

    IsCustom

    Indicates whether the asset is user-customized or not. If it's a model, it means the model is a fine-tuned version of a base model. If it's a voice, it means the voice is a custom voice created by the user.

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

    IsDeprecated

    Indicates whether the asset is deprecated and should not be used in production. CRUDService will throw an exception if a deprecated asset is used.

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

    Name

    The name of the asset If it's a model: "gpt-3.5-turbo", "gemini-pro-vision" If it's a voice: "alloy"(OpenAI), "rachel"(ElevenLabs) This is a human-readable name for the model that can be displayed in the UI or logs.

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

    Methods

    Equals(AIDevKitAsset)

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

    Equals(object)

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    Operators

    operator ==(AIDevKitAsset, AIDevKitAsset)

    Declaration
    public static bool operator ==(AIDevKitAsset a, AIDevKitAsset b)
    Parameters
    Type Name Description
    AIDevKitAsset a
    AIDevKitAsset b
    Returns
    Type Description
    bool

    implicit operator string(AIDevKitAsset)

    Declaration
    public static implicit operator string(AIDevKitAsset asset)
    Parameters
    Type Name Description
    AIDevKitAsset asset
    Returns
    Type Description
    string

    operator !=(AIDevKitAsset, AIDevKitAsset)

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