@promptbook/legacy-documents 0.94.0-7 → 0.94.0
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 +6 -11
- package/esm/index.es.js +1 -1
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +25 -2
- package/umd/index.umd.js +1 -1
- package/umd/index.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -25,10 +25,6 @@ Write AI applications using plain human language across multiple models and plat
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
<blockquote style="color: #ff8811">
|
|
29
|
-
<b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
|
|
30
|
-
</blockquote>
|
|
31
|
-
|
|
32
28
|
## 📦 Package `@promptbook/legacy-documents`
|
|
33
29
|
|
|
34
30
|
- Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
|
|
@@ -58,7 +54,7 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
58
54
|
|
|
59
55
|
## 🤍 The Book Abstract
|
|
60
56
|
|
|
61
|
-
**It's time for a paradigm shift! The future of software is in plain English, French or Latin.**
|
|
57
|
+
**It's time for a paradigm shift! The future of software is written in plain English, French, or Latin.**
|
|
62
58
|
|
|
63
59
|
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**!
|
|
64
60
|
|
|
@@ -68,7 +64,7 @@ It's a revolution of writing software in **plain human language** that is unders
|
|
|
68
64
|
|
|
69
65
|
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.
|
|
70
66
|
|
|
71
|
-
This shift
|
|
67
|
+
This shift will happen whether we're ready or not. Our mission is to make it excellent, not just good.
|
|
72
68
|
|
|
73
69
|
**Join us in this journey!**
|
|
74
70
|
|
|
@@ -191,7 +187,6 @@ _A concise, Markdown-based DSL for crafting AI workflows and automations._
|
|
|
191
187
|
|
|
192
188
|
|
|
193
189
|
|
|
194
|
-
|
|
195
190
|
### Introduction
|
|
196
191
|
|
|
197
192
|
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.
|
|
@@ -219,7 +214,7 @@ Book is a Markdown-based language that simplifies the creation of AI application
|
|
|
219
214
|
→ {article}
|
|
220
215
|
```
|
|
221
216
|
|
|
222
|
-
Each part of the book defines one of
|
|
217
|
+
Each part of the book defines one of three circles:
|
|
223
218
|
|
|
224
219
|
### **1. What:** Workflows, Tasks and Parameters
|
|
225
220
|
|
|
@@ -257,9 +252,9 @@ The resources used by the personas are used to do the work.
|
|
|
257
252
|
|
|
258
253
|
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.
|
|
259
254
|
|
|
260
|
-
The file has `.book` extension
|
|
255
|
+
The file has a `.book` extension and uses UTF-8 encoding without BOM.
|
|
261
256
|
|
|
262
|
-
|
|
257
|
+
Books have two variants: flat — just a prompt without structure, and full — with tasks, commands, and prompts.
|
|
263
258
|
|
|
264
259
|
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.
|
|
265
260
|
|
|
@@ -340,7 +335,7 @@ The following glossary is used to clarify certain concepts:
|
|
|
340
335
|
- **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.
|
|
341
336
|
- **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.
|
|
342
337
|
|
|
343
|
-
_Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
338
|
+
_Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
344
339
|
|
|
345
340
|
|
|
346
341
|
|
package/esm/index.es.js
CHANGED
|
@@ -28,7 +28,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
28
28
|
* @generated
|
|
29
29
|
* @see https://github.com/webgptorg/promptbook
|
|
30
30
|
*/
|
|
31
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.94.0
|
|
31
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.94.0';
|
|
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
|