UNPKG

@promptbook/remote-client

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

14 lines (13 loc) 647 B
import type { string_pipeline_url } from '../../../types/typeAliases'; import type { PipelineCollection } from '../PipelineCollection'; /** * Creates `PipelineCollection` as a subset of another `PipelineCollection` * * Note: You can use any type of collection as a parent collection - local, remote, etc. * Note: This is just a thin wrapper / proxy around the parent collection * * @param promptbookSources * @returns PipelineCollection * @public exported from `@promptbook/core` */ export declare function createPipelineSubcollection(collection: PipelineCollection, predicate: (url: string_pipeline_url) => boolean): PipelineCollection;