• Creates a function that can be used to generate LLM completions.

    Parameters

    • provider: string

      the LLM provider to use

    • options: aiFactoryOptions

      options for the AI model

    Returns AIClient

    function that can be used to generate LLM completions

Generated using TypeDoc