@promptbook/utils 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 +15 -7
- package/esm/index.es.js +1 -1
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +1 -1
package/README.md
CHANGED
|
@@ -202,15 +202,17 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
202
202
|
|
|
203
203
|
## ๐ค The Book Abstract
|
|
204
204
|
|
|
205
|
-
**It's time for a paradigm shift! The future of software is in plain English, French or Latin.**
|
|
205
|
+
**It's time for a paradigm shift! The future of software is written in plain English, French, or Latin.**
|
|
206
206
|
|
|
207
207
|
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**!
|
|
208
208
|
|
|
209
|
+
|
|
210
|
+
|
|
209
211
|
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!
|
|
210
212
|
|
|
211
213
|
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.
|
|
212
214
|
|
|
213
|
-
This shift
|
|
215
|
+
This shift will happen whether we're ready or not. Our mission is to make it excellent, not just good.
|
|
214
216
|
|
|
215
217
|
**Join us in this journey!**
|
|
216
218
|
|
|
@@ -318,7 +320,7 @@ Join our growing community of developers and users:
|
|
|
318
320
|
<td><a href="https://www.instagram.com/promptbook.studio/">๐ธ Instagram @promptbook.studio</a></td>
|
|
319
321
|
<td>Visual updates, UI showcases, and design inspiration</td>
|
|
320
322
|
</tr>
|
|
321
|
-
|
|
323
|
+
|
|
322
324
|
</tbody>
|
|
323
325
|
</table>
|
|
324
326
|
|
|
@@ -331,6 +333,8 @@ Join our growing community of developers and users:
|
|
|
331
333
|
|
|
332
334
|
_A concise, Markdown-based DSL for crafting AI workflows and automations._
|
|
333
335
|
|
|
336
|
+
|
|
337
|
+
|
|
334
338
|
### Introduction
|
|
335
339
|
|
|
336
340
|
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.
|
|
@@ -358,7 +362,7 @@ Book is a Markdown-based language that simplifies the creation of AI application
|
|
|
358
362
|
โ {article}
|
|
359
363
|
```
|
|
360
364
|
|
|
361
|
-
Each part of the book defines one of
|
|
365
|
+
Each part of the book defines one of three circles:
|
|
362
366
|
|
|
363
367
|
### **1. What:** Workflows, Tasks and Parameters
|
|
364
368
|
|
|
@@ -380,6 +384,8 @@ Personas can have access to different knowledge, tools and actions. They can als
|
|
|
380
384
|
|
|
381
385
|
- [PERSONA](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PERSONA.md)
|
|
382
386
|
|
|
387
|
+
|
|
388
|
+
|
|
383
389
|
### **3. How:** Knowledge, Instruments and Actions
|
|
384
390
|
|
|
385
391
|
The resources used by the personas are used to do the work.
|
|
@@ -394,9 +400,9 @@ The resources used by the personas are used to do the work.
|
|
|
394
400
|
|
|
395
401
|
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.
|
|
396
402
|
|
|
397
|
-
The file has `.book` extension
|
|
403
|
+
The file has a `.book` extension and uses UTF-8 encoding without BOM.
|
|
398
404
|
|
|
399
|
-
|
|
405
|
+
Books have two variants: flat โ just a prompt without structure, and full โ with tasks, commands, and prompts.
|
|
400
406
|
|
|
401
407
|
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.
|
|
402
408
|
|
|
@@ -477,7 +483,9 @@ The following glossary is used to clarify certain concepts:
|
|
|
477
483
|
- **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.
|
|
478
484
|
- **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.
|
|
479
485
|
|
|
480
|
-
_Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
486
|
+
_Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
487
|
+
|
|
488
|
+
|
|
481
489
|
|
|
482
490
|
### ๐ฏ Core concepts
|
|
483
491
|
|
package/esm/index.es.js
CHANGED
|
@@ -16,7 +16,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
16
16
|
* @generated
|
|
17
17
|
* @see https://github.com/webgptorg/promptbook
|
|
18
18
|
*/
|
|
19
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.94.0-
|
|
19
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.94.0-16';
|
|
20
20
|
/**
|
|
21
21
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
22
22
|
* 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-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.94.0-15`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
package/umd/index.umd.js
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* @generated
|
|
23
23
|
* @see https://github.com/webgptorg/promptbook
|
|
24
24
|
*/
|
|
25
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.94.0-
|
|
25
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.94.0-16';
|
|
26
26
|
/**
|
|
27
27
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
28
28
|
* Note: [๐] Ignore a discrepancy between file name and entity name
|