@promptbook/vercel 0.88.0-8 → 0.88.0-9
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 +3 -26
- package/esm/index.es.js +1 -1
- package/esm/typings/src/_packages/utils.index.d.ts +2 -0
- package/esm/typings/src/utils/serialization/jsonStringsToJsons.d.ts +9 -0
- package/esm/typings/src/utils/serialization/jsonStringsToJsons.test.d.ts +1 -0
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
package/README.md
CHANGED
|
@@ -118,8 +118,6 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
118
118
|
|
|
119
119
|
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**!
|
|
120
120
|
|
|
121
|
-
|
|
122
|
-
|
|
123
121
|
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!
|
|
124
122
|
|
|
125
123
|
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.
|
|
@@ -182,21 +180,16 @@ We also have a community of developers and users of **Promptbook**:
|
|
|
182
180
|
- [Landing page `ptbk.io`](https://ptbk.io)
|
|
183
181
|
- [Github discussions](https://github.com/webgptorg/promptbook/discussions)
|
|
184
182
|
- [LinkedIn `Promptbook`](https://linkedin.com/company/promptbook)
|
|
185
|
-
- [Facebook `Promptbook`](https://www.facebook.com/61560776453536)
|
|
183
|
+
- [Facebook `Promptbook`](https://www.facebook.com/61560776453536)
|
|
186
184
|
|
|
187
185
|
And **Promptbook.studio** branded socials:
|
|
188
186
|
|
|
189
|
-
|
|
190
|
-
|
|
191
187
|
- [Instagram `@promptbook.studio`](https://www.instagram.com/promptbook.studio/)
|
|
192
188
|
|
|
193
189
|
And **Promptujeme** sub-brand:
|
|
194
190
|
|
|
195
191
|
_/Subbrand for Czech clients/_
|
|
196
192
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
193
|
- [Promptujeme.cz](https://www.promptujeme.cz/)
|
|
201
194
|
- [Facebook `Promptujeme`](https://www.facebook.com/promptujeme/)
|
|
202
195
|
|
|
@@ -214,8 +207,6 @@ _/Sub-brand for images and graphics generated via Promptbook prompting/_
|
|
|
214
207
|
|
|
215
208
|
## 💙 The Book language
|
|
216
209
|
|
|
217
|
-
|
|
218
|
-
|
|
219
210
|
Following is the documentation and blueprint of the [Book language](https://github.com/webgptorg/book).
|
|
220
211
|
|
|
221
212
|
Book is a language that can be used to write AI applications, agents, workflows, automations, knowledgebases, translators, sheet processors, email automations and more. It allows you to harness the power of AI models in human-like terms, without the need to know the specifics and technicalities of the models.
|
|
@@ -265,8 +256,6 @@ Personas can have access to different knowledge, tools and actions. They can als
|
|
|
265
256
|
|
|
266
257
|
- [PERSONA](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PERSONA.md)
|
|
267
258
|
|
|
268
|
-
|
|
269
|
-
|
|
270
259
|
### **How:** Knowledge, Instruments and Actions
|
|
271
260
|
|
|
272
261
|
The resources used by the personas are used to do the work.
|
|
@@ -342,11 +331,6 @@ Or you can install them separately:
|
|
|
342
331
|
|
|
343
332
|
## 📚 Dictionary
|
|
344
333
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
334
|
### 📚 Dictionary
|
|
351
335
|
|
|
352
336
|
The following glossary is used to clarify certain concepts:
|
|
@@ -362,12 +346,8 @@ The following glossary is used to clarify certain concepts:
|
|
|
362
346
|
- **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.
|
|
363
347
|
- **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.
|
|
364
348
|
|
|
365
|
-
|
|
366
|
-
|
|
367
349
|
_Note: Thos section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
368
350
|
|
|
369
|
-
|
|
370
|
-
|
|
371
351
|
#### 💯 Core concepts
|
|
372
352
|
|
|
373
353
|
- [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
|
|
@@ -396,8 +376,6 @@ _Note: Thos section is not complete dictionary, more list of general AI / LLM te
|
|
|
396
376
|
- [👮 Agent adversary expectations](https://github.com/webgptorg/promptbook/discussions/39)
|
|
397
377
|
- [view more](https://github.com/webgptorg/promptbook/discussions/categories/concepts)
|
|
398
378
|
|
|
399
|
-
|
|
400
|
-
|
|
401
379
|
### Terms specific to Promptbook TypeScript implementation
|
|
402
380
|
|
|
403
381
|
- Anonymous mode
|
|
@@ -405,10 +383,9 @@ _Note: Thos section is not complete dictionary, more list of general AI / LLM te
|
|
|
405
383
|
|
|
406
384
|
|
|
407
385
|
|
|
408
|
-
##
|
|
386
|
+
## 🚂 Promptbook Engine
|
|
409
387
|
|
|
410
|
-
|
|
411
|
-
- [Usage with client and remote server](./examples/usage/remote)
|
|
388
|
+

|
|
412
389
|
|
|
413
390
|
## ➕➖ When to use Promptbook?
|
|
414
391
|
|
package/esm/index.es.js
CHANGED
|
@@ -15,7 +15,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
15
15
|
* @generated
|
|
16
16
|
* @see https://github.com/webgptorg/promptbook
|
|
17
17
|
*/
|
|
18
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.88.0-
|
|
18
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.88.0-9';
|
|
19
19
|
/**
|
|
20
20
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
21
21
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -62,6 +62,7 @@ import { clonePipeline } from '../utils/serialization/clonePipeline';
|
|
|
62
62
|
import { deepClone } from '../utils/serialization/deepClone';
|
|
63
63
|
import { exportJson } from '../utils/serialization/exportJson';
|
|
64
64
|
import { isSerializableAsJson } from '../utils/serialization/isSerializableAsJson';
|
|
65
|
+
import { jsonStringsToJsons } from '../utils/serialization/jsonStringsToJsons';
|
|
65
66
|
import { difference } from '../utils/sets/difference';
|
|
66
67
|
import { intersection } from '../utils/sets/intersection';
|
|
67
68
|
import { union } from '../utils/sets/union';
|
|
@@ -143,6 +144,7 @@ export { clonePipeline };
|
|
|
143
144
|
export { deepClone };
|
|
144
145
|
export { exportJson };
|
|
145
146
|
export { isSerializableAsJson };
|
|
147
|
+
export { jsonStringsToJsons };
|
|
146
148
|
export { difference };
|
|
147
149
|
export { intersection };
|
|
148
150
|
export { union };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/vercel",
|
|
3
|
-
"version": "0.88.0-
|
|
3
|
+
"version": "0.88.0-9",
|
|
4
4
|
"description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"module": "./esm/index.es.js",
|
|
48
48
|
"typings": "./esm/typings/src/_packages/vercel.index.d.ts",
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@promptbook/core": "0.88.0-
|
|
50
|
+
"@promptbook/core": "0.88.0-9"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"colors": "1.4.0",
|
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.88.0-
|
|
26
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.88.0-9';
|
|
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
|