langchain.js
    Preparing search index...

    Function push

    • Push a prompt to the hub. If the specified repo doesn't already exist, it will be created.

      Parameters

      • repoFullName: string

        The full name of the repo.

      • runnable: Runnable

        The prompt to push.

      • Optionaloptions: {
            apiKey?: string;
            apiUrl?: string;
            description?: string;
            isPublic?: boolean;
            parentCommitHash?: string;
            readme?: string;
            tags?: string[];
        }

      Returns Promise<string>

      The URL of the newly pushed prompt in the hub.