@promptbook/openai 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 CHANGED
@@ -259,15 +259,17 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
259
259
 
260
260
  ## ๐Ÿค The Book Abstract
261
261
 
262
- **It's time for a paradigm shift! The future of software is in plain English, French or Latin.**
262
+ **It's time for a paradigm shift! The future of software is written in plain English, French, or Latin.**
263
263
 
264
264
  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**!
265
265
 
266
+
267
+
266
268
  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!
267
269
 
268
270
  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.
269
271
 
270
- This shift is going to happen, whether we are ready for it or not. Our mission is to make it excellently, not just good.
272
+ This shift will happen whether we're ready or not. Our mission is to make it excellent, not just good.
271
273
 
272
274
  **Join us in this journey!**
273
275
 
@@ -375,7 +377,7 @@ Join our growing community of developers and users:
375
377
  <td><a href="https://www.instagram.com/promptbook.studio/">๐Ÿ“ธ Instagram @promptbook.studio</a></td>
376
378
  <td>Visual updates, UI showcases, and design inspiration</td>
377
379
  </tr>
378
-
380
+
379
381
  </tbody>
380
382
  </table>
381
383
 
@@ -388,6 +390,8 @@ Join our growing community of developers and users:
388
390
 
389
391
  _A concise, Markdown-based DSL for crafting AI workflows and automations._
390
392
 
393
+
394
+
391
395
  ### Introduction
392
396
 
393
397
  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.
@@ -415,7 +419,7 @@ Book is a Markdown-based language that simplifies the creation of AI application
415
419
  โ†’ {article}
416
420
  ```
417
421
 
418
- Each part of the book defines one of 3 circles:
422
+ Each part of the book defines one of three circles:
419
423
 
420
424
  ### **1. What:** Workflows, Tasks and Parameters
421
425
 
@@ -437,6 +441,8 @@ Personas can have access to different knowledge, tools and actions. They can als
437
441
 
438
442
  - [PERSONA](https://github.com/webgptorg/promptbook/blob/main/documents/commands/PERSONA.md)
439
443
 
444
+
445
+
440
446
  ### **3. How:** Knowledge, Instruments and Actions
441
447
 
442
448
  The resources used by the personas are used to do the work.
@@ -451,9 +457,9 @@ The resources used by the personas are used to do the work.
451
457
 
452
458
  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.
453
459
 
454
- The file has `.book` extension. It uses `UTF-8` non BOM encoding.
460
+ The file has a `.book` extension and uses UTF-8 encoding without BOM.
455
461
 
456
- Book has two variants: flat - which is just a prompt with no structure, and full - which has a structure with tasks, commands and prompts.
462
+ Books have two variants: flat โ€” just a prompt without structure, and full โ€” with tasks, commands, and prompts.
457
463
 
458
464
  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.
459
465
 
@@ -534,7 +540,9 @@ The following glossary is used to clarify certain concepts:
534
540
  - **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.
535
541
  - **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.
536
542
 
537
- _Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
543
+ _Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
544
+
545
+
538
546
 
539
547
  ### ๐Ÿ’ฏ Core concepts
540
548
 
package/esm/index.es.js CHANGED
@@ -18,7 +18,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
18
18
  * @generated
19
19
  * @see https://github.com/webgptorg/promptbook
20
20
  */
21
- const PROMPTBOOK_ENGINE_VERSION = '0.94.0-14';
21
+ const PROMPTBOOK_ENGINE_VERSION = '0.94.0-16';
22
22
  /**
23
23
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
24
24
  * 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-13`).
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/openai",
3
- "version": "0.94.0-14",
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/openai.index.d.ts",
88
88
  "peerDependencies": {
89
- "@promptbook/core": "0.94.0-14"
89
+ "@promptbook/core": "0.94.0-16"
90
90
  },
91
91
  "dependencies": {
92
92
  "bottleneck": "^2.19.5",
package/umd/index.umd.js CHANGED
@@ -25,7 +25,7 @@
25
25
  * @generated
26
26
  * @see https://github.com/webgptorg/promptbook
27
27
  */
28
- const PROMPTBOOK_ENGINE_VERSION = '0.94.0-14';
28
+ const PROMPTBOOK_ENGINE_VERSION = '0.94.0-16';
29
29
  /**
30
30
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
31
31
  * Note: [๐Ÿ’ž] Ignore a discrepancy between file name and entity name