@promptbook/node 0.93.0 → 0.94.0-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,6 +25,10 @@ Write AI applications using plain human language across multiple models and plat
25
25
 
26
26
 
27
27
 
28
+ <blockquote style="color: #ff8811">
29
+ <b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
30
+ </blockquote>
31
+
28
32
  ## 📦 Package `@promptbook/node`
29
33
 
30
34
  - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
package/esm/index.es.js CHANGED
@@ -30,7 +30,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
30
30
  * @generated
31
31
  * @see https://github.com/webgptorg/promptbook
32
32
  */
33
- const PROMPTBOOK_ENGINE_VERSION = '0.93.0';
33
+ const PROMPTBOOK_ENGINE_VERSION = '0.94.0-0';
34
34
  /**
35
35
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
36
36
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -4447,6 +4447,11 @@ async function executeTask(options) {
4447
4447
  const jokerParameterNames = currentTask.jokerParameterNames || [];
4448
4448
  const preparedContent = (currentTask.preparedContent || '{content}').split('{content}').join(currentTask.content);
4449
4449
  // <- TODO: [🍵] Use here `templateParameters` to replace {websiteContent} with option to ignore missing parameters
4450
+ await onProgress({
4451
+ outputParameters: {
4452
+ [currentTask.resultingParameterName]: '',
4453
+ },
4454
+ });
4450
4455
  const resultString = await executeFormatSubvalues({
4451
4456
  jokerParameterNames,
4452
4457
  priority,