@promptbook/cli 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 +268 -113
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +24 -1
- package/umd/index.umd.js +268 -113
- 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/cli`
|
|
33
29
|
|
|
34
30
|
- Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
|
|
@@ -110,7 +106,7 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
110
106
|
|
|
111
107
|
## 🤍 The Book Abstract
|
|
112
108
|
|
|
113
|
-
**It's time for a paradigm shift! The future of software is in plain English, French or Latin.**
|
|
109
|
+
**It's time for a paradigm shift! The future of software is written in plain English, French, or Latin.**
|
|
114
110
|
|
|
115
111
|
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**!
|
|
116
112
|
|
|
@@ -120,7 +116,7 @@ It's a revolution of writing software in **plain human language** that is unders
|
|
|
120
116
|
|
|
121
117
|
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.
|
|
122
118
|
|
|
123
|
-
This shift
|
|
119
|
+
This shift will happen whether we're ready or not. Our mission is to make it excellent, not just good.
|
|
124
120
|
|
|
125
121
|
**Join us in this journey!**
|
|
126
122
|
|
|
@@ -243,7 +239,6 @@ _A concise, Markdown-based DSL for crafting AI workflows and automations._
|
|
|
243
239
|
|
|
244
240
|
|
|
245
241
|
|
|
246
|
-
|
|
247
242
|
### Introduction
|
|
248
243
|
|
|
249
244
|
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.
|
|
@@ -271,7 +266,7 @@ Book is a Markdown-based language that simplifies the creation of AI application
|
|
|
271
266
|
→ {article}
|
|
272
267
|
```
|
|
273
268
|
|
|
274
|
-
Each part of the book defines one of
|
|
269
|
+
Each part of the book defines one of three circles:
|
|
275
270
|
|
|
276
271
|
### **1. What:** Workflows, Tasks and Parameters
|
|
277
272
|
|
|
@@ -309,9 +304,9 @@ The resources used by the personas are used to do the work.
|
|
|
309
304
|
|
|
310
305
|
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.
|
|
311
306
|
|
|
312
|
-
The file has `.book` extension
|
|
307
|
+
The file has a `.book` extension and uses UTF-8 encoding without BOM.
|
|
313
308
|
|
|
314
|
-
|
|
309
|
+
Books have two variants: flat — just a prompt without structure, and full — with tasks, commands, and prompts.
|
|
315
310
|
|
|
316
311
|
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.
|
|
317
312
|
|
|
@@ -392,7 +387,7 @@ The following glossary is used to clarify certain concepts:
|
|
|
392
387
|
- **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.
|
|
393
388
|
- **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.
|
|
394
389
|
|
|
395
|
-
_Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
390
|
+
_Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
396
391
|
|
|
397
392
|
|
|
398
393
|
|