• A function that applies a set of variables to a template (e.g. a prompt) Uses the Mustache library to apply the variables to the template

    Parameters

    • args: { template: string; variables: Record<string, unknown> }

    Returns string