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.

public abstract class AIClientSettings<TSelf> : ScriptableResource<TSelf> where TSelf : AIClientSettings<TSelf>

Type Parameters

TSelf
Inheritance
object
ScriptableResource<TSelf>
AIClientSettings<TSelf>
Derived

Fields

apiKey

protected ApiKey apiKey

Field Value

ApiKey

encryptApiKey

protected bool encryptApiKey

Field Value

bool

encryptedApiKey

protected string encryptedApiKey

Field Value

string

oldApiKey

protected string oldApiKey

Field Value

string

Methods

GetApiKey()

Retrieves the API key.

public string GetApiKey()

Returns

string

HasApiKey()

Checks if the API key is set.

public virtual bool HasApiKey()

Returns

bool