AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class FunctionManager

    Manages and invokes serialized functions with metadata for AI function calling.

    Inheritance
    object
    FunctionManager
    Implements
    IFunctionManager
    Namespace: Glitch9.AIDevKit.Components
    Assembly: .dll
    Syntax
    public class FunctionManager : MonoBehaviour, IFunctionManager

    Properties

    IsEmpty

    List of functions registered in this manager.

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    bool

    Methods

    ExecuteFunction(string, string)

    Invokes a function by name with JSON-serialized arguments.

    Declaration
    public JToken ExecuteFunction(string methodName, string jsonArguments)
    Parameters
    Type Name Description
    string methodName
    string jsonArguments
    Returns
    Type Description
    JToken

    GetFunctionDeclarations()

    Retrieves function declarations for AI function calling.

    Declaration
    public FunctionDeclaration[] GetFunctionDeclarations()
    Returns
    Type Description
    FunctionDeclaration[]

    HasFunction(string)

    Declaration
    public bool HasFunction(string methodName)
    Parameters
    Type Name Description
    string methodName
    Returns
    Type Description
    bool

    Implements

    IFunctionManager
    In this article
    Back to top Generated by DocFX