@promptbook/openai 0.52.0-15 → 0.52.0-16

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.
@@ -11,17 +11,19 @@ import { SimplePromptInterfaceTools } from '../execution/plugins/user-interface-
11
11
  import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations';
12
12
  import { createPromptbookLibraryFromDirectory } from '../library/constructors/createPromptbookLibraryFromDirectory';
13
13
  import { createPromptbookLibraryFromPromise } from '../library/constructors/createPromptbookLibraryFromPromise';
14
- import { createPromptbookLibraryFromUrl } from '../library/constructors/createPromptbookLibraryFromUrl';
15
14
  import { createPromptbookLibraryFromSources } from '../library/constructors/createPromptbookLibraryFromSources';
15
+ import { createPromptbookLibraryFromUrl } from '../library/constructors/createPromptbookLibraryFromUrl';
16
16
  import { createPromptbookSublibrary } from '../library/constructors/createPromptbookSublibrary';
17
+ import { justTestFsImport } from '../library/constructors/justTestFsImport';
17
18
  import { SimplePromptbookLibrary } from '../library/SimplePromptbookLibrary';
18
19
  import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString';
19
20
  import { ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
20
21
  import { ExecutionTypes } from '../types/ExecutionTypes';
21
22
  import { PROMPTBOOK_VERSION } from '../version';
23
+ export { justTestFsImport };
22
24
  export { ExecutionTypes, PROMPTBOOK_VERSION };
23
25
  export { assertsExecutionSuccessful, checkExpectations, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, isPassingExpectations, prettifyPromptbookString, };
24
- export { createPromptbookLibraryFromDirectory, createPromptbookLibraryFromUrl, createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, SimplePromptbookLibrary, };
26
+ export { createPromptbookLibraryFromDirectory, createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookLibraryFromUrl, createPromptbookSublibrary, SimplePromptbookLibrary, };
25
27
  export { SimplePromptInterfaceTools };
26
28
  export { promptbookJsonToString, promptbookStringToJson, validatePromptbookJson };
27
29
  export { createPromptbookExecutor, MultipleLlmExecutionTools };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Just testing imports and compatibility
3
+ */
4
+ export declare function justTestFsImport(): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/openai",
3
- "version": "0.52.0-15",
3
+ "version": "0.52.0-16",
4
4
  "description": "Library to supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -48,7 +48,7 @@
48
48
  }
49
49
  ],
50
50
  "peerDependencies": {
51
- "@promptbook/core": "0.52.0-15"
51
+ "@promptbook/core": "0.52.0-16"
52
52
  },
53
53
  "main": "./umd/index.umd.js",
54
54
  "module": "./esm/index.es.js",
@@ -11,17 +11,19 @@ import { SimplePromptInterfaceTools } from '../execution/plugins/user-interface-
11
11
  import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations';
12
12
  import { createPromptbookLibraryFromDirectory } from '../library/constructors/createPromptbookLibraryFromDirectory';
13
13
  import { createPromptbookLibraryFromPromise } from '../library/constructors/createPromptbookLibraryFromPromise';
14
- import { createPromptbookLibraryFromUrl } from '../library/constructors/createPromptbookLibraryFromUrl';
15
14
  import { createPromptbookLibraryFromSources } from '../library/constructors/createPromptbookLibraryFromSources';
15
+ import { createPromptbookLibraryFromUrl } from '../library/constructors/createPromptbookLibraryFromUrl';
16
16
  import { createPromptbookSublibrary } from '../library/constructors/createPromptbookSublibrary';
17
+ import { justTestFsImport } from '../library/constructors/justTestFsImport';
17
18
  import { SimplePromptbookLibrary } from '../library/SimplePromptbookLibrary';
18
19
  import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString';
19
20
  import { ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
20
21
  import { ExecutionTypes } from '../types/ExecutionTypes';
21
22
  import { PROMPTBOOK_VERSION } from '../version';
23
+ export { justTestFsImport };
22
24
  export { ExecutionTypes, PROMPTBOOK_VERSION };
23
25
  export { assertsExecutionSuccessful, checkExpectations, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, isPassingExpectations, prettifyPromptbookString, };
24
- export { createPromptbookLibraryFromDirectory, createPromptbookLibraryFromUrl, createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, SimplePromptbookLibrary, };
26
+ export { createPromptbookLibraryFromDirectory, createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookLibraryFromUrl, createPromptbookSublibrary, SimplePromptbookLibrary, };
25
27
  export { SimplePromptInterfaceTools };
26
28
  export { promptbookJsonToString, promptbookStringToJson, validatePromptbookJson };
27
29
  export { createPromptbookExecutor, MultipleLlmExecutionTools };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Just testing imports and compatibility
3
+ */
4
+ export declare function justTestFsImport(): Promise<void>;