@promptbook/openai 0.103.0-31 → 0.103.0-32

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
@@ -19,7 +19,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
19
19
  * @generated
20
20
  * @see https://github.com/webgptorg/promptbook
21
21
  */
22
- const PROMPTBOOK_ENGINE_VERSION = '0.103.0-31';
22
+ const PROMPTBOOK_ENGINE_VERSION = '0.103.0-32';
23
23
  /**
24
24
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
25
25
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -4,7 +4,7 @@ import { string_book } from './string_book';
4
4
  *
5
5
  * @public exported from `@promptbook/core`
6
6
  */
7
- export declare const PADDING_LINES = 11;
7
+ export declare const PADDING_LINES = 4;
8
8
  /**
9
9
  * A function that adds padding to the book content
10
10
  *
@@ -1,7 +1,6 @@
1
1
  import type { ExecutionTools } from '../../execution/ExecutionTools';
2
2
  import type { PrepareAndScrapeOptions } from '../../prepare/PrepareAndScrapeOptions';
3
- import type { string_dirname } from '../../types/typeAliases';
4
- import type { string_pipeline_root_url } from '../../types/typeAliases';
3
+ import type { string_dirname, string_pipeline_root_url } from '../../types/typeAliases';
5
4
  import type { PipelineCollection } from '../PipelineCollection';
6
5
  /**
7
6
  * Options for `createCollectionFromDirectory` function
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ts-node
2
+ export {};
3
+ /**
4
+ * Note: [⚫] Code in this file should never be published in any package
5
+ */
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ts-node
2
+ export {};
3
+ /**
4
+ * Note: [⚫] Code in this file should never be published in any package
5
+ */
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ts-node
2
+ export {};
3
+ /**
4
+ * Note: [⚫] Code in this file should never be published in any package
5
+ */
@@ -1,5 +1,2 @@
1
1
  #!/usr/bin/env ts-node
2
2
  export {};
3
- /**
4
- * Note: [⚫] Code in this file should never be published in any package
5
- */
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env ts-node
2
+ export {};
@@ -7,7 +7,7 @@ import { Registration } from '../../_packages/types.index';
7
7
  * @public exported from `@promptbook/wizard`
8
8
  * @public exported from `@promptbook/cli`
9
9
  *
10
- * TODO: !!!! Which package should export this?
10
+ * TODO: !!!! Which package should export this? - `@promptbook/core` vs `@promptbook/transpilers` vs `@promptbook/langchain`
11
11
  */
12
12
  export declare const _LangchainTranspilerRegistration: Registration;
13
13
  /**
@@ -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.103.0-30`).
18
+ * It follows semantic versioning (e.g., `0.103.0-31`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/openai",
3
- "version": "0.103.0-31",
3
+ "version": "0.103.0-32",
4
4
  "description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -102,11 +102,11 @@
102
102
  "module": "./esm/index.es.js",
103
103
  "typings": "./esm/typings/src/_packages/openai.index.d.ts",
104
104
  "peerDependencies": {
105
- "@promptbook/core": "0.103.0-31"
105
+ "@promptbook/core": "0.103.0-32"
106
106
  },
107
107
  "dependencies": {
108
108
  "bottleneck": "2.19.5",
109
- "colors": "1.4.0",
109
+ "colors": "^1.4.0",
110
110
  "crypto": "1.0.1",
111
111
  "openai": "4.63.0",
112
112
  "socket.io-client": "4.7.5",
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.103.0-31';
28
+ const PROMPTBOOK_ENGINE_VERSION = '0.103.0-32';
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