@promptbook/core 0.76.0 → 0.77.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
@@ -23,6 +23,10 @@
23
23
 
24
24
 
25
25
 
26
+ <blockquote style="color: #ff8811">
27
+ <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>.
28
+ </blockquote>
29
+
26
30
  ## 📦 Package `@promptbook/core`
27
31
 
28
32
  - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
package/esm/index.es.js CHANGED
@@ -22,7 +22,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
22
22
  *
23
23
  * @see https://github.com/webgptorg/promptbook
24
24
  */
25
- var PROMPTBOOK_ENGINE_VERSION = '0.75.10';
25
+ var PROMPTBOOK_ENGINE_VERSION = '0.76.0';
26
26
  /**
27
27
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
28
28
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -5808,7 +5808,7 @@ function preparePipeline(pipeline, tools, options) {
5808
5808
  llmToolsWithUsage = countTotalUsage(llmTools);
5809
5809
  currentPreparation = {
5810
5810
  id: 1,
5811
- // TODO: [🍥]> date: $currentDate(),
5811
+ // TODO: [🍥]> date: $getCurrentDate(),
5812
5812
  promptbookVersion: PROMPTBOOK_ENGINE_VERSION,
5813
5813
  usage: ZERO_USAGE,
5814
5814
  };
@@ -9802,7 +9802,7 @@ var MemoryStorage = /** @class */ (function () {
9802
9802
  * @returns string_date branded type
9803
9803
  * @public exported from `@promptbook/utils`
9804
9804
  */
9805
- function $currentDate() {
9805
+ function $getCurrentDate() {
9806
9806
  return new Date().toISOString();
9807
9807
  }
9808
9808
 
@@ -9877,7 +9877,7 @@ function cacheLlmTools(llmTools, options) {
9877
9877
  // TODO: [🧠] !!!!! How to do timing in mixed cache / non-cache situation
9878
9878
  // promptResult.timing: FromtoItems
9879
9879
  return [4 /*yield*/, storage.setItem(key, {
9880
- date: $currentDate(),
9880
+ date: $getCurrentDate(),
9881
9881
  promptbookVersion: PROMPTBOOK_ENGINE_VERSION,
9882
9882
  prompt: prompt,
9883
9883
  promptResult: promptResult,