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