@promptbook/documents 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 +11 -1
- package/esm/index.es.js +6 -3
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/cli/cli-commands/about.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/hello.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/list-models.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/list-scrapers.d.ts +13 -0
- package/esm/typings/src/cli/cli-commands/make.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/prettify.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/run.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/runInteractiveChatbot.d.ts +1 -1
- package/esm/typings/src/cli/cli-commands/test-command.d.ts +3 -1
- package/package.json +2 -2
- package/umd/index.umd.js +6 -3
- package/umd/index.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -441,7 +441,17 @@ See [TODO.md](./TODO.md)
|
|
|
441
441
|
|
|
442
442
|
## 🤝 Partners
|
|
443
443
|
|
|
444
|
-
|
|
444
|
+
<div style="display: flex; align-items: center; gap: 20px;">
|
|
445
|
+
|
|
446
|
+
<a href="https://promptbook.studio/">
|
|
447
|
+
<img src="./other/design/promptbook-studio-logo.png" alt="Partner 3" height="100">
|
|
448
|
+
</a>
|
|
449
|
+
|
|
450
|
+
<a href="https://technologickainkubace.org/en/about-technology-incubation/about-the-project/">
|
|
451
|
+
<img src="./other/partners/CI-Technology-Incubation.png" alt="Technology Incubation" height="100">
|
|
452
|
+
</a>
|
|
453
|
+
|
|
454
|
+
</div>
|
|
445
455
|
|
|
446
456
|
## 🖋️ Contributing
|
|
447
457
|
|
package/esm/index.es.js
CHANGED
|
@@ -26,7 +26,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
26
26
|
* @generated
|
|
27
27
|
* @see https://github.com/webgptorg/promptbook
|
|
28
28
|
*/
|
|
29
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.84.0-
|
|
29
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.84.0-20';
|
|
30
30
|
/**
|
|
31
31
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
32
32
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -3238,7 +3238,7 @@ var MultipleLlmExecutionTools = /** @class */ (function () {
|
|
|
3238
3238
|
if (!(error_1 instanceof Error) || error_1 instanceof UnexpectedError) {
|
|
3239
3239
|
throw error_1;
|
|
3240
3240
|
}
|
|
3241
|
-
errors.push(error_1);
|
|
3241
|
+
errors.push({ llmExecutionTools: llmExecutionTools, error: error_1 });
|
|
3242
3242
|
return [3 /*break*/, 13];
|
|
3243
3243
|
case 13:
|
|
3244
3244
|
_b = _a.next();
|
|
@@ -3265,7 +3265,10 @@ var MultipleLlmExecutionTools = /** @class */ (function () {
|
|
|
3265
3265
|
// 2) AnthropicClaude throw PipelineExecutionError: Parameter `{knowledge}` is not defined
|
|
3266
3266
|
// 3) ...
|
|
3267
3267
|
spaceTrim$1(function (block) { return "\n All execution tools failed:\n\n ".concat(block(errors
|
|
3268
|
-
.map(function (
|
|
3268
|
+
.map(function (_a, i) {
|
|
3269
|
+
var error = _a.error, llmExecutionTools = _a.llmExecutionTools;
|
|
3270
|
+
return "".concat(i + 1, ") **").concat(llmExecutionTools.title, "** thrown **").concat(error.name || 'Error', ":** ").concat(error.message);
|
|
3271
|
+
})
|
|
3269
3272
|
.join('\n')), "\n\n "); }));
|
|
3270
3273
|
}
|
|
3271
3274
|
else if (this.llmExecutionTools.length === 0) {
|