@promptbook/node 0.75.9 → 0.76.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 CHANGED
@@ -95,7 +95,7 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
95
95
  <tr>
96
96
  <td>Core</td>
97
97
  <td>Promptbook Core is a description and documentation of the basic concepts, ideas and inner workings of how Promptbook should be implemented, and defines what features must be describable by book language.</td>
98
- <td rowspan=2>https://ptbk.io<br/>https://github.com/webgptorg/book</td>
98
+ <td rowspan=2>https://github.com/webgptorg/book</td>
99
99
  </tr>
100
100
  <tr>
101
101
  <td>Book language</td>
@@ -106,7 +106,7 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
106
106
  <tr>
107
107
  <td>Promptbook typescript project</td>
108
108
  <td>Promptbook implementation in TypeScript released as multiple NPM packages</td>
109
- <td>https://github.com/webgptorg/promptbook + Multiple packages on NPM</td>
109
+ <td>https://github.com/webgptorg/promptbook + <a href="https://www.npmjs.com/package/@promptbook/core#-packages-for-developers">Multiple packages published on NPM</a></td>
110
110
  </tr>
111
111
  <tr>
112
112
  <td>Promptbook studio</td>
@@ -126,6 +126,12 @@ Promptbook project is ecosystem of multiple projects and tools, following is a l
126
126
  </tbody>
127
127
  </table>
128
128
 
129
+ Also we have a community of developers and users:
130
+
131
+ - [Discord](https://discord.gg/x3QWNaa89N)
132
+ - [Landing page](https://ptbk.io)
133
+ - [Github discussions](https://github.com/webgptorg/promptbook/discussions)
134
+
129
135
 
130
136
 
131
137
  ## 💙 Book language _(for prompt-engineer)_
@@ -234,6 +240,8 @@ Or you can install them separately:
234
240
  - **[@promptbook/execute-javascript](https://www.npmjs.com/package/@promptbook/execute-javascript)** - Execution tools for javascript inside promptbooks
235
241
  - **[@promptbook/openai](https://www.npmjs.com/package/@promptbook/openai)** - Execution tools for OpenAI API, wrapper around OpenAI SDK
236
242
  - **[@promptbook/anthropic-claude](https://www.npmjs.com/package/@promptbook/anthropic-claude)** - Execution tools for Anthropic Claude API, wrapper around Anthropic Claude SDK
243
+ - **[@promptbook/vercel](https://www.npmjs.com/package/@promptbook/vercel)** - Adapter for Vercel functionalities
244
+ - **[@promptbook/gemini](https://www.npmjs.com/package/@promptbook/gemini)** - Integration with Google's Gemini API
237
245
  - **[@promptbook/azure-openai](https://www.npmjs.com/package/@promptbook/azure-openai)** - Execution tools for Azure OpenAI API
238
246
  - **[@promptbook/langtail](https://www.npmjs.com/package/@promptbook/langtail)** - Execution tools for Langtail API, wrapper around Langtail SDK
239
247
  - **[@promptbook/fake-llm](https://www.npmjs.com/package/@promptbook/fake-llm)** - Mocked execution tools for testing the library and saving the tokens
@@ -253,11 +261,6 @@ Or you can install them separately:
253
261
 
254
262
  ## 📚 Dictionary
255
263
 
256
-
257
-
258
-
259
-
260
-
261
264
  ### 📚 Dictionary
262
265
 
263
266
  The following glossary is used to clarify certain concepts:
@@ -273,8 +276,6 @@ The following glossary is used to clarify certain concepts:
273
276
  - **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.
274
277
  - **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.
275
278
 
276
-
277
-
278
279
  _Note: Thos section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
279
280
 
280
281
  #### Promptbook core
@@ -335,8 +336,6 @@ _Note: Thos section is not complete dictionary, more list of general AI / LLM te
335
336
  - [👮 Agent adversary expectations](https://github.com/webgptorg/promptbook/discussions/39)
336
337
  - [view more](https://github.com/webgptorg/promptbook/discussions/categories/concepts)
337
338
 
338
-
339
-
340
339
  ### Terms specific to Promptbook TypeScript implementation
341
340
 
342
341
  - Anonymous mode
package/esm/index.es.js CHANGED
@@ -26,7 +26,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
26
26
  *
27
27
  * @see https://github.com/webgptorg/promptbook
28
28
  */
29
- var PROMPTBOOK_ENGINE_VERSION = '0.75.8';
29
+ var PROMPTBOOK_ENGINE_VERSION = '0.75.10';
30
30
  /**
31
31
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
32
32
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -6740,6 +6740,7 @@ var MatcherFormfactorDefinition = {
6740
6740
  */
6741
6741
  var SheetsFormfactorDefinition = {
6742
6742
  name: 'SHEETS',
6743
+ aliasNames: ['SHEETS', 'SHEET'],
6743
6744
  description: "@@@",
6744
6745
  documentationUrl: "https://github.com/webgptorg/promptbook/discussions/176",
6745
6746
  pipelineInterface: {
@@ -7884,6 +7885,7 @@ function parseCommandVariant(input) {
7884
7885
  * @private internal base for `ScriptLanguage`
7885
7886
  */
7886
7887
  var SUPPORTED_SCRIPT_LANGUAGES = ['javascript', 'typescript', 'python'];
7888
+ // <- TODO: [🏥] DRY
7887
7889
 
7888
7890
  /**
7889
7891
  * Utility function to extract all list items from markdown