@promptbook/core 0.84.0-20 → 0.84.0-21

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
@@ -442,7 +442,17 @@ See [TODO.md](./TODO.md)
442
442
 
443
443
  ## 🤝 Partners
444
444
 
445
- [![Technology Incubation](./other/partners/CI-Technology-Incubation.png)](https://technologickainkubace.org/en/about-technology-incubation/about-the-project/)
445
+ <div style="display: flex; align-items: center; gap: 20px;">
446
+
447
+ <a href="https://promptbook.studio/">
448
+ <img src="./other/design/promptbook-studio-logo.png" alt="Partner 3" height="100">
449
+ </a>
450
+
451
+ <a href="https://technologickainkubace.org/en/about-technology-incubation/about-the-project/">
452
+ <img src="./other/partners/CI-Technology-Incubation.png" alt="Technology Incubation" height="100">
453
+ </a>
454
+
455
+ </div>
446
456
 
447
457
  ## 🖋️ Contributing
448
458
 
package/esm/index.es.js CHANGED
@@ -25,7 +25,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
25
25
  * @generated
26
26
  * @see https://github.com/webgptorg/promptbook
27
27
  */
28
- var PROMPTBOOK_ENGINE_VERSION = '0.84.0-19';
28
+ var PROMPTBOOK_ENGINE_VERSION = '0.84.0-20';
29
29
  /**
30
30
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
31
31
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -3300,7 +3300,7 @@ var MultipleLlmExecutionTools = /** @class */ (function () {
3300
3300
  if (!(error_1 instanceof Error) || error_1 instanceof UnexpectedError) {
3301
3301
  throw error_1;
3302
3302
  }
3303
- errors.push(error_1);
3303
+ errors.push({ llmExecutionTools: llmExecutionTools, error: error_1 });
3304
3304
  return [3 /*break*/, 13];
3305
3305
  case 13:
3306
3306
  _b = _a.next();
@@ -3327,7 +3327,10 @@ var MultipleLlmExecutionTools = /** @class */ (function () {
3327
3327
  // 2) AnthropicClaude throw PipelineExecutionError: Parameter `{knowledge}` is not defined
3328
3328
  // 3) ...
3329
3329
  spaceTrim(function (block) { return "\n All execution tools failed:\n\n ".concat(block(errors
3330
- .map(function (error, i) { return "".concat(i + 1, ") **").concat(error.name || 'Error', ":** ").concat(error.message); })
3330
+ .map(function (_a, i) {
3331
+ var error = _a.error, llmExecutionTools = _a.llmExecutionTools;
3332
+ return "".concat(i + 1, ") **").concat(llmExecutionTools.title, "** thrown **").concat(error.name || 'Error', ":** ").concat(error.message);
3333
+ })
3331
3334
  .join('\n')), "\n\n "); }));
3332
3335
  }
3333
3336
  else if (this.llmExecutionTools.length === 0) {
@@ -9035,7 +9038,10 @@ var QuickChatbotHla = {
9035
9038
  description: 'Chatbot response',
9036
9039
  isInput: false,
9037
9040
  isOutput: true,
9038
- exampleValues: ['Hello, I am a Pavol`s virtual avatar. How can I help you?'],
9041
+ exampleValues: [
9042
+ 'Hello, how can I help you?',
9043
+ // <- TODO: [🧠] Make this dynamic, async, prepare-phase HLAs
9044
+ ],
9039
9045
  });
9040
9046
  // TODO: Use spaceTrim in multiline strings
9041
9047
  $pipelineJson.tasks.push({