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