@promptbook/google 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 +2 -2
- package/umd/index.umd.js +1 -1
package/README.md
CHANGED
|
@@ -249,15 +249,17 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
249
249
|
|
|
250
250
|
## ๐ค The Book Abstract
|
|
251
251
|
|
|
252
|
-
**It's time for a paradigm shift! The future of software is in plain English, French or Latin.**
|
|
252
|
+
**It's time for a paradigm shift! The future of software is written in plain English, French, or Latin.**
|
|
253
253
|
|
|
254
254
|
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**!
|
|
255
255
|
|
|
256
|
+
|
|
257
|
+
|
|
256
258
|
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!
|
|
257
259
|
|
|
258
260
|
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.
|
|
259
261
|
|
|
260
|
-
This shift
|
|
262
|
+
This shift will happen whether we're ready or not. Our mission is to make it excellent, not just good.
|
|
261
263
|
|
|
262
264
|
**Join us in this journey!**
|
|
263
265
|
|
|
@@ -365,7 +367,7 @@ Join our growing community of developers and users:
|
|
|
365
367
|
<td><a href="https://www.instagram.com/promptbook.studio/">๐ธ Instagram @promptbook.studio</a></td>
|
|
366
368
|
<td>Visual updates, UI showcases, and design inspiration</td>
|
|
367
369
|
</tr>
|
|
368
|
-
|
|
370
|
+
|
|
369
371
|
</tbody>
|
|
370
372
|
</table>
|
|
371
373
|
|
|
@@ -378,6 +380,8 @@ Join our growing community of developers and users:
|
|
|
378
380
|
|
|
379
381
|
_A concise, Markdown-based DSL for crafting AI workflows and automations._
|
|
380
382
|
|
|
383
|
+
|
|
384
|
+
|
|
381
385
|
### Introduction
|
|
382
386
|
|
|
383
387
|
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.
|
|
@@ -405,7 +409,7 @@ Book is a Markdown-based language that simplifies the creation of AI application
|
|
|
405
409
|
โ {article}
|
|
406
410
|
```
|
|
407
411
|
|
|
408
|
-
Each part of the book defines one of
|
|
412
|
+
Each part of the book defines one of three circles:
|
|
409
413
|
|
|
410
414
|
### **1. What:** Workflows, Tasks and Parameters
|
|
411
415
|
|
|
@@ -427,6 +431,8 @@ Personas can have access to different knowledge, tools and actions. They can als
|
|
|
427
431
|
|
|
428
432
|
- [PERSONA](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PERSONA.md)
|
|
429
433
|
|
|
434
|
+
|
|
435
|
+
|
|
430
436
|
### **3. How:** Knowledge, Instruments and Actions
|
|
431
437
|
|
|
432
438
|
The resources used by the personas are used to do the work.
|
|
@@ -441,9 +447,9 @@ The resources used by the personas are used to do the work.
|
|
|
441
447
|
|
|
442
448
|
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.
|
|
443
449
|
|
|
444
|
-
The file has `.book` extension
|
|
450
|
+
The file has a `.book` extension and uses UTF-8 encoding without BOM.
|
|
445
451
|
|
|
446
|
-
|
|
452
|
+
Books have two variants: flat โ just a prompt without structure, and full โ with tasks, commands, and prompts.
|
|
447
453
|
|
|
448
454
|
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.
|
|
449
455
|
|
|
@@ -524,7 +530,9 @@ The following glossary is used to clarify certain concepts:
|
|
|
524
530
|
- **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.
|
|
525
531
|
- **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.
|
|
526
532
|
|
|
527
|
-
_Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
533
|
+
_Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
534
|
+
|
|
535
|
+
|
|
528
536
|
|
|
529
537
|
### ๐ฏ Core concepts
|
|
530
538
|
|
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/google",
|
|
3
|
-
"version": "0.94.0-
|
|
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/google.index.d.ts",
|
|
88
88
|
"peerDependencies": {
|
|
89
|
-
"@promptbook/core": "0.94.0-
|
|
89
|
+
"@promptbook/core": "0.94.0-16"
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
92
|
"@ai-sdk/google": "1.0.5",
|
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-
|
|
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
|