@promptbook/types 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
|
@@ -269,6 +269,10 @@ But unlike programming languages, it is designed to be understandable by non-pro
|
|
|
269
269
|
|
|
270
270
|
|
|
271
271
|
|
|
272
|
+
## π Security
|
|
273
|
+
|
|
274
|
+
For information on reporting security vulnerabilities, see our [Security Policy](./SECURITY.md).
|
|
275
|
+
|
|
272
276
|
## π¦ Packages _(for developers)_
|
|
273
277
|
|
|
274
278
|
This library is divided into several packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
|
|
@@ -325,7 +329,7 @@ The following glossary is used to clarify certain concepts:
|
|
|
325
329
|
### General LLM / AI terms
|
|
326
330
|
|
|
327
331
|
- **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.
|
|
328
|
-
- **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.
|
|
332
|
+
- [**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)
|
|
329
333
|
- **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.
|
|
330
334
|
- **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.
|
|
331
335
|
- **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.
|
|
@@ -333,10 +337,6 @@ The following glossary is used to clarify certain concepts:
|
|
|
333
337
|
- **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.
|
|
334
338
|
- **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.
|
|
335
339
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
340
|
_Note: This section is not complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
341
341
|
|
|
342
342
|
|
|
@@ -450,6 +450,8 @@ See [TODO.md](./TODO.md)
|
|
|
450
450
|
|
|
451
451
|
## ποΈ Contributing
|
|
452
452
|
|
|
453
|
-
We are open to pull requests, feedback, and suggestions.
|
|
453
|
+
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).
|
|
454
|
+
|
|
455
|
+
## π Support
|
|
454
456
|
|
|
455
|
-
|
|
457
|
+
If you need help or have questions, please check our [Support Resources](./SUPPORT.md).
|
|
@@ -26,7 +26,6 @@ import { DEFAULT_SCRAPE_CACHE_DIRNAME } from '../config';
|
|
|
26
26
|
import { CLI_APP_ID } from '../config';
|
|
27
27
|
import { PLAYGROUND_APP_ID } from '../config';
|
|
28
28
|
import { DEFAULT_PIPELINE_COLLECTION_BASE_FILENAME } from '../config';
|
|
29
|
-
import { REMOTE_SERVER_URLS } from '../config';
|
|
30
29
|
import { DEFAULT_REMOTE_SERVER_URL } from '../config';
|
|
31
30
|
import { DEFAULT_CSV_SETTINGS } from '../config';
|
|
32
31
|
import { DEFAULT_IS_VERBOSE } from '../config';
|
|
@@ -136,6 +135,7 @@ import { MODEL_VARIANTS } from '../types/ModelVariant';
|
|
|
136
135
|
import { NonTaskSectionTypes } from '../types/SectionType';
|
|
137
136
|
import { SectionTypes } from '../types/SectionType';
|
|
138
137
|
import { TaskTypes } from '../types/TaskType';
|
|
138
|
+
import { REMOTE_SERVER_URLS } from '../../servers';
|
|
139
139
|
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };
|
|
140
140
|
export { collectionToJson };
|
|
141
141
|
export { createCollectionFromJson };
|
|
@@ -164,7 +164,6 @@ export { DEFAULT_SCRAPE_CACHE_DIRNAME };
|
|
|
164
164
|
export { CLI_APP_ID };
|
|
165
165
|
export { PLAYGROUND_APP_ID };
|
|
166
166
|
export { DEFAULT_PIPELINE_COLLECTION_BASE_FILENAME };
|
|
167
|
-
export { REMOTE_SERVER_URLS };
|
|
168
167
|
export { DEFAULT_REMOTE_SERVER_URL };
|
|
169
168
|
export { DEFAULT_CSV_SETTINGS };
|
|
170
169
|
export { DEFAULT_IS_VERBOSE };
|
|
@@ -274,3 +273,4 @@ export { MODEL_VARIANTS };
|
|
|
274
273
|
export { NonTaskSectionTypes };
|
|
275
274
|
export { SectionTypes };
|
|
276
275
|
export { TaskTypes };
|
|
276
|
+
export { REMOTE_SERVER_URLS };
|
|
@@ -223,6 +223,7 @@ import type { string_dirname } from '../types/typeAliases';
|
|
|
223
223
|
import type { string_person_fullname } from '../types/typeAliases';
|
|
224
224
|
import type { string_person_profile } from '../types/typeAliases';
|
|
225
225
|
import type { string_license } from '../types/typeAliases';
|
|
226
|
+
import type { string_legal_entity } from '../types/typeAliases';
|
|
226
227
|
import type { string_attribute } from '../types/typeAliases';
|
|
227
228
|
import type { string_attribute_value_scope } from '../types/typeAliases';
|
|
228
229
|
import type { string_color } from '../types/typeAliases';
|
|
@@ -512,6 +513,7 @@ export type { string_dirname };
|
|
|
512
513
|
export type { string_person_fullname };
|
|
513
514
|
export type { string_person_profile };
|
|
514
515
|
export type { string_license };
|
|
516
|
+
export type { string_legal_entity };
|
|
515
517
|
export type { string_attribute };
|
|
516
518
|
export type { string_attribute_value_scope };
|
|
517
519
|
export type { string_color };
|
|
@@ -227,12 +227,6 @@ export declare const DEFAULT_PIPELINE_COLLECTION_BASE_FILENAME = "index";
|
|
|
227
227
|
export declare const MOMENT_ARG_THRESHOLDS: {
|
|
228
228
|
readonly ss: 3;
|
|
229
229
|
};
|
|
230
|
-
/**
|
|
231
|
-
* Available remote servers for the Promptbook
|
|
232
|
-
*
|
|
233
|
-
* @public exported from `@promptbook/core`
|
|
234
|
-
*/
|
|
235
|
-
export declare const REMOTE_SERVER_URLS: Array<string_promptbook_server_url>;
|
|
236
230
|
/**
|
|
237
231
|
* Default remote server URL for the Promptbook
|
|
238
232
|
*
|
|
@@ -527,6 +527,13 @@ export type string_person_profile = string;
|
|
|
527
527
|
* For example `"MIT"`
|
|
528
528
|
*/
|
|
529
529
|
export type string_license = string;
|
|
530
|
+
/**
|
|
531
|
+
* Semantic helper
|
|
532
|
+
*
|
|
533
|
+
* For example `"Pavol HejnΓ½ <pavol@ptbk.io> (https://www.pavolhejny.com/)"`
|
|
534
|
+
* For example `"AI Web, LLC <legal@ptbk.io> (https://www.ptbk.io/)"`
|
|
535
|
+
*/
|
|
536
|
+
export type string_legal_entity = string | string_person_profile | string_title;
|
|
530
537
|
/**
|
|
531
538
|
* Semantic helper for attributes
|
|
532
539
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/types",
|
|
3
|
-
"version": "0.89.0-
|
|
3
|
+
"version": "0.89.0-18",
|
|
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,
|
|
@@ -49,6 +49,6 @@
|
|
|
49
49
|
},
|
|
50
50
|
"typings": "./esm/typings/src/_packages/types.index.d.ts",
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@promptbook/core": "0.89.0-
|
|
52
|
+
"@promptbook/core": "0.89.0-18"
|
|
53
53
|
}
|
|
54
54
|
}
|