• Pull a prompt from the hub.

    Type Parameters

    • T extends Runnable

    Parameters

    • ownerRepoCommit: string

      The name of the repo containing the prompt, as well as an optional commit hash separated by a slash.

    • Optionaloptions: {
          apiKey?: string;
          apiUrl?: string;
          includeModel?: boolean;
      }
      • OptionalapiKey?: string
      • OptionalapiUrl?: string
      • OptionalincludeModel?: boolean

    Returns Promise<T>