@promptbook/fake-llm
Advanced tools
Comparing version 0.84.0-10 to 0.84.0-11
@@ -11,2 +11,3 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version'; | ||
import { prompt } from '../pipeline/prompt-notation'; | ||
import { promptTemplate } from '../pipeline/prompt-notation'; | ||
import { $getCurrentDate } from '../utils/$getCurrentDate'; | ||
@@ -93,2 +94,3 @@ import { $isRunningInBrowser } from '../utils/environment/$isRunningInBrowser'; | ||
export { prompt }; | ||
export { promptTemplate }; | ||
export { $getCurrentDate }; | ||
@@ -95,0 +97,0 @@ export { $isRunningInBrowser }; |
@@ -5,2 +5,4 @@ import type { PipelineExecutorResult } from './PipelineExecutorResult'; | ||
* | ||
* Note: If there are only warnings, the execution is still successful but the warnings are logged in the console | ||
* | ||
* @param executionResult - The partial result of the Promptbook execution | ||
@@ -10,3 +12,3 @@ * @throws {PipelineExecutionError} If the execution is not successful or if multiple errors occurred | ||
*/ | ||
export declare function assertsExecutionSuccessful(executionResult: Pick<PipelineExecutorResult, 'isSuccessful' | 'errors'>): void; | ||
export declare function assertsExecutionSuccessful(executionResult: Pick<PipelineExecutorResult, 'isSuccessful' | 'errors' | 'warnings'>): void; | ||
/** | ||
@@ -13,0 +15,0 @@ * TODO: [π] This function should be removed OR changed OR be completely rewritten |
@@ -5,5 +5,6 @@ import type { PipelineString } from './PipelineString'; | ||
* | ||
* Note: There are 2 similar functions: | ||
* Note: There are 3 similar functions: | ||
* 1) `prompt` for notating single prompt exported from `@promptbook/utils` | ||
* 1) `book` for notating and validating entire books exported from `@promptbook/utils` | ||
* 2) `promptTemplate` alias for `prompt` | ||
* 3) `book` for notating and validating entire books exported from `@promptbook/utils` | ||
* | ||
@@ -10,0 +11,0 @@ * @param strings @@@ |
@@ -5,9 +5,10 @@ import type { string_prompt } from '../types/typeAliases'; | ||
* | ||
* Note: There are 2 similar functions: | ||
* Note: There are 3 similar functions: | ||
* 1) `prompt` for notating single prompt exported from `@promptbook/utils` | ||
* 1) `book` for notating and validating entire books exported from `@promptbook/utils` | ||
* 2) `promptTemplate` alias for `prompt` | ||
* 3) `book` for notating and validating entire books exported from `@promptbook/utils` | ||
* | ||
* @param strings @@@ | ||
* @param values @@@ | ||
* @returns the pipeline string | ||
* @param strings | ||
* @param values | ||
* @returns the prompt string | ||
* @public exported from `@promptbook/utils` | ||
@@ -17,4 +18,16 @@ */ | ||
/** | ||
* Tag function for notating a prompt as template literal | ||
* | ||
* Note: There are 3 similar functions: | ||
* 1) `prompt` for notating single prompt exported from `@promptbook/utils` | ||
* 2) `promptTemplate` alias for `prompt` | ||
* 3) `book` for notating and validating entire books exported from `@promptbook/utils` | ||
* | ||
* @alias prompt | ||
* @public exported from `@promptbook/utils` | ||
*/ | ||
export declare const promptTemplate: typeof prompt; | ||
/** | ||
* TODO: [π§ ][π΄] Where is the best location for this file | ||
* Note: [π] Ignore a discrepancy between file name and entity name | ||
*/ |
{ | ||
"name": "@promptbook/fake-llm", | ||
"version": "0.84.0-10", | ||
"version": "0.84.0-11", | ||
"description": "It's time for a paradigm shift. The future of software in plain English, French or Latin", | ||
@@ -57,3 +57,3 @@ "--note-0": " <- [π]", | ||
"peerDependencies": { | ||
"@promptbook/core": "0.84.0-10" | ||
"@promptbook/core": "0.84.0-11" | ||
}, | ||
@@ -60,0 +60,0 @@ "dependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
961407
18185