UNPKG

@promptbook/gemini

Version:

It's time for a paradigm shift. The future of software in plain English, French or Latin

30 lines (29 loc) 974 B
import type { string_url } from '../../types/typeAliases'; import type { PipelineCollection } from '../PipelineCollection'; /** * Options for `createCollectionFromDirectory` function */ type CreatePipelineCollectionFromUrlyOptions = { /** * If true, the collection creation outputs information about each file it reads * * @default false */ readonly isVerbose?: boolean; /** * If true, directory will be scanned only when needed not during the construction * * @default false */ readonly isLazyLoaded?: boolean; }; /** * Constructs Promptbook from remote Promptbase URL * @returns PipelineCollection * @public exported from `@promptbook/core` */ export declare function createCollectionFromUrl(url: string_url | URL, options: CreatePipelineCollectionFromUrlyOptions): Promise<PipelineCollection>; export {}; /** * TODO: [main] !!!! [🧠] Library precompilation and do not mix markdown and json promptbooks */