@promptbook/core 0.44.0-20 → 0.44.0-21

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
@@ -8,10 +8,31 @@ Library to supercharge your use of large language models
8
8
  [![License of 📖 Prompt book](https://img.shields.io/github/license/webgptorg/promptbook.svg?style=flat)](https://github.com/webgptorg/promptbook/blob/main/LICENSE)
9
9
  [![Known Vulnerabilities](https://snyk.io/test/github/webgptorg/promptbook/badge.svg)](https://snyk.io/test/github/webgptorg/promptbook)
10
10
  [![Issues](https://img.shields.io/github/issues/webgptorg/promptbook.svg?style=flat)](https://github.com/webgptorg/promptbook/issues)
11
+ [![Socket Badge](https://socket.dev/api/badge/npm/package/@promptbook/core)](https://socket.dev/npm/package/@promptbook/core)
11
12
 
12
13
  <!--/Badges-->
13
14
 
15
+ ## 📦 Package `@promptbook/core`
16
+
17
+ - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
18
+ - This package `@promptbook/core` is one part of the promptbook ecosystem.
19
+
20
+ To install this package, run:
21
+
22
+ ```bash
23
+ npm i @promptbook/core
24
+ ```
25
+
26
+ Core of the library, it contains the main logic for promptbooks
27
+
28
+ ---
29
+
30
+ Rest of the documentation is common for entire promptbook ecosystem:
31
+
32
+ <!--
33
+ TODO: Probbably remove this section only in packages
14
34
  > ⚠ Warning: This library is still in early development.
35
+ -->
15
36
 
16
37
  ## 🤍 Whitepaper
17
38
 
@@ -282,6 +303,22 @@ flowchart LR
282
303
 
283
304
  _Note: We are using [postprocessing functions](#postprocessing-functions) like `unwrapResult` that can be used to postprocess the result._
284
305
 
306
+ ## 📦 Packages
307
+
308
+ This library is divided into several packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook):
309
+
310
+ <!--[🔠]-->
311
+
312
+ - **[@promptbook/core](https://www.npmjs.com/package/@promptbook/core)** - Core of the library, it contains the main logic for promptbooks
313
+ - **[@promptbook/utils](https://www.npmjs.com/package/@promptbook/utils)** - Utility functions used in the library but also useful for individual use in preprocessing and postprocessing LLM inputs and outputs
314
+ - _(Not finished)_ **[@promptbook/wizzard](https://www.npmjs.com/package/@promptbook/wizzard)** - Wizard for creating+running promptbooks in single line
315
+ - **[@promptbook/execute-javascript](https://www.npmjs.com/package/@promptbook/execute-javascript)** - Execution tools for javascript inside promptbooks
316
+ - **[@promptbook/openai](https://www.npmjs.com/package/@promptbook/openai)** - Execution tools for OpenAI API, wrapper around OpenAI SDK
317
+ - **[@promptbook/remote-client](https://www.npmjs.com/package/@promptbook/remote-client)** - Remote client for remote execution of promptbooks
318
+ - **[@promptbook/remote-server](https://www.npmjs.com/package/@promptbook/remote-server)** - Remote server for remote execution of promptbooks
319
+ - **[@promptbook/types](https://www.npmjs.com/package/@promptbook/types)** - Just typescript types used in the library
320
+ - **[@promptbook/cli](https://www.npmjs.com/package/@promptbook/cli)** - Command line interface utilities for promptbooks
321
+
285
322
  ## 📚 Dictionary
286
323
 
287
324
  The following glossary is used to clarify certain basic concepts:
package/esm/index.es.js CHANGED
@@ -1161,7 +1161,7 @@ function parsingMarkdownStructureToMarkdownStructure(parsingMarkdownStructure) {
1161
1161
  /**
1162
1162
  * The version of the Promptbook library
1163
1163
  */
1164
- var PROMPTBOOK_VERSION = '0.44.0-19';
1164
+ var PROMPTBOOK_VERSION = '0.44.0-20';
1165
1165
 
1166
1166
  /**
1167
1167
  * Parses the given script and returns the list of all used variables that are not defined in the script
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/core",
3
- "version": "0.44.0-20",
3
+ "version": "0.44.0-21",
4
4
  "description": "Library to supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
package/umd/index.umd.js CHANGED
@@ -1161,7 +1161,7 @@
1161
1161
  /**
1162
1162
  * The version of the Promptbook library
1163
1163
  */
1164
- var PROMPTBOOK_VERSION = '0.44.0-19';
1164
+ var PROMPTBOOK_VERSION = '0.44.0-20';
1165
1165
 
1166
1166
  /**
1167
1167
  * Parses the given script and returns the list of all used variables that are not defined in the script