Class RemoteCatAI

Hierarchy (view full)

Constructors

Methods

Constructors

Methods

  • Prompt the model and stream the response

    Parameters

    • prompt: string
    • Optional onToken: ((token) => void)
        • (token): void
        • Parameters

          • token: string

          Returns void

    Returns Promise<null | string>