@promptbook/openai 0.41.104 → 0.41.106
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/typings/_packages/core.index.d.ts +2 -2
- package/esm/typings/conversion/prettify/prettifyPromptbookString.d.ts +0 -1
- package/package.json +3 -3
- package/umd/typings/_packages/core.index.d.ts +2 -2
- package/umd/typings/conversion/prettify/prettifyPromptbookString.d.ts +0 -1
- /package/esm/typings/conversion/{test → validation}/_importPromptbook.d.ts +0 -0
- /package/esm/typings/conversion/{test → validation}/promptbookStringToJson-syntaxErrors.test.d.ts +0 -0
- /package/esm/typings/conversion/{test → validation}/promptbookStringToJson.test.d.ts +0 -0
- /package/esm/typings/conversion/{test → validation}/validatePromptbookJson-logicErrors.test.d.ts +0 -0
- /package/esm/typings/conversion/{test → validation}/validatePromptbookJson.d.ts +0 -0
- /package/esm/typings/conversion/{test → validation}/validatePromptbookJson.test.d.ts +0 -0
- /package/umd/typings/conversion/{test → validation}/_importPromptbook.d.ts +0 -0
- /package/umd/typings/conversion/{test → validation}/promptbookStringToJson-syntaxErrors.test.d.ts +0 -0
- /package/umd/typings/conversion/{test → validation}/promptbookStringToJson.test.d.ts +0 -0
- /package/umd/typings/conversion/{test → validation}/validatePromptbookJson-logicErrors.test.d.ts +0 -0
- /package/umd/typings/conversion/{test → validation}/validatePromptbookJson.d.ts +0 -0
- /package/umd/typings/conversion/{test → validation}/validatePromptbookJson.test.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { promptbookStringToJson } from '../conversion/promptbookStringToJson';
|
|
2
|
-
import { validatePromptbookJson } from '../conversion/
|
|
2
|
+
import { validatePromptbookJson } from '../conversion/validation/validatePromptbookJson';
|
|
3
3
|
import { createPromptbookExecutor } from '../execution/createPromptbookExecutor';
|
|
4
4
|
import { MockedEchoNaturalExecutionTools } from '../execution/plugins/natural-execution-tools/mocked/MockedEchoNaturalExecutionTools';
|
|
5
5
|
import { CallbackInterfaceTools } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceTools';
|
|
@@ -12,7 +12,7 @@ import { createPromptbookSublibrary } from '../library/constructors/createPrompt
|
|
|
12
12
|
import { ExecutionTypes } from '../types/ExecutionTypes';
|
|
13
13
|
import { PROMPTBOOK_VERSION } from '../version';
|
|
14
14
|
export { ExecutionTypes, PROMPTBOOK_VERSION };
|
|
15
|
-
export {
|
|
15
|
+
export { createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, SimplePromptbookLibrary, };
|
|
16
16
|
export { SimplePromptInterfaceTools };
|
|
17
17
|
export { promptbookStringToJson, validatePromptbookJson };
|
|
18
18
|
export { MockedEchoNaturalExecutionTools };
|
|
@@ -6,6 +6,5 @@ import type { PrettifyOptions } from './PrettifyOptions';
|
|
|
6
6
|
export declare function prettifyPromptbookString(promptbookString: PromptbookString, options: PrettifyOptions): PromptbookString;
|
|
7
7
|
/**
|
|
8
8
|
* TODO: Maybe use some Mermaid library instead of string templating
|
|
9
|
-
* TODO: [🧠] Should this be here OR in other folder
|
|
10
9
|
* TODO: [🕌] When more than 2 functionalities, split into separate functions
|
|
11
10
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/openai",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.106",
|
|
4
4
|
"description": "Library to supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://www.npmjs.com/package/@promptbook/core",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"colors": "
|
|
37
|
+
"colors": "1.4.0",
|
|
38
38
|
"openai": "4.2.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@promptbook/core": "0.41.
|
|
41
|
+
"@promptbook/core": "0.41.106"
|
|
42
42
|
},
|
|
43
43
|
"main": "./umd/index.umd.js",
|
|
44
44
|
"module": "./esm/index.es.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { promptbookStringToJson } from '../conversion/promptbookStringToJson';
|
|
2
|
-
import { validatePromptbookJson } from '../conversion/
|
|
2
|
+
import { validatePromptbookJson } from '../conversion/validation/validatePromptbookJson';
|
|
3
3
|
import { createPromptbookExecutor } from '../execution/createPromptbookExecutor';
|
|
4
4
|
import { MockedEchoNaturalExecutionTools } from '../execution/plugins/natural-execution-tools/mocked/MockedEchoNaturalExecutionTools';
|
|
5
5
|
import { CallbackInterfaceTools } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceTools';
|
|
@@ -12,7 +12,7 @@ import { createPromptbookSublibrary } from '../library/constructors/createPrompt
|
|
|
12
12
|
import { ExecutionTypes } from '../types/ExecutionTypes';
|
|
13
13
|
import { PROMPTBOOK_VERSION } from '../version';
|
|
14
14
|
export { ExecutionTypes, PROMPTBOOK_VERSION };
|
|
15
|
-
export {
|
|
15
|
+
export { createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, SimplePromptbookLibrary, };
|
|
16
16
|
export { SimplePromptInterfaceTools };
|
|
17
17
|
export { promptbookStringToJson, validatePromptbookJson };
|
|
18
18
|
export { MockedEchoNaturalExecutionTools };
|
|
@@ -6,6 +6,5 @@ import type { PrettifyOptions } from './PrettifyOptions';
|
|
|
6
6
|
export declare function prettifyPromptbookString(promptbookString: PromptbookString, options: PrettifyOptions): PromptbookString;
|
|
7
7
|
/**
|
|
8
8
|
* TODO: Maybe use some Mermaid library instead of string templating
|
|
9
|
-
* TODO: [🧠] Should this be here OR in other folder
|
|
10
9
|
* TODO: [🕌] When more than 2 functionalities, split into separate functions
|
|
11
10
|
*/
|
|
File without changes
|
/package/esm/typings/conversion/{test → validation}/promptbookStringToJson-syntaxErrors.test.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/esm/typings/conversion/{test → validation}/validatePromptbookJson-logicErrors.test.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/umd/typings/conversion/{test → validation}/promptbookStringToJson-syntaxErrors.test.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/umd/typings/conversion/{test → validation}/validatePromptbookJson-logicErrors.test.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|