@promptbook/node 0.86.5 โ 0.86.6
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 +13 -8
- package/esm/index.es.js +4 -2
- package/esm/index.es.js.map +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +4 -2
- package/umd/index.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -96,17 +96,22 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
|
|
|
96
96
|
<tr>
|
|
97
97
|
<td><a href="https://github.com/webgptorg/book">Book language</a></td>
|
|
98
98
|
<td>
|
|
99
|
-
Book is a
|
|
99
|
+
Book is a human-understandable markup language for writing AI applications such as chatbots, knowledge bases, agents, avarars, translators, automations and more.
|
|
100
|
+
<hr>
|
|
100
101
|
There is also <a href="https://github.com/webgptorg/book-extension">a plugin for VSCode</a> to support <code>.book</code> file extension
|
|
101
102
|
</td>
|
|
102
103
|
</tr>
|
|
103
104
|
<tr>
|
|
104
105
|
<td><a href="https://github.com/webgptorg/promptbook">Promptbook Engine</a></td>
|
|
105
|
-
<td>
|
|
106
|
+
<td>
|
|
107
|
+
Promptbook engine can run applications written in Book language. It is released as <a href="https://www.npmjs.com/package/@promptbook/core#-packages-for-developers">multiple NPM packages</a> and <a href="https://hub.docker.com/r/hejny/promptbook">Docker HUB</a>
|
|
108
|
+
</td>
|
|
106
109
|
</tr>
|
|
107
110
|
<tr>
|
|
108
111
|
<td><a href="https://promptbook.studio">Promptbook Studio</a></td>
|
|
109
|
-
<td>
|
|
112
|
+
<td>
|
|
113
|
+
Promptbook.studio is a web-based editor and runner for book applications. It is still in the experimental MVP stage.
|
|
114
|
+
</td>
|
|
110
115
|
</tr>
|
|
111
116
|
</tbody>
|
|
112
117
|
</table>
|
|
@@ -125,25 +130,25 @@ And **Promptbook.studio** branded socials:
|
|
|
125
130
|
|
|
126
131
|
- [Instagram `@promptbook.studio`](https://www.instagram.com/promptbook.studio/)
|
|
127
132
|
|
|
128
|
-
|
|
129
|
-
|
|
130
133
|
And **Promptujeme** sub-brand:
|
|
131
134
|
|
|
132
|
-
|
|
135
|
+
_/Subbrand for Czech clients/_
|
|
136
|
+
|
|
133
137
|
|
|
134
138
|
|
|
135
139
|
|
|
136
140
|
- [Promptujeme.cz](https://www.promptujeme.cz/)
|
|
137
141
|
- [Facebook `Promptujeme`](https://www.facebook.com/promptujeme/)
|
|
138
142
|
|
|
139
|
-
|
|
140
143
|
And **Promptbook.city** branded socials:
|
|
141
144
|
|
|
142
|
-
|
|
145
|
+
_/Sub-brand for images and graphics generated via Promptbook prompting/_
|
|
143
146
|
|
|
144
147
|
- [Instagram `@promptbook.city`](https://www.instagram.com/promptbook.city/)
|
|
145
148
|
- [Facebook `Promptbook City`](https://www.facebook.com/61565718625569)
|
|
146
149
|
|
|
150
|
+
##
|
|
151
|
+
|
|
147
152
|
|
|
148
153
|
|
|
149
154
|
|
package/esm/index.es.js
CHANGED
|
@@ -29,7 +29,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
29
29
|
* @generated
|
|
30
30
|
* @see https://github.com/webgptorg/promptbook
|
|
31
31
|
*/
|
|
32
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.86.
|
|
32
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.86.6';
|
|
33
33
|
/**
|
|
34
34
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
35
35
|
* Note: [๐] Ignore a discrepancy between file name and entity name
|
|
@@ -5908,7 +5908,9 @@ function prepareTasks(pipeline, tools, options) {
|
|
|
5908
5908
|
return __generator(this, function (_a) {
|
|
5909
5909
|
dependentParameterNames = task.dependentParameterNames;
|
|
5910
5910
|
preparedContent = undefined;
|
|
5911
|
-
if (
|
|
5911
|
+
if (task.taskType === 'PROMPT_TASK' &&
|
|
5912
|
+
knowledgePiecesCount > 0 &&
|
|
5913
|
+
!dependentParameterNames.includes('knowledge')) {
|
|
5912
5914
|
preparedContent = spaceTrim$1("\n {content}\n\n ## Knowledge\n\n {knowledge}\n ");
|
|
5913
5915
|
// <- TODO: [๐ง ][๐งป] Cutomize shape/language/formatting of the addition to the prompt
|
|
5914
5916
|
dependentParameterNames = __spreadArray(__spreadArray([], __read(dependentParameterNames), false), [
|