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