@promptbook/markdown-utils 0.86.5 โ 0.86.8
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 +13 -8
- package/esm/index.es.js +4 -2
- package/esm/index.es.js.map +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +4 -2
- package/umd/index.umd.js.map +1 -1
package/package.json
CHANGED
package/umd/index.umd.js
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* @generated
|
|
26
26
|
* @see https://github.com/webgptorg/promptbook
|
|
27
27
|
*/
|
|
28
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.86.
|
|
28
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.86.8';
|
|
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
|
|
@@ -3978,7 +3978,9 @@
|
|
|
3978
3978
|
return __generator(this, function (_a) {
|
|
3979
3979
|
dependentParameterNames = task.dependentParameterNames;
|
|
3980
3980
|
preparedContent = undefined;
|
|
3981
|
-
if (
|
|
3981
|
+
if (task.taskType === 'PROMPT_TASK' &&
|
|
3982
|
+
knowledgePiecesCount > 0 &&
|
|
3983
|
+
!dependentParameterNames.includes('knowledge')) {
|
|
3982
3984
|
preparedContent = spaceTrim.spaceTrim("\n {content}\n\n ## Knowledge\n\n {knowledge}\n ");
|
|
3983
3985
|
// <- TODO: [๐ง ][๐งป] Cutomize shape/language/formatting of the addition to the prompt
|
|
3984
3986
|
dependentParameterNames = __spreadArray(__spreadArray([], __read(dependentParameterNames), false), [
|