@promptbook/documents 0.86.0-13 → 0.86.0-14

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/esm/index.es.js CHANGED
@@ -28,7 +28,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
28
28
  * @generated
29
29
  * @see https://github.com/webgptorg/promptbook
30
30
  */
31
- var PROMPTBOOK_ENGINE_VERSION = '0.86.0-13';
31
+ var PROMPTBOOK_ENGINE_VERSION = '0.86.0-14';
32
32
  /**
33
33
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
34
34
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1274,7 +1274,7 @@ function capitalize(word) {
1274
1274
  * Converts promptbook in JSON format to string format
1275
1275
  *
1276
1276
  * @deprecated TODO: [🥍][🧠] Backup original files in `PipelineJson` same as in Promptbook.studio
1277
- * @param pipelineJson Promptbook in JSON format (.book.json)
1277
+ * @param pipelineJson Promptbook in JSON format (.bookc)
1278
1278
  * @returns Promptbook in string format (.book.md)
1279
1279
  * @public exported from `@promptbook/core`
1280
1280
  */
@@ -13,7 +13,7 @@ import type { PrepareAndScrapeOptions } from '../prepare/PrepareAndScrapeOptions
13
13
  * @param pipelineString {Promptbook} in string markdown format (.book.md)
14
14
  * @param tools - Tools for the preparation and scraping - if not provided together with `llm`, the preparation will be skipped
15
15
  * @param options - Options and tools for the compilation
16
- * @returns {Promptbook} compiled in JSON format (.book.json)
16
+ * @returns {Promptbook} compiled in JSON format (.bookc)
17
17
  * @throws {ParseError} if the promptbook string is not valid
18
18
  * @public exported from `@promptbook/core`
19
19
  */
@@ -11,7 +11,7 @@ import type { RemoteClientOptions } from '../remote-server/types/RemoteClientOpt
11
11
  *
12
12
  * @param pipelineString {Promptbook} in string markdown format (.book.md)
13
13
  * @param options - Configuration of the remote server
14
- * @returns {Promptbook} compiled in JSON format (.book.json)
14
+ * @returns {Promptbook} compiled in JSON format (.bookc)
15
15
  * @throws {ParseError} if the promptbook string is not valid
16
16
  * @public exported from `@promptbook/remote-client`
17
17
  */
@@ -12,7 +12,7 @@ import type { PipelineString } from '../pipeline/PipelineString';
12
12
  * Note: This function acts as compilation process
13
13
  *
14
14
  * @param pipelineString {Promptbook} in string markdown format (.book.md)
15
- * @returns {Promptbook} compiled in JSON format (.book.json)
15
+ * @returns {Promptbook} compiled in JSON format (.bookc)
16
16
  * @throws {ParseError} if the promptbook string is not valid
17
17
  * @public exported from `@promptbook/core`
18
18
  */
@@ -4,7 +4,7 @@ import type { PipelineString } from '../pipeline/PipelineString';
4
4
  * Converts promptbook in JSON format to string format
5
5
  *
6
6
  * @deprecated TODO: [🥍][🧠] Backup original files in `PipelineJson` same as in Promptbook.studio
7
- * @param pipelineJson Promptbook in JSON format (.book.json)
7
+ * @param pipelineJson Promptbook in JSON format (.bookc)
8
8
  * @returns Promptbook in string format (.book.md)
9
9
  * @public exported from `@promptbook/core`
10
10
  */
@@ -2,7 +2,7 @@ import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
2
2
  import type { PipelineString } from '../../pipeline/PipelineString';
3
3
  import type { string_json } from '../../types/typeAliases';
4
4
  /**
5
- * Import the pipeline.book or pipeline.book.json file
5
+ * Import the pipeline.book or pipeline.bookc file
6
6
  *
7
7
  * Note: Using here custom import to work in jest tests
8
8
  * Note: Using sync version is 💩 in the production code, but it's ok here in tests
@@ -11,19 +11,19 @@ import type { string_json } from '../../types/typeAliases';
11
11
  * @private internal function of tests
12
12
  */
13
13
  export declare function importPipelineWithoutPreparation(path: `${string}.book`): PipelineString;
14
- export declare function importPipelineWithoutPreparation(path: `${string}.book.json`): PipelineJson;
14
+ export declare function importPipelineWithoutPreparation(path: `${string}.bookc`): PipelineJson;
15
15
  /**
16
- * Import the pipeline.book.json file as parsed JSON
16
+ * Import the pipeline.bookc file as parsed JSON
17
17
  *
18
18
  * @private internal function of tests
19
19
  */
20
- export declare function importPipelineJson(path: `${string}.book.json`): PipelineJson;
20
+ export declare function importPipelineJson(path: `${string}.bookc`): PipelineJson;
21
21
  /**
22
- * Import the pipeline.book.json file as string
22
+ * Import the pipeline.bookc file as string
23
23
  *
24
24
  * @private internal function of tests
25
25
  */
26
- export declare function importPipelineJsonAsString(path: `${string}.book.json`): string_json<PipelineJson>;
26
+ export declare function importPipelineJsonAsString(path: `${string}.bookc`): string_json<PipelineJson>;
27
27
  /**
28
28
  * Note: [💞] Ignore a discrepancy between file name and entity name
29
29
  * Note: [⚫] Code in this file should never be published in any package
@@ -18,5 +18,5 @@ export type PreparationJson = {
18
18
  /**
19
19
  * TODO: [🍙] Make some standard order of json properties
20
20
  * TODO: Maybe put here used `modelName`
21
- * TODO: [🍥] When using `date` it changes all examples .book.json files each time so until some more elegant solution omit the time from prepared pipeline
21
+ * TODO: [🍥] When using `date` it changes all examples .bookc files each time so until some more elegant solution omit the time from prepared pipeline
22
22
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/documents",
3
- "version": "0.86.0-13",
3
+ "version": "0.86.0-14",
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,
@@ -47,7 +47,7 @@
47
47
  "module": "./esm/index.es.js",
48
48
  "typings": "./esm/typings/src/_packages/documents.index.d.ts",
49
49
  "peerDependencies": {
50
- "@promptbook/core": "0.86.0-13"
50
+ "@promptbook/core": "0.86.0-14"
51
51
  },
52
52
  "dependencies": {
53
53
  "colors": "1.4.0",
package/umd/index.umd.js CHANGED
@@ -26,7 +26,7 @@
26
26
  * @generated
27
27
  * @see https://github.com/webgptorg/promptbook
28
28
  */
29
- var PROMPTBOOK_ENGINE_VERSION = '0.86.0-13';
29
+ var PROMPTBOOK_ENGINE_VERSION = '0.86.0-14';
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
@@ -1272,7 +1272,7 @@
1272
1272
  * Converts promptbook in JSON format to string format
1273
1273
  *
1274
1274
  * @deprecated TODO: [🥍][🧠] Backup original files in `PipelineJson` same as in Promptbook.studio
1275
- * @param pipelineJson Promptbook in JSON format (.book.json)
1275
+ * @param pipelineJson Promptbook in JSON format (.bookc)
1276
1276
  * @returns Promptbook in string format (.book.md)
1277
1277
  * @public exported from `@promptbook/core`
1278
1278
  */