Class AIAssistant
Inheritance
object
AIAssistant
Assembly: .dll
Syntax
public abstract class AIAssistant : AIComponent
Fields
autoStart
Declaration
Field Value
functionManager
Declaration
protected FunctionManager functionManager
Field Value
onInitialized
Event triggered when the assistant is initialized.
Declaration
public UnityEvent onInitialized
Field Value
Type |
Description |
UnityEvent |
|
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.
Declaration
public UnityEvent<ToolCall[]> onReceiveToolCalls
Field Value
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.
Declaration
public virtual bool IsInitialized { get; protected set; }
Property Value
Methods
InitializeAsync()
Declaration
public abstract UniTask InitializeAsync()
Returns
Start()
Declaration
protected virtual void Start()