Class AIDevKitAsset
Inheritance
object
AIDevKitAsset
Assembly: .dll
Syntax
public abstract class AIDevKitAsset : ScriptableObject
Fields
api
Declaration
Field Value
custom
Declaration
Field Value
deprecated
Declaration
protected bool deprecated
Field Value
displayName
Declaration
protected string displayName
Field Value
id
Declaration
Field Value
locked
Declaration
Field Value
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
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
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
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
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
Methods
Equals(AIDevKitAsset)
Declaration
public bool Equals(AIDevKitAsset other)
Parameters
Returns
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
ToString()
Declaration
public override string ToString()
Returns
Operators
operator ==(AIDevKitAsset, AIDevKitAsset)
Declaration
public static bool operator ==(AIDevKitAsset a, AIDevKitAsset b)
Parameters
Returns
implicit operator string(AIDevKitAsset)
Declaration
public static implicit operator string(AIDevKitAsset asset)
Parameters
Returns
operator !=(AIDevKitAsset, AIDevKitAsset)
Declaration
public static bool operator !=(AIDevKitAsset a, AIDevKitAsset b)
Parameters
Returns