@promptbook/core 0.59.0-14 → 0.59.0-15
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 +1 -1
- package/umd/index.umd.js +2 -2
package/esm/index.es.js
CHANGED
|
@@ -199,7 +199,7 @@ var PromptbookSyntaxError = /** @class */ (function (_super) {
|
|
|
199
199
|
return PromptbookSyntaxError;
|
|
200
200
|
}(Error));
|
|
201
201
|
|
|
202
|
-
var promptbookLibrary = [{ "title": "Prepare Knowledge from Markdown", "promptbookUrl": "https://promptbook.studio/promptbook/prepare-knowledge-from-markdown.ptbk.md", "promptbookVersion": "0.59.0-
|
|
202
|
+
var promptbookLibrary = [{ "title": "Prepare Knowledge from Markdown", "promptbookUrl": "https://promptbook.studio/promptbook/prepare-knowledge-from-markdown.ptbk.md", "promptbookVersion": "0.59.0-14", "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": [] }];
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
205
|
* This error indicates errors during the execution of the promptbook
|
|
@@ -524,7 +524,7 @@ function isValidJsonString(value /* <-[👨⚖️] */) {
|
|
|
524
524
|
/**
|
|
525
525
|
* The version of the Promptbook library
|
|
526
526
|
*/
|
|
527
|
-
var PROMPTBOOK_VERSION = '0.59.0-
|
|
527
|
+
var PROMPTBOOK_VERSION = '0.59.0-14';
|
|
528
528
|
|
|
529
529
|
/**
|
|
530
530
|
* Function `addUsage` will add multiple usages into one
|
package/package.json
CHANGED
package/umd/index.umd.js
CHANGED
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
return PromptbookSyntaxError;
|
|
207
207
|
}(Error));
|
|
208
208
|
|
|
209
|
-
var promptbookLibrary = [{ "title": "Prepare Knowledge from Markdown", "promptbookUrl": "https://promptbook.studio/promptbook/prepare-knowledge-from-markdown.ptbk.md", "promptbookVersion": "0.59.0-
|
|
209
|
+
var promptbookLibrary = [{ "title": "Prepare Knowledge from Markdown", "promptbookUrl": "https://promptbook.studio/promptbook/prepare-knowledge-from-markdown.ptbk.md", "promptbookVersion": "0.59.0-14", "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": [] }];
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
212
|
* This error indicates errors during the execution of the promptbook
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
/**
|
|
532
532
|
* The version of the Promptbook library
|
|
533
533
|
*/
|
|
534
|
-
var PROMPTBOOK_VERSION = '0.59.0-
|
|
534
|
+
var PROMPTBOOK_VERSION = '0.59.0-14';
|
|
535
535
|
|
|
536
536
|
/**
|
|
537
537
|
* Function `addUsage` will add multiple usages into one
|