UNPKG

@promptbook/azure-openai

Version:

Promptbook: Run AI apps in plain human language across multiple models and platforms

15 lines (14 loc) 593 B
import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson'; /** * Creates a deep clone of a PipelineJson object, copying all properties explicitly. * * Note: It is useful for ensuring that modifications to the returned pipeline do not affect the original. * * @param pipeline The pipeline to clone. * @returns A new PipelineJson object with the same properties as the input. * @public exported from `@promptbook/utils` */ export declare function clonePipeline(pipeline: PipelineJson): PipelineJson; /** * TODO: [🍙] Make some standard order of json properties */