@promptbook/cli 0.89.0-16 β†’ 0.89.0-18

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
@@ -298,6 +298,10 @@ But unlike programming languages, it is designed to be understandable by non-pro
298
298
 
299
299
 
300
300
 
301
+ ## πŸ”’ Security
302
+
303
+ For information on reporting security vulnerabilities, see our [Security Policy](./SECURITY.md).
304
+
301
305
  ## πŸ“¦ Packages _(for developers)_
302
306
 
303
307
  This library is divided into several packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
@@ -354,7 +358,7 @@ The following glossary is used to clarify certain concepts:
354
358
  ### General LLM / AI terms
355
359
 
356
360
  - **Prompt drift** is a phenomenon where the AI model starts to generate outputs that are not aligned with the original prompt. This can happen due to the model's training data, the prompt's wording, or the model's architecture.
357
- - **Pipeline, workflow or chain** is a sequence of tasks that are executed in a specific order. In the context of AI, a pipeline can refer to a sequence of AI models that are used to process data.
361
+ - [**Pipeline, workflow scenario or chain** is a sequence of tasks that are executed in a specific order. In the context of AI, a pipeline can refer to a sequence of AI models that are used to process data.](https://github.com/webgptorg/promptbook/discussions/88)
358
362
  - **Fine-tuning** is a process where a pre-trained AI model is further trained on a specific dataset to improve its performance on a specific task.
359
363
  - **Zero-shot learning** is a machine learning paradigm where a model is trained to perform a task without any labeled examples. Instead, the model is provided with a description of the task and is expected to generate the correct output.
360
364
  - **Few-shot learning** is a machine learning paradigm where a model is trained to perform a task with only a few labeled examples. This is in contrast to traditional machine learning, where models are trained on large datasets.
@@ -362,10 +366,6 @@ The following glossary is used to clarify certain concepts:
362
366
  - **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
367
  - **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
368
 
365
-
366
-
367
-
368
-
369
369
  _Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
370
370
 
371
371
 
@@ -479,6 +479,8 @@ See [TODO.md](./TODO.md)
479
479
 
480
480
  ## πŸ–‹οΈ Contributing
481
481
 
482
- We are open to pull requests, feedback, and suggestions.
482
+ You can also ⭐ star the project, [follow us on GitHub](https://github.com/hejny) or [various other social networks](https://www.pavolhejny.com/contact/).We are open to [pull requests, feedback, and suggestions](./CONTRIBUTING.md).
483
+
484
+ ## πŸ“ž Support
483
485
 
484
- You can also ⭐ star the project, [follow us on GitHub](https://github.com/hejny) or [various other social networks](https://www.pavolhejny.com/contact/).
486
+ If you need help or have questions, please check our [Support Resources](./SUPPORT.md).
package/esm/index.es.js CHANGED
@@ -46,12 +46,42 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
46
46
  * @generated
47
47
  * @see https://github.com/webgptorg/promptbook
48
48
  */
49
- const PROMPTBOOK_ENGINE_VERSION = '0.89.0-16';
49
+ const PROMPTBOOK_ENGINE_VERSION = '0.89.0-18';
50
50
  /**
51
51
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
52
52
  * Note: [πŸ’ž] Ignore a discrepancy between file name and entity name
53
53
  */
54
54
 
55
+ /**
56
+ * Available remote servers for the Promptbook
57
+ *
58
+ * @public exported from `@promptbook/core` <- TODO: !!!! Test that this is really exported
59
+ */
60
+ const REMOTE_SERVER_URLS = [
61
+ {
62
+ title: 'Promptbook',
63
+ description: `Servers of Promptbook.studio`,
64
+ owner: 'AI Web, LLC <legal@ptbk.io> (https://www.ptbk.io/)',
65
+ isAnonymousModeAllowed: true,
66
+ urls: [
67
+ 'https://s4.ptbk.io/promptbook',
68
+ 'https://s3.ptbk.io/promptbook',
69
+ 'https://s2.ptbk.io/promptbook',
70
+ 'https://s1.ptbk.io/promptbook',
71
+ ],
72
+ },
73
+ {
74
+ title: 'Pavol Promptbook Server',
75
+ description: `Personal server of Pavol HejnΓ½ with simple testing server, DO NOT USE IT FOR PRODUCTION`,
76
+ owner: 'Pavol HejnΓ½ <pavol@ptbk.io> (https://www.pavolhejny.com/)',
77
+ isAnonymousModeAllowed: true,
78
+ urls: ['https://api.pavolhejny.com/promptbook'],
79
+ },
80
+ ];
81
+ /**
82
+ * Note: [πŸ’ž] Ignore a discrepancy between file name and entity name
83
+ */
84
+
55
85
  /**
56
86
  * Returns the same value that is passed as argument.
57
87
  * No side effects.
@@ -278,21 +308,12 @@ const DEFAULT_PIPELINE_COLLECTION_BASE_FILENAME = `index`;
278
308
  const MOMENT_ARG_THRESHOLDS = {
279
309
  ss: 3, // <- least number of seconds to be counted in seconds, minus 1. Must be set after setting the `s` unit or without setting the `s` unit.
280
310
  };
281
- /**
282
- * Available remote servers for the Promptbook
283
- *
284
- * @public exported from `@promptbook/core`
285
- */
286
- const REMOTE_SERVER_URLS = [
287
- 'https://s1.ptbk.io/promptbook',
288
- 'https://api.pavolhejny.com/promptbook',
289
- ];
290
311
  /**
291
312
  * Default remote server URL for the Promptbook
292
313
  *
293
314
  * @public exported from `@promptbook/core`
294
315
  */
295
- const DEFAULT_REMOTE_SERVER_URL = REMOTE_SERVER_URLS[0];
316
+ const DEFAULT_REMOTE_SERVER_URL = REMOTE_SERVER_URLS[0].urls[0];
296
317
  // <- TODO: [πŸ§œβ€β™‚οΈ]
297
318
  /**
298
319
  * @@@