@promptbook/javascript 0.94.0-14 โ†’ 0.94.0-16

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 CHANGED
@@ -57,15 +57,17 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
57
57
 
58
58
  ## ๐Ÿค The Book Abstract
59
59
 
60
- **It's time for a paradigm shift! The future of software is in plain English, French or Latin.**
60
+ **It's time for a paradigm shift! The future of software is written in plain English, French, or Latin.**
61
61
 
62
62
  During the computer revolution, we have seen [multiple generations of computer languages](https://github.com/webgptorg/promptbook/discussions/180), from the physical rewiring of the vacuum tubes through low-level machine code to the high-level languages like Python or JavaScript. And now, we're on the edge of the **next revolution**!
63
63
 
64
+
65
+
64
66
  It's a revolution of writing software in **plain human language** that is understandable and executable by both humans and machines โ€“ and it's going to change everything!
65
67
 
66
68
  The incredible growth in power of microprocessors and the Moore's Law have been the driving force behind the ever-more powerful languages, and it's been an amazing journey! Similarly, the large language models (like GPT or Claude) are the next big thing in language technology, and they're set to transform the way we interact with computers.
67
69
 
68
- This shift is going to happen, whether we are ready for it or not. Our mission is to make it excellently, not just good.
70
+ This shift will happen whether we're ready or not. Our mission is to make it excellent, not just good.
69
71
 
70
72
  **Join us in this journey!**
71
73
 
@@ -173,7 +175,7 @@ Join our growing community of developers and users:
173
175
  <td><a href="https://www.instagram.com/promptbook.studio/">๐Ÿ“ธ Instagram @promptbook.studio</a></td>
174
176
  <td>Visual updates, UI showcases, and design inspiration</td>
175
177
  </tr>
176
-
178
+
177
179
  </tbody>
178
180
  </table>
179
181
 
@@ -186,6 +188,8 @@ Join our growing community of developers and users:
186
188
 
187
189
  _A concise, Markdown-based DSL for crafting AI workflows and automations._
188
190
 
191
+
192
+
189
193
  ### Introduction
190
194
 
191
195
  Book is a Markdown-based language that simplifies the creation of AI applications, workflows, and automations. With human-readable commands, you can define inputs, outputs, personas, knowledge sources, and actionsโ€”without needing model-specific details.
@@ -213,7 +217,7 @@ Book is a Markdown-based language that simplifies the creation of AI application
213
217
  โ†’ {article}
214
218
  ```
215
219
 
216
- Each part of the book defines one of 3 circles:
220
+ Each part of the book defines one of three circles:
217
221
 
218
222
  ### **1. What:** Workflows, Tasks and Parameters
219
223
 
@@ -235,6 +239,8 @@ Personas can have access to different knowledge, tools and actions. They can als
235
239
 
236
240
  - [PERSONA](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PERSONA.md)
237
241
 
242
+
243
+
238
244
  ### **3. How:** Knowledge, Instruments and Actions
239
245
 
240
246
  The resources used by the personas are used to do the work.
@@ -249,9 +255,9 @@ The resources used by the personas are used to do the work.
249
255
 
250
256
  Book language is based on markdown. It is subset of markdown. It is designed to be easy to read and write. It is designed to be understandable by both humans and machines and without specific knowledge of the language.
251
257
 
252
- The file has `.book` extension. It uses `UTF-8` non BOM encoding.
258
+ The file has a `.book` extension and uses UTF-8 encoding without BOM.
253
259
 
254
- Book has two variants: flat - which is just a prompt with no structure, and full - which has a structure with tasks, commands and prompts.
260
+ Books have two variants: flat โ€” just a prompt without structure, and full โ€” with tasks, commands, and prompts.
255
261
 
256
262
  As it is source code, it can leverage all the features of version control systems like git and does not suffer from the problems of binary formats, proprietary formats, or no-code solutions.
257
263
 
@@ -332,7 +338,9 @@ The following glossary is used to clarify certain concepts:
332
338
  - **Retrieval-augmented generation** is a machine learning paradigm where a model generates text by retrieving relevant information from a large database of text. This approach combines the benefits of generative models and retrieval models.
333
339
  - **Longtail** refers to non-common or rare events, items, or entities that are not well-represented in the training data of machine learning models. Longtail items are often challenging for models to predict accurately.
334
340
 
335
- _Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
341
+ _Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
342
+
343
+
336
344
 
337
345
  ### ๐Ÿ’ฏ Core concepts
338
346
 
package/esm/index.es.js CHANGED
@@ -19,7 +19,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
19
19
  * @generated
20
20
  * @see https://github.com/webgptorg/promptbook
21
21
  */
22
- const PROMPTBOOK_ENGINE_VERSION = '0.94.0-14';
22
+ const PROMPTBOOK_ENGINE_VERSION = '0.94.0-16';
23
23
  /**
24
24
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
25
25
  * Note: [๐Ÿ’ž] Ignore a discrepancy between file name and entity name
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
15
15
  export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
16
16
  /**
17
17
  * Represents the version string of the Promptbook engine.
18
- * It follows semantic versioning (e.g., `0.94.0-13`).
18
+ * It follows semantic versioning (e.g., `0.94.0-15`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/javascript",
3
- "version": "0.94.0-14",
3
+ "version": "0.94.0-16",
4
4
  "description": "Promptbook: Run AI apps in plain human language across multiple models and platforms",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -86,7 +86,7 @@
86
86
  "module": "./esm/index.es.js",
87
87
  "typings": "./esm/typings/src/_packages/javascript.index.d.ts",
88
88
  "peerDependencies": {
89
- "@promptbook/core": "0.94.0-14"
89
+ "@promptbook/core": "0.94.0-16"
90
90
  },
91
91
  "dependencies": {
92
92
  "crypto": "1.0.1",
package/umd/index.umd.js CHANGED
@@ -23,7 +23,7 @@
23
23
  * @generated
24
24
  * @see https://github.com/webgptorg/promptbook
25
25
  */
26
- const PROMPTBOOK_ENGINE_VERSION = '0.94.0-14';
26
+ const PROMPTBOOK_ENGINE_VERSION = '0.94.0-16';
27
27
  /**
28
28
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
29
29
  * Note: [๐Ÿ’ž] Ignore a discrepancy between file name and entity name