@promptbook/cli 0.60.0-3 → 0.60.0-4
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 +1 -1
- package/esm/index.es.js +2 -2
- package/esm/typings/src/types/PipelineJson/PipelineJson.d.ts +1 -1
- package/esm/typings/src/types/Prompt.d.ts +1 -1
- package/esm/typings/src/types/typeAliases.d.ts +2 -2
- package/package.json +2 -2
- package/umd/index.umd.js +2 -2
- package/umd/typings/src/types/PipelineJson/PipelineJson.d.ts +1 -1
- package/umd/typings/src/types/Prompt.d.ts +1 -1
- package/umd/typings/src/types/typeAliases.d.ts +2 -2
package/README.md
CHANGED
|
@@ -146,7 +146,7 @@ File `write-website-content.ptbk.md`:
|
|
|
146
146
|
>
|
|
147
147
|
> Instructions for creating web page content.
|
|
148
148
|
>
|
|
149
|
-
> - PROMPTBOOK URL https://promptbook.webgpt
|
|
149
|
+
> - PROMPTBOOK URL https://promptbook.studio/webgpt/write-website-content.ptbk.md
|
|
150
150
|
> - PROMPTBOOK VERSION 0.0.1
|
|
151
151
|
> - INPUT PARAM `{rawTitle}` Automatically suggested a site name or empty text
|
|
152
152
|
> - INPUT PARAM `{rawAssigment}` Automatically generated site entry from image recognition
|
package/esm/index.es.js
CHANGED
|
@@ -143,7 +143,7 @@ new Function("\n try {\n if (typeof WorkerGlobalScope !== 'undefined'
|
|
|
143
143
|
/**
|
|
144
144
|
* The version of the Promptbook library
|
|
145
145
|
*/
|
|
146
|
-
var PROMPTBOOK_VERSION = '0.60.0-
|
|
146
|
+
var PROMPTBOOK_VERSION = '0.60.0-3';
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* Initializes testing `hello` command for Promptbook CLI utilities
|
|
@@ -437,7 +437,7 @@ function validatePipeline(pipeline) {
|
|
|
437
437
|
* > ex port function validatePipeline(promptbook: unknown): asserts promptbook is PipelineJson {
|
|
438
438
|
*/
|
|
439
439
|
|
|
440
|
-
var PipelineCollection = [{title:"Prepare Keywords",promptbookUrl:"https://promptbook.studio/promptbook/prepare-keywords.ptbk.md",promptbookVersion:"0.60.0-
|
|
440
|
+
var PipelineCollection = [{title:"Prepare Keywords",promptbookUrl:"https://promptbook.studio/promptbook/prepare-keywords.ptbk.md",promptbookVersion:"0.60.0-3",parameters:[{name:"content",description:"The content",isInput:true,isOutput:false},{name:"keywords",description:"Keywords separated by comma",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, detect the important keywords in the document.\n\n# Rules\n\n- Write just keywords separated by comma\n\n# The document\n\nTake information from this document:\n\n> {content}",resultingParameterName:"keywords"}],knowledge:[]},{title:"Prepare Knowledge from Markdown",promptbookUrl:"https://promptbook.studio/promptbook/prepare-knowledge-from-markdown.ptbk.md",promptbookVersion:"0.60.0-3",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:[]}];
|
|
441
441
|
|
|
442
442
|
/**
|
|
443
443
|
* This error indicates errors during the execution of the promptbook
|
|
@@ -17,7 +17,7 @@ export type PipelineJson = {
|
|
|
17
17
|
* Note: It must be unique across all promptbooks libraries
|
|
18
18
|
* Note: It must use HTTPs URL
|
|
19
19
|
* Tip: You can do versioning in the URL
|
|
20
|
-
* For example: https://promptbook.webgpt
|
|
20
|
+
* For example: https://promptbook.studio/webgpt/write-website-content-cs.ptbk.md@1.0.0
|
|
21
21
|
* Warning: Do not hash part of the URL, hash part is used for identification of the prompt template in the pipeline
|
|
22
22
|
*/
|
|
23
23
|
readonly promptbookUrl?: string_pipeline_url;
|
|
@@ -50,7 +50,7 @@ export type Prompt = {
|
|
|
50
50
|
/**
|
|
51
51
|
* Unique identifier of the promptbook with specific template name as hash
|
|
52
52
|
*
|
|
53
|
-
* @example https://promptbook.webgpt
|
|
53
|
+
* @example https://promptbook.studio/webgpt/write-website-content-cs.ptbk.md#keywords
|
|
54
54
|
*/
|
|
55
55
|
readonly promptbookUrl: string_pipeline_url_with_hashtemplate;
|
|
56
56
|
/**
|
|
@@ -179,13 +179,13 @@ export type string_url = string;
|
|
|
179
179
|
/**
|
|
180
180
|
* Semantic helper
|
|
181
181
|
*
|
|
182
|
-
* For example `"https://promptbook.webgpt
|
|
182
|
+
* For example `"https://promptbook.studio/webgpt/write-website-content-cs.ptbk.md"`
|
|
183
183
|
*/
|
|
184
184
|
export type string_pipeline_url = string;
|
|
185
185
|
/**
|
|
186
186
|
* Semantic helper
|
|
187
187
|
*
|
|
188
|
-
* For example `"https://promptbook.webgpt
|
|
188
|
+
* For example `"https://promptbook.studio/webgpt/write-website-content-cs.ptbk.md#keywords"`
|
|
189
189
|
*/
|
|
190
190
|
export type string_pipeline_url_with_hashtemplate = string;
|
|
191
191
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/cli",
|
|
3
|
-
"version": "0.60.0-
|
|
3
|
+
"version": "0.60.0-4",
|
|
4
4
|
"description": "Supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
],
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@promptbook/core": "0.60.0-
|
|
55
|
+
"@promptbook/core": "0.60.0-4"
|
|
56
56
|
},
|
|
57
57
|
"main": "./umd/index.umd.js",
|
|
58
58
|
"module": "./esm/index.es.js",
|
package/umd/index.umd.js
CHANGED
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
/**
|
|
148
148
|
* The version of the Promptbook library
|
|
149
149
|
*/
|
|
150
|
-
var PROMPTBOOK_VERSION = '0.60.0-
|
|
150
|
+
var PROMPTBOOK_VERSION = '0.60.0-3';
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* Initializes testing `hello` command for Promptbook CLI utilities
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
* > ex port function validatePipeline(promptbook: unknown): asserts promptbook is PipelineJson {
|
|
442
442
|
*/
|
|
443
443
|
|
|
444
|
-
var PipelineCollection = [{title:"Prepare Keywords",promptbookUrl:"https://promptbook.studio/promptbook/prepare-keywords.ptbk.md",promptbookVersion:"0.60.0-
|
|
444
|
+
var PipelineCollection = [{title:"Prepare Keywords",promptbookUrl:"https://promptbook.studio/promptbook/prepare-keywords.ptbk.md",promptbookVersion:"0.60.0-3",parameters:[{name:"content",description:"The content",isInput:true,isOutput:false},{name:"keywords",description:"Keywords separated by comma",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, detect the important keywords in the document.\n\n# Rules\n\n- Write just keywords separated by comma\n\n# The document\n\nTake information from this document:\n\n> {content}",resultingParameterName:"keywords"}],knowledge:[]},{title:"Prepare Knowledge from Markdown",promptbookUrl:"https://promptbook.studio/promptbook/prepare-knowledge-from-markdown.ptbk.md",promptbookVersion:"0.60.0-3",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:[]}];
|
|
445
445
|
|
|
446
446
|
/**
|
|
447
447
|
* This error indicates errors during the execution of the promptbook
|
|
@@ -17,7 +17,7 @@ export type PipelineJson = {
|
|
|
17
17
|
* Note: It must be unique across all promptbooks libraries
|
|
18
18
|
* Note: It must use HTTPs URL
|
|
19
19
|
* Tip: You can do versioning in the URL
|
|
20
|
-
* For example: https://promptbook.webgpt
|
|
20
|
+
* For example: https://promptbook.studio/webgpt/write-website-content-cs.ptbk.md@1.0.0
|
|
21
21
|
* Warning: Do not hash part of the URL, hash part is used for identification of the prompt template in the pipeline
|
|
22
22
|
*/
|
|
23
23
|
readonly promptbookUrl?: string_pipeline_url;
|
|
@@ -50,7 +50,7 @@ export type Prompt = {
|
|
|
50
50
|
/**
|
|
51
51
|
* Unique identifier of the promptbook with specific template name as hash
|
|
52
52
|
*
|
|
53
|
-
* @example https://promptbook.webgpt
|
|
53
|
+
* @example https://promptbook.studio/webgpt/write-website-content-cs.ptbk.md#keywords
|
|
54
54
|
*/
|
|
55
55
|
readonly promptbookUrl: string_pipeline_url_with_hashtemplate;
|
|
56
56
|
/**
|
|
@@ -179,13 +179,13 @@ export type string_url = string;
|
|
|
179
179
|
/**
|
|
180
180
|
* Semantic helper
|
|
181
181
|
*
|
|
182
|
-
* For example `"https://promptbook.webgpt
|
|
182
|
+
* For example `"https://promptbook.studio/webgpt/write-website-content-cs.ptbk.md"`
|
|
183
183
|
*/
|
|
184
184
|
export type string_pipeline_url = string;
|
|
185
185
|
/**
|
|
186
186
|
* Semantic helper
|
|
187
187
|
*
|
|
188
|
-
* For example `"https://promptbook.webgpt
|
|
188
|
+
* For example `"https://promptbook.studio/webgpt/write-website-content-cs.ptbk.md#keywords"`
|
|
189
189
|
*/
|
|
190
190
|
export type string_pipeline_url_with_hashtemplate = string;
|
|
191
191
|
/**
|