@promptbook/legacy-documents 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/legacy-documents",
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/legacy-documents.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
@@ -26,7 +26,7 @@
26
26
  * @generated
27
27
  * @see https://github.com/webgptorg/promptbook
28
28
  */
29
- const PROMPTBOOK_ENGINE_VERSION = '0.92.0-29';
29
+ const PROMPTBOOK_ENGINE_VERSION = '0.92.0-30';
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
@@ -4358,13 +4358,10 @@
4358
4358
  if (onProgress) {
4359
4359
  // Note: Report the CSV with all rows mapped so far
4360
4360
  /*
4361
- !!!!
4362
- // Report progress with updated value
4363
- const progressData = mappedData.map((row, i) =>
4364
- i > index ? { ...row, [outputParameterName]: PENDING_VALUE_PLACEHOLDER } : row,
4365
- );
4366
-
4367
-
4361
+ // TODO: [🛕] Report progress with all the rows including the pending ones
4362
+ const progressData = mappedData.map((row, i) =>
4363
+ i > index ? { ...row, [outputParameterName]: PENDING_VALUE_PLACEHOLDER } : row,
4364
+ );
4368
4365
  */
4369
4366
  await onProgress(papaparse.unparse(mappedData, { ...settings, ...MANDATORY_CSV_SETTINGS }));
4370
4367
  }