@promptbook/markdown-utils 0.92.0-7 → 0.92.0-9

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
@@ -25,7 +25,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
25
25
  * @generated
26
26
  * @see https://github.com/webgptorg/promptbook
27
27
  */
28
- const PROMPTBOOK_ENGINE_VERSION = '0.92.0-7';
28
+ const PROMPTBOOK_ENGINE_VERSION = '0.92.0-9';
29
29
  /**
30
30
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
31
31
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -16,6 +16,10 @@ export type CommonToolsOptions = {
16
16
  * If true, the internal executions will be logged
17
17
  */
18
18
  readonly isVerbose?: boolean;
19
+ /**
20
+ * Maximum number of requests per minute
21
+ */
22
+ readonly maxRequestsPerMinute?: number;
19
23
  };
20
24
  /**
21
25
  * TODO: [🧠][ðŸĪš] Maybe allow overriding of `userId` for each prompt
@@ -19,6 +19,10 @@ export declare class AzureOpenAiExecutionTools implements LlmExecutionTools {
19
19
  * OpenAI Azure API client.
20
20
  */
21
21
  private client;
22
+ /**
23
+ * Rate limiter instance
24
+ */
25
+ private limiter;
22
26
  /**
23
27
  * Creates OpenAI Execution Tools.
24
28
  *
@@ -20,6 +20,10 @@ export declare class OpenAiExecutionTools implements LlmExecutionTools {
20
20
  * OpenAI API client.
21
21
  */
22
22
  private client;
23
+ /**
24
+ * Rate limiter instance
25
+ */
26
+ private limiter;
23
27
  /**
24
28
  * Creates OpenAI Execution Tools.
25
29
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/markdown-utils",
3
- "version": "0.92.0-7",
3
+ "version": "0.92.0-9",
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,
package/umd/index.umd.js CHANGED
@@ -25,7 +25,7 @@
25
25
  * @generated
26
26
  * @see https://github.com/webgptorg/promptbook
27
27
  */
28
- const PROMPTBOOK_ENGINE_VERSION = '0.92.0-7';
28
+ const PROMPTBOOK_ENGINE_VERSION = '0.92.0-9';
29
29
  /**
30
30
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
31
31
  * Note: [💞] Ignore a discrepancy between file name and entity name