@promptbook/node 0.92.0-29 → 0.92.0-30

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.
@@ -35,7 +35,7 @@ import { DEFAULT_IS_VERBOSE } from '../config';
35
35
  import { SET_IS_VERBOSE } from '../config';
36
36
  import { DEFAULT_IS_AUTO_INSTALLED } from '../config';
37
37
  import { DEFAULT_GET_PIPELINE_COLLECTION_FUNCTION_NAME } from '../config';
38
- import { DEFAULT_RPM } from '../config';
38
+ import { DEFAULT_MAX_REQUESTS_PER_MINUTE } from '../config';
39
39
  import { MODEL_TRUST_LEVELS } from '../constants';
40
40
  import { MODEL_ORDERS } from '../constants';
41
41
  import { ORDER_OF_PIPELINE_JSON } from '../constants';
@@ -182,7 +182,7 @@ export { DEFAULT_IS_VERBOSE };
182
182
  export { SET_IS_VERBOSE };
183
183
  export { DEFAULT_IS_AUTO_INSTALLED };
184
184
  export { DEFAULT_GET_PIPELINE_COLLECTION_FUNCTION_NAME };
185
- export { DEFAULT_RPM };
185
+ export { DEFAULT_MAX_REQUESTS_PER_MINUTE };
186
186
  export { MODEL_TRUST_LEVELS };
187
187
  export { MODEL_ORDERS };
188
188
  export { ORDER_OF_PIPELINE_JSON };
@@ -294,7 +294,7 @@ export declare const DEFAULT_GET_PIPELINE_COLLECTION_FUNCTION_NAME = "getPipelin
294
294
  *
295
295
  * @public exported from `@promptbook/core`
296
296
  */
297
- export declare const DEFAULT_RPM = 60;
297
+ export declare const DEFAULT_MAX_REQUESTS_PER_MINUTE = 60;
298
298
  /**
299
299
  * Indicates whether pipeline logic validation is enabled. When true, the pipeline logic is checked for consistency.
300
300
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @private !!!! Decide how to expose this
2
+ * @private [🥺] Decide how to expose this
3
3
  */
4
4
  export declare const openapiJson: {
5
5
  openapi: string;
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
15
15
  export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
16
16
  /**
17
17
  * Represents the version string of the Promptbook engine.
18
- * It follows semantic versioning (e.g., `0.92.0-28`).
18
+ * It follows semantic versioning (e.g., `0.92.0-29`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/node",
3
- "version": "0.92.0-29",
3
+ "version": "0.92.0-30",
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,
@@ -51,7 +51,7 @@
51
51
  "module": "./esm/index.es.js",
52
52
  "typings": "./esm/typings/src/_packages/node.index.d.ts",
53
53
  "peerDependencies": {
54
- "@promptbook/core": "0.92.0-29"
54
+ "@promptbook/core": "0.92.0-30"
55
55
  },
56
56
  "dependencies": {
57
57
  "colors": "1.4.0",
package/umd/index.umd.js CHANGED
@@ -46,7 +46,7 @@
46
46
  * @generated
47
47
  * @see https://github.com/webgptorg/promptbook
48
48
  */
49
- const PROMPTBOOK_ENGINE_VERSION = '0.92.0-29';
49
+ const PROMPTBOOK_ENGINE_VERSION = '0.92.0-30';
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
@@ -2652,13 +2652,10 @@
2652
2652
  if (onProgress) {
2653
2653
  // Note: Report the CSV with all rows mapped so far
2654
2654
  /*
2655
- !!!!
2656
- // Report progress with updated value
2657
- const progressData = mappedData.map((row, i) =>
2658
- i > index ? { ...row, [outputParameterName]: PENDING_VALUE_PLACEHOLDER } : row,
2659
- );
2660
-
2661
-
2655
+ // TODO: [🛕] Report progress with all the rows including the pending ones
2656
+ const progressData = mappedData.map((row, i) =>
2657
+ i > index ? { ...row, [outputParameterName]: PENDING_VALUE_PLACEHOLDER } : row,
2658
+ );
2662
2659
  */
2663
2660
  await onProgress(papaparse.unparse(mappedData, { ...settings, ...MANDATORY_CSV_SETTINGS }));
2664
2661
  }