@squidcloud/client
    Preparing search index...

    Interface AiFunctionIdWithContext

    Function name with contextual data, where the data must be serializable as JSON.

    interface AiFunctionIdWithContext {
        context: Record<string, unknown>;
        name: string;
        predefinedParameters?: Record<string, unknown>;
    }
    Index

    Properties

    context: Record<string, unknown>

    A record of contextual data associated with the function call.

    name: string

    The ID of the AI function as described in

    decorator. Historically named as 'name' because AI function name is the default value for 'ID'.

    predefinedParameters?: Record<string, unknown>

    A list of predefined parameter values for the AI function. These parameters are hidden from the AI.