@promptbook/fake-llm
Advanced tools
Comparing version 0.61.0-17 to 0.61.0-18
@@ -1091,3 +1091,3 @@ import { spaceTrim } from 'spacetrim'; | ||
*/ | ||
var PROMPTBOOK_VERSION = '0.61.0-16'; | ||
var PROMPTBOOK_VERSION = '0.61.0-17'; | ||
// TODO: !!!! List here all the versions and annotate + put into script | ||
@@ -1094,0 +1094,0 @@ |
@@ -9,3 +9,3 @@ import type { PipelineStringToJsonOptions } from '../../conversion/pipelineStringToJson'; | ||
/** | ||
* If true, the directory is searched recursively for promptbooks | ||
* If true, the directory is searched recursively for pipelines | ||
* | ||
@@ -28,4 +28,4 @@ * @default true | ||
/** | ||
* If true, whole collection creation crashes on error in any promptbook | ||
* If true and isLazyLoaded is true, the error is thrown on first access to the promptbook | ||
* If true, whole collection creation crashes on error in any pipeline | ||
* If true and isLazyLoaded is true, the error is thrown on first access to the pipeline | ||
* | ||
@@ -37,7 +37,7 @@ * @default true | ||
/** | ||
* Constructs Promptbook from given directory | ||
* Constructs Pipeline from given directory | ||
* | ||
* Note: Works only in Node.js environment because it reads the file system | ||
* | ||
* @param path - path to the directory with promptbooks | ||
* @param path - path to the directory with pipelines | ||
* @param options - Misc options for the collection | ||
@@ -49,4 +49,4 @@ * @returns PipelineCollection | ||
/** | ||
* TODO: !!!! [๐ง ] Library precompilation and do not mix markdown and json promptbooks | ||
* Note: [๐ข] This code should never be published outside of `@promptbook/node` | ||
* TODO: !!!! [๐ง ] Library precompilation and do not mix markdown and json pipelines | ||
* Note: [๐ข] This code should never be published outside of `@pipeline/node` | ||
*/ |
@@ -6,7 +6,7 @@ import type { PipelineJson } from '../types/PipelineJson/PipelineJson'; | ||
/** | ||
* Library of promptbooks that groups together promptbooks for an application. | ||
* This implementation is a very thin wrapper around the Array / Map of promptbooks. | ||
* Library of pipelines that groups together pipelines for an application. | ||
* This implementation is a very thin wrapper around the Array / Map of pipelines. | ||
* | ||
* @private use `createCollectionFromJson` instead | ||
* @see https://github.com/webgptorg/promptbook#promptbook-collection | ||
* @see https://github.com/webgptorg/pipeline#pipeline-collection | ||
*/ | ||
@@ -16,17 +16,17 @@ export declare class SimplePipelineCollection implements PipelineCollection { | ||
/** | ||
* Constructs a pipeline collection from promptbooks | ||
* Constructs a pipeline collection from pipelines | ||
* | ||
* @param promptbooks @@@ | ||
* @param pipelines @@@ | ||
* | ||
* @private Use instead `createCollectionFromJson` | ||
* Note: During the construction logic of all promptbooks are validated | ||
* Note: During the construction logic of all pipelines are validated | ||
* Note: It is not recommended to use this constructor directly, use `createCollectionFromJson` *(or other variant)* instead | ||
*/ | ||
constructor(...promptbooks: Array<PipelineJson>); | ||
constructor(...pipelines: Array<PipelineJson>); | ||
/** | ||
* Gets all promptbooks in the collection | ||
* Gets all pipelines in the collection | ||
*/ | ||
listPipelines(): Array<string_pipeline_url>; | ||
/** | ||
* Gets promptbook by its URL | ||
* Gets pipeline by its URL | ||
* | ||
@@ -37,5 +37,5 @@ * Note: This is not a direct fetching from the URL, but a lookup in the collection | ||
/** | ||
* Checks whether given prompt was defined in any promptbook in the collection | ||
* Checks whether given prompt was defined in any pipeline in the collection | ||
*/ | ||
isResponsibleForPrompt(prompt: Prompt): boolean; | ||
} |
{ | ||
"name": "@promptbook/fake-llm", | ||
"version": "0.61.0-17", | ||
"version": "0.61.0-18", | ||
"description": "Supercharge your use of large language models", | ||
@@ -51,3 +51,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.61.0-17" | ||
"@promptbook/core": "0.61.0-18" | ||
}, | ||
@@ -54,0 +54,0 @@ "main": "./umd/index.umd.js", |
@@ -1094,3 +1094,3 @@ (function (global, factory) { | ||
*/ | ||
var PROMPTBOOK_VERSION = '0.61.0-16'; | ||
var PROMPTBOOK_VERSION = '0.61.0-17'; | ||
// TODO: !!!! List here all the versions and annotate + put into script | ||
@@ -1097,0 +1097,0 @@ |
@@ -9,3 +9,3 @@ import type { PipelineStringToJsonOptions } from '../../conversion/pipelineStringToJson'; | ||
/** | ||
* If true, the directory is searched recursively for promptbooks | ||
* If true, the directory is searched recursively for pipelines | ||
* | ||
@@ -28,4 +28,4 @@ * @default true | ||
/** | ||
* If true, whole collection creation crashes on error in any promptbook | ||
* If true and isLazyLoaded is true, the error is thrown on first access to the promptbook | ||
* If true, whole collection creation crashes on error in any pipeline | ||
* If true and isLazyLoaded is true, the error is thrown on first access to the pipeline | ||
* | ||
@@ -37,7 +37,7 @@ * @default true | ||
/** | ||
* Constructs Promptbook from given directory | ||
* Constructs Pipeline from given directory | ||
* | ||
* Note: Works only in Node.js environment because it reads the file system | ||
* | ||
* @param path - path to the directory with promptbooks | ||
* @param path - path to the directory with pipelines | ||
* @param options - Misc options for the collection | ||
@@ -49,4 +49,4 @@ * @returns PipelineCollection | ||
/** | ||
* TODO: !!!! [๐ง ] Library precompilation and do not mix markdown and json promptbooks | ||
* Note: [๐ข] This code should never be published outside of `@promptbook/node` | ||
* TODO: !!!! [๐ง ] Library precompilation and do not mix markdown and json pipelines | ||
* Note: [๐ข] This code should never be published outside of `@pipeline/node` | ||
*/ |
@@ -6,7 +6,7 @@ import type { PipelineJson } from '../types/PipelineJson/PipelineJson'; | ||
/** | ||
* Library of promptbooks that groups together promptbooks for an application. | ||
* This implementation is a very thin wrapper around the Array / Map of promptbooks. | ||
* Library of pipelines that groups together pipelines for an application. | ||
* This implementation is a very thin wrapper around the Array / Map of pipelines. | ||
* | ||
* @private use `createCollectionFromJson` instead | ||
* @see https://github.com/webgptorg/promptbook#promptbook-collection | ||
* @see https://github.com/webgptorg/pipeline#pipeline-collection | ||
*/ | ||
@@ -16,17 +16,17 @@ export declare class SimplePipelineCollection implements PipelineCollection { | ||
/** | ||
* Constructs a pipeline collection from promptbooks | ||
* Constructs a pipeline collection from pipelines | ||
* | ||
* @param promptbooks @@@ | ||
* @param pipelines @@@ | ||
* | ||
* @private Use instead `createCollectionFromJson` | ||
* Note: During the construction logic of all promptbooks are validated | ||
* Note: During the construction logic of all pipelines are validated | ||
* Note: It is not recommended to use this constructor directly, use `createCollectionFromJson` *(or other variant)* instead | ||
*/ | ||
constructor(...promptbooks: Array<PipelineJson>); | ||
constructor(...pipelines: Array<PipelineJson>); | ||
/** | ||
* Gets all promptbooks in the collection | ||
* Gets all pipelines in the collection | ||
*/ | ||
listPipelines(): Array<string_pipeline_url>; | ||
/** | ||
* Gets promptbook by its URL | ||
* Gets pipeline by its URL | ||
* | ||
@@ -37,5 +37,5 @@ * Note: This is not a direct fetching from the URL, but a lookup in the collection | ||
/** | ||
* Checks whether given prompt was defined in any promptbook in the collection | ||
* Checks whether given prompt was defined in any pipeline in the collection | ||
*/ | ||
isResponsibleForPrompt(prompt: Prompt): boolean; | ||
} |
763777