AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class AIClientSettings<TSelf>

    Base class for AI client settings. This class is used to store API keys and other settings related to AI clients.

    Inheritance
    object
    ScriptableResource<TSelf>
    AIClientSettings<TSelf>
    ElevenLabsSettings
    GenerativeAISettings
    MubertSettings
    OpenAISettings
    OpenRouterSettings
    Namespace: Glitch9.AIDevKit.Client
    Assembly: .dll
    Syntax
    public abstract class AIClientSettings<TSelf> : ScriptableResource<TSelf> where TSelf : AIClientSettings<TSelf>
    Type Parameters
    Name Description
    TSelf

    Fields

    apiKey

    Declaration
    protected ApiKey apiKey
    Field Value
    Type Description
    ApiKey

    encryptApiKey

    Declaration
    protected bool encryptApiKey
    Field Value
    Type Description
    bool

    encryptedApiKey

    Declaration
    protected string encryptedApiKey
    Field Value
    Type Description
    string

    oldApiKey

    Declaration
    protected string oldApiKey
    Field Value
    Type Description
    string

    Methods

    GetApiKey()

    Retrieves the API key.

    Declaration
    public string GetApiKey()
    Returns
    Type Description
    string

    HasApiKey()

    Checks if the API key is set.

    Declaration
    public virtual bool HasApiKey()
    Returns
    Type Description
    bool
    In this article
    Back to top Generated by DocFX