AI DevKit
Search Results for

    Show / Hide Table of Contents

    Class AIAssistant

    Inheritance
    object
    AIComponent
    AIAssistant
    Chatbot
    RealtimeAssistant
    Inherited Members
    AIComponent.streaming
    AIComponent.onReceiveUsage
    AIComponent.onErrorOccured
    AIComponent.Api
    AIComponent.DebugMode
    AIComponent.Logger
    AIComponent.IsProcessing
    AIComponent.IsSubcomponent
    AIComponent.Awake()
    AIComponent.SetParentComponent(AIComponent)
    AIComponent.Enqueue(Func<UniTask>)
    AIComponent.CancelAllRequests()
    AIComponent.CancelLastRequest()
    AIComponent.OnReceiveUsageData(Usage)
    AIComponent.LogInfo(string)
    AIComponent.LogWarning(string)
    AIComponent.LogError(string)
    AIComponent.IsInvalidPrompt(string)
    AIComponent.IsInvalidFile(IFile)
    AIComponent.IsInvalidFiles(IList<IFile>)
    AIComponent.NoRequiredComponent(MonoBehaviour)
    AIComponent.IsInvalidPrompt<T>(T)
    AIComponent.IsInvalidPrompt(TextPrompt, List<ChatMessage>)
    Namespace: Glitch9.AIDevKit.Components
    Assembly: .dll
    Syntax
    public abstract class AIAssistant : AIComponent

    Fields

    autoStart

    Declaration
    protected bool autoStart
    Field Value
    Type Description
    bool

    functionManager

    Declaration
    protected FunctionManager functionManager
    Field Value
    Type Description
    FunctionManager

    onInitialized

    Event triggered when the assistant is initialized.

    Declaration
    public UnityEvent onInitialized
    Field Value
    Type Description
    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.

    Declaration
    public UnityEvent<ToolCall[]> onReceiveToolCalls
    Field Value
    Type Description
    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.

    Declaration
    public virtual bool IsInitialized { get; protected set; }
    Property Value
    Type Description
    bool

    Methods

    InitializeAsync()

    Declaration
    public abstract UniTask InitializeAsync()
    Returns
    Type Description
    UniTask

    Start()

    Declaration
    protected virtual void Start()
    In this article
    Back to top Generated by DocFX