@promptbook/core 0.75.8 → 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
|
@@ -95,7 +95,7 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
95
95
|
<tr>
|
|
96
96
|
<td>Core</td>
|
|
97
97
|
<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>
|
|
98
|
-
<td rowspan=2>https://
|
|
98
|
+
<td rowspan=2>https://github.com/webgptorg/book</td>
|
|
99
99
|
</tr>
|
|
100
100
|
<tr>
|
|
101
101
|
<td>Book language</td>
|
|
@@ -106,7 +106,7 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
106
106
|
<tr>
|
|
107
107
|
<td>Promptbook typescript project</td>
|
|
108
108
|
<td>Promptbook implementation in TypeScript released as multiple NPM packages</td>
|
|
109
|
-
<td>https://github.com/webgptorg/promptbook + Multiple packages on NPM</td>
|
|
109
|
+
<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>
|
|
110
110
|
</tr>
|
|
111
111
|
<tr>
|
|
112
112
|
<td>Promptbook studio</td>
|
|
@@ -126,6 +126,12 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
126
126
|
</tbody>
|
|
127
127
|
</table>
|
|
128
128
|
|
|
129
|
+
Also we have a community of developers and users:
|
|
130
|
+
|
|
131
|
+
- [Discord](https://discord.gg/x3QWNaa89N)
|
|
132
|
+
- [Landing page](https://ptbk.io)
|
|
133
|
+
- [Github discussions](https://github.com/webgptorg/promptbook/discussions)
|
|
134
|
+
|
|
129
135
|
|
|
130
136
|
|
|
131
137
|
## 💙 Book language _(for prompt-engineer)_
|
package/esm/index.es.js
CHANGED
|
@@ -22,7 +22,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
22
22
|
*
|
|
23
23
|
* @see https://github.com/webgptorg/promptbook
|
|
24
24
|
*/
|
|
25
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.75.
|
|
25
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.75.9';
|
|
26
26
|
/**
|
|
27
27
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
28
28
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -7092,6 +7092,7 @@ var MatcherFormfactorDefinition = {
|
|
|
7092
7092
|
*/
|
|
7093
7093
|
var SheetsFormfactorDefinition = {
|
|
7094
7094
|
name: 'SHEETS',
|
|
7095
|
+
aliasNames: ['SHEETS', 'SHEET'],
|
|
7095
7096
|
description: "@@@",
|
|
7096
7097
|
documentationUrl: "https://github.com/webgptorg/promptbook/discussions/176",
|
|
7097
7098
|
pipelineInterface: {
|
|
@@ -8236,6 +8237,7 @@ function parseCommandVariant(input) {
|
|
|
8236
8237
|
* @private internal base for `ScriptLanguage`
|
|
8237
8238
|
*/
|
|
8238
8239
|
var SUPPORTED_SCRIPT_LANGUAGES = ['javascript', 'typescript', 'python'];
|
|
8240
|
+
// <- TODO: [🏥] DRY
|
|
8239
8241
|
|
|
8240
8242
|
/**
|
|
8241
8243
|
* Utility function to extract all list items from markdown
|
|
@@ -8964,6 +8966,7 @@ function renderPromptbookMermaid(pipelineJson, options) {
|
|
|
8964
8966
|
var parameter = pipelineJson.parameters.find(function (parameter) { return parameter.name === parameterName; });
|
|
8965
8967
|
if (!parameter) {
|
|
8966
8968
|
throw new UnexpectedError("Could not find {".concat(parameterName, "}"));
|
|
8969
|
+
// <- TODO: !!!!!! This causes problems when {knowledge} and other reserved parameters are used
|
|
8967
8970
|
}
|
|
8968
8971
|
if (parameter.isInput) {
|
|
8969
8972
|
return 'input';
|