@promptbook/node 0.59.0-26 → 0.59.0-27
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/esm/index.es.js +2 -2
- package/package.json +2 -2
- package/umd/index.umd.js +2 -2
package/esm/index.es.js
CHANGED
|
@@ -147,7 +147,7 @@ var PromptbookSyntaxError = /** @class */ (function (_super) {
|
|
|
147
147
|
return PromptbookSyntaxError;
|
|
148
148
|
}(Error));
|
|
149
149
|
|
|
150
|
-
var promptbookLibrary = [{title:"Prepare Knowledge from Markdown",promptbookUrl:"https://promptbook.studio/promptbook/prepare-knowledge-from-markdown.ptbk.md",promptbookVersion:"0.59.0-
|
|
150
|
+
var promptbookLibrary = [{title:"Prepare Knowledge from Markdown",promptbookUrl:"https://promptbook.studio/promptbook/prepare-knowledge-from-markdown.ptbk.md",promptbookVersion:"0.59.0-26",parameters:[{name:"content",description:"Markdown document content",isInput:true,isOutput:false},{name:"knowledge",description:"The knowledge JSON object",isInput:false,isOutput:true}],promptTemplates:[{name:"knowledge",title:"Knowledge",dependentParameterNames:["content"],executionType:"PROMPT_TEMPLATE",modelRequirements:{modelVariant:"CHAT",modelName:"claude-3-opus-20240229"},content:"You are experienced data researcher, extract the important knowledge from the document.\n\n# Rules\n\n- Make pieces of information concise, clear, and easy to understand\n- One piece of information should be approximately 1 paragraph\n- Divide the paragraphs by markdown horizontal lines ---\n- Omit irrelevant information\n- Group redundant information\n- Write just extracted information, nothing else\n\n# The document\n\nTake information from this document:\n\n> {content}",resultingParameterName:"knowledge"}],knowledge:[]}];
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* This error indicates errors during the execution of the promptbook
|
|
@@ -466,7 +466,7 @@ function isValidJsonString(value /* <-[👨⚖️] */) {
|
|
|
466
466
|
/**
|
|
467
467
|
* The version of the Promptbook library
|
|
468
468
|
*/
|
|
469
|
-
var PROMPTBOOK_VERSION = '0.59.0-
|
|
469
|
+
var PROMPTBOOK_VERSION = '0.59.0-26';
|
|
470
470
|
|
|
471
471
|
/**
|
|
472
472
|
* Function `addUsage` will add multiple usages into one
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/node",
|
|
3
|
-
"version": "0.59.0-
|
|
3
|
+
"version": "0.59.0-27",
|
|
4
4
|
"description": "Library to supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
],
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@promptbook/core": "0.59.0-
|
|
52
|
+
"@promptbook/core": "0.59.0-27"
|
|
53
53
|
},
|
|
54
54
|
"main": "./umd/index.umd.js",
|
|
55
55
|
"module": "./esm/index.es.js",
|
package/umd/index.umd.js
CHANGED
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
return PromptbookSyntaxError;
|
|
153
153
|
}(Error));
|
|
154
154
|
|
|
155
|
-
var promptbookLibrary = [{title:"Prepare Knowledge from Markdown",promptbookUrl:"https://promptbook.studio/promptbook/prepare-knowledge-from-markdown.ptbk.md",promptbookVersion:"0.59.0-
|
|
155
|
+
var promptbookLibrary = [{title:"Prepare Knowledge from Markdown",promptbookUrl:"https://promptbook.studio/promptbook/prepare-knowledge-from-markdown.ptbk.md",promptbookVersion:"0.59.0-26",parameters:[{name:"content",description:"Markdown document content",isInput:true,isOutput:false},{name:"knowledge",description:"The knowledge JSON object",isInput:false,isOutput:true}],promptTemplates:[{name:"knowledge",title:"Knowledge",dependentParameterNames:["content"],executionType:"PROMPT_TEMPLATE",modelRequirements:{modelVariant:"CHAT",modelName:"claude-3-opus-20240229"},content:"You are experienced data researcher, extract the important knowledge from the document.\n\n# Rules\n\n- Make pieces of information concise, clear, and easy to understand\n- One piece of information should be approximately 1 paragraph\n- Divide the paragraphs by markdown horizontal lines ---\n- Omit irrelevant information\n- Group redundant information\n- Write just extracted information, nothing else\n\n# The document\n\nTake information from this document:\n\n> {content}",resultingParameterName:"knowledge"}],knowledge:[]}];
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* This error indicates errors during the execution of the promptbook
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
/**
|
|
472
472
|
* The version of the Promptbook library
|
|
473
473
|
*/
|
|
474
|
-
var PROMPTBOOK_VERSION = '0.59.0-
|
|
474
|
+
var PROMPTBOOK_VERSION = '0.59.0-26';
|
|
475
475
|
|
|
476
476
|
/**
|
|
477
477
|
* Function `addUsage` will add multiple usages into one
|