langchain
Version:
Typescript bindings for langchain
25 lines (23 loc) • 750 B
text/typescript
import { BaseLanguageModel } from "@langchain/core/language_models/base";
import { Runnable } from "@langchain/core/runnables";
//#region src/hub/base.d.ts
/**
* Push a prompt to the hub.
* If the specified repo doesn't already exist, it will be created.
* @param repoFullName The full name of the repo.
* @param runnable The prompt to push.
* @param options
* @returns The URL of the newly pushed prompt in the hub.
*/
declare function basePush(repoFullName: string, runnable: Runnable, options?: {
apiKey?: string;
apiUrl?: string;
parentCommitHash?: string;
isPublic?: boolean;
description?: string;
readme?: string;
tags?: string[];
}): Promise<string>;
//#endregion
export { basePush };
//# sourceMappingURL=base.d.cts.map