@promptbook/cli 0.75.9 → 0.75.10
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 +8 -2
- package/esm/index.es.js +4 -1
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/markdown-utils.index.d.ts +2 -0
- package/esm/typings/src/_packages/types.index.d.ts +2 -0
- package/esm/typings/src/formfactors/index.d.ts +1 -0
- package/esm/typings/src/formfactors/sheets/SheetsFormfactorDefinition.d.ts +1 -0
- package/esm/typings/src/types/typeAliases.d.ts +10 -0
- package/package.json +1 -1
- package/umd/index.umd.js +4 -1
- package/umd/index.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -148,7 +148,7 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
148
148
|
<tr>
|
|
149
149
|
<td>Core</td>
|
|
150
150
|
<td>Promptbook Core is a description and documentation of the basic concepts, ideas and inner workings of how Promptbook should be implemented, and defines what features must be describable by book language.</td>
|
|
151
|
-
<td rowspan=2>https://
|
|
151
|
+
<td rowspan=2>https://github.com/webgptorg/book</td>
|
|
152
152
|
</tr>
|
|
153
153
|
<tr>
|
|
154
154
|
<td>Book language</td>
|
|
@@ -159,7 +159,7 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
159
159
|
<tr>
|
|
160
160
|
<td>Promptbook typescript project</td>
|
|
161
161
|
<td>Promptbook implementation in TypeScript released as multiple NPM packages</td>
|
|
162
|
-
<td>https://github.com/webgptorg/promptbook + Multiple packages on NPM</td>
|
|
162
|
+
<td>https://github.com/webgptorg/promptbook + <a href="https://www.npmjs.com/package/@promptbook/core#-packages-for-developers">Multiple packages published on NPM</a></td>
|
|
163
163
|
</tr>
|
|
164
164
|
<tr>
|
|
165
165
|
<td>Promptbook studio</td>
|
|
@@ -179,6 +179,12 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
179
179
|
</tbody>
|
|
180
180
|
</table>
|
|
181
181
|
|
|
182
|
+
Also we have a community of developers and users:
|
|
183
|
+
|
|
184
|
+
- [Discord](https://discord.gg/x3QWNaa89N)
|
|
185
|
+
- [Landing page](https://ptbk.io)
|
|
186
|
+
- [Github discussions](https://github.com/webgptorg/promptbook/discussions)
|
|
187
|
+
|
|
182
188
|
|
|
183
189
|
|
|
184
190
|
## 💙 Book language _(for prompt-engineer)_
|
package/esm/index.es.js
CHANGED
|
@@ -37,7 +37,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
37
37
|
*
|
|
38
38
|
* @see https://github.com/webgptorg/promptbook
|
|
39
39
|
*/
|
|
40
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.75.
|
|
40
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.75.9';
|
|
41
41
|
/**
|
|
42
42
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
43
43
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -6929,6 +6929,7 @@ var MatcherFormfactorDefinition = {
|
|
|
6929
6929
|
*/
|
|
6930
6930
|
var SheetsFormfactorDefinition = {
|
|
6931
6931
|
name: 'SHEETS',
|
|
6932
|
+
aliasNames: ['SHEETS', 'SHEET'],
|
|
6932
6933
|
description: "@@@",
|
|
6933
6934
|
documentationUrl: "https://github.com/webgptorg/promptbook/discussions/176",
|
|
6934
6935
|
pipelineInterface: {
|
|
@@ -8073,6 +8074,7 @@ function parseCommandVariant(input) {
|
|
|
8073
8074
|
* @private internal base for `ScriptLanguage`
|
|
8074
8075
|
*/
|
|
8075
8076
|
var SUPPORTED_SCRIPT_LANGUAGES = ['javascript', 'typescript', 'python'];
|
|
8077
|
+
// <- TODO: [🏥] DRY
|
|
8076
8078
|
|
|
8077
8079
|
/**
|
|
8078
8080
|
* Utility function to extract all list items from markdown
|
|
@@ -10939,6 +10941,7 @@ function renderPromptbookMermaid(pipelineJson, options) {
|
|
|
10939
10941
|
var parameter = pipelineJson.parameters.find(function (parameter) { return parameter.name === parameterName; });
|
|
10940
10942
|
if (!parameter) {
|
|
10941
10943
|
throw new UnexpectedError("Could not find {".concat(parameterName, "}"));
|
|
10944
|
+
// <- TODO: !!!!!! This causes problems when {knowledge} and other reserved parameters are used
|
|
10942
10945
|
}
|
|
10943
10946
|
if (parameter.isInput) {
|
|
10944
10947
|
return 'input';
|