• Pull a prompt from the hub.

    Type Parameters

    • T extends Runnable<any, any, RunnableConfig<Record<string, any>>>

    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>