@promptbook/remote-client
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
15 lines (14 loc) • 708 B
TypeScript
import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson';
import type { RemoteClientOptions } from '../remote-server/types/RemoteClientOptions';
/**
* Prepare pipeline on remote server
*
* Note: This function does not validate logic of the pipeline
* Note: This function acts as part of compilation process
* Note: When the pipeline is already prepared, it returns the same pipeline
*
* @see https://github.com/webgptorg/promptbook/discussions/196
*
* @public exported from `@promptbook/remote-client`
*/
export declare function preparePipelineOnRemoteServer<TCustomOptions = undefined>(pipeline: PipelineJson, options: RemoteClientOptions<TCustomOptions>): Promise<PipelineJson>;