Class AIAssistant
- Namespace
- Glitch9.AIDevKit.Components
public abstract class AIAssistant : AIComponent
- Inheritance
-
objectAIAssistant
- Derived
- Inherited Members
Fields
autoStart
protected bool autoStart
Field Value
- bool
functionManager
protected FunctionManager functionManager
Field Value
onInitialized
Event triggered when the assistant is initialized.
public UnityEvent onInitialized
Field Value
- UnityEvent
onReceiveToolCalls
Event triggered when tool calls are received.
This is useful for handling tool calls made by the chatbot,
such as API requests or other actions that require external processing.
public UnityEvent<ToolCall[]> onReceiveToolCalls
Field Value
- UnityEvent<ToolCall[]>
Properties
IsInitialized
Indicates whether the assistant is initialized and ready to process requests.
This property should be overridden by derived classes to provide specific initialization logic.
public virtual bool IsInitialized { get; protected set; }
Property Value
- bool
Methods
InitializeAsync()
public abstract UniTask InitializeAsync()
Returns
- UniTask
Start()
protected virtual void Start()