@promptbook/openai 0.84.0-18 → 0.84.0-21
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/README.md +11 -1
- package/esm/index.es.js +1 -1
- package/esm/typings/src/cli/cli-commands/about.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/hello.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/list-models.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/list-scrapers.d.ts +13 -0
- package/esm/typings/src/cli/cli-commands/make.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/prettify.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/run.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/runInteractiveChatbot.d.ts +1 -1
- package/esm/typings/src/cli/cli-commands/test-command.d.ts +3 -1
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
package/README.md
CHANGED
|
@@ -645,7 +645,17 @@ See [TODO.md](./TODO.md)
|
|
|
645
645
|
|
|
646
646
|
## 🤝 Partners
|
|
647
647
|
|
|
648
|
-
|
|
648
|
+
<div style="display: flex; align-items: center; gap: 20px;">
|
|
649
|
+
|
|
650
|
+
<a href="https://promptbook.studio/">
|
|
651
|
+
<img src="./other/design/promptbook-studio-logo.png" alt="Partner 3" height="100">
|
|
652
|
+
</a>
|
|
653
|
+
|
|
654
|
+
<a href="https://technologickainkubace.org/en/about-technology-incubation/about-the-project/">
|
|
655
|
+
<img src="./other/partners/CI-Technology-Incubation.png" alt="Technology Incubation" height="100">
|
|
656
|
+
</a>
|
|
657
|
+
|
|
658
|
+
</div>
|
|
649
659
|
|
|
650
660
|
## 🖋️ Contributing
|
|
651
661
|
|
package/esm/index.es.js
CHANGED
|
@@ -16,7 +16,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
16
16
|
* @generated
|
|
17
17
|
* @see https://github.com/webgptorg/promptbook
|
|
18
18
|
*/
|
|
19
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.84.0-
|
|
19
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.84.0-20';
|
|
20
20
|
/**
|
|
21
21
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
22
22
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -2,9 +2,11 @@ import type { Command as Program } from 'commander';
|
|
|
2
2
|
/**
|
|
3
3
|
* Initializes `about` command for Promptbook CLI utilities
|
|
4
4
|
*
|
|
5
|
+
* Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI
|
|
6
|
+
*
|
|
5
7
|
* @private internal function of `promptbookCli`
|
|
6
8
|
*/
|
|
7
|
-
export declare function initializeAboutCommand(program: Program): void;
|
|
9
|
+
export declare function $initializeAboutCommand(program: Program): void;
|
|
8
10
|
/**
|
|
9
11
|
* TODO: [🗽] Unite branding and make single place for it
|
|
10
12
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -2,9 +2,11 @@ import type { Command as Program } from 'commander';
|
|
|
2
2
|
/**
|
|
3
3
|
* Initializes testing `hello` command for Promptbook CLI utilities
|
|
4
4
|
*
|
|
5
|
+
* Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI
|
|
6
|
+
*
|
|
5
7
|
* @private internal function of `promptbookCli`
|
|
6
8
|
*/
|
|
7
|
-
export declare function initializeHelloCommand(program: Program): void;
|
|
9
|
+
export declare function $initializeHelloCommand(program: Program): void;
|
|
8
10
|
/**
|
|
9
11
|
* TODO: [🧠][🐣] Make here some easter egg with generated hello greeting via LLM models
|
|
10
12
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -2,9 +2,11 @@ import type { Command as Program } from 'commander';
|
|
|
2
2
|
/**
|
|
3
3
|
* Initializes `list-models` command for Promptbook CLI utilities
|
|
4
4
|
*
|
|
5
|
+
* Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI
|
|
6
|
+
*
|
|
5
7
|
* @private internal function of `promptbookCli`
|
|
6
8
|
*/
|
|
7
|
-
export declare function initializeListModelsCommand(program: Program): void;
|
|
9
|
+
export declare function $initializeListModelsCommand(program: Program): void;
|
|
8
10
|
/**
|
|
9
11
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
10
12
|
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Command as Program } from 'commander';
|
|
2
|
+
/**
|
|
3
|
+
* Initializes `list-scrapers` command for Promptbook CLI utilities
|
|
4
|
+
*
|
|
5
|
+
* Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI
|
|
6
|
+
*
|
|
7
|
+
* @private internal function of `promptbookCli`
|
|
8
|
+
*/
|
|
9
|
+
export declare function $initializeListScrapersCommand(program: Program): void;
|
|
10
|
+
/**
|
|
11
|
+
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
12
|
+
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
13
|
+
*/
|
|
@@ -2,9 +2,11 @@ import type { Command as Program } from 'commander';
|
|
|
2
2
|
/**
|
|
3
3
|
* Initializes `make` command for Promptbook CLI utilities
|
|
4
4
|
*
|
|
5
|
+
* Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI
|
|
6
|
+
*
|
|
5
7
|
* @private internal function of `promptbookCli`
|
|
6
8
|
*/
|
|
7
|
-
export declare function initializeMakeCommand(program: Program): void;
|
|
9
|
+
export declare function $initializeMakeCommand(program: Program): void;
|
|
8
10
|
/**
|
|
9
11
|
* TODO: [🥃][main] !!3 Allow `ptbk make` without configuring any llm tools
|
|
10
12
|
* TODO: [0] DRY Javascript and typescript - Maybe make ONLY typescript and for javascript just remove types
|
|
@@ -2,9 +2,11 @@ import type { Command as Program } from 'commander';
|
|
|
2
2
|
/**
|
|
3
3
|
* Initializes `prettify` command for Promptbook CLI utilities
|
|
4
4
|
*
|
|
5
|
+
* Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI
|
|
6
|
+
*
|
|
5
7
|
* @private internal function of `promptbookCli`
|
|
6
8
|
*/
|
|
7
|
-
export declare function initializePrettifyCommand(program: Program): void;
|
|
9
|
+
export declare function $initializePrettifyCommand(program: Program): void;
|
|
8
10
|
/**
|
|
9
11
|
* TODO: [😶] Unite floder listing
|
|
10
12
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -2,9 +2,11 @@ import type { Command as Program } from 'commander';
|
|
|
2
2
|
/**
|
|
3
3
|
* Initializes `run` command for Promptbook CLI utilities
|
|
4
4
|
*
|
|
5
|
+
* Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI
|
|
6
|
+
*
|
|
5
7
|
* @private internal function of `promptbookCli`
|
|
6
8
|
*/
|
|
7
|
-
export declare function initializeRunCommand(program: Program): void;
|
|
9
|
+
export declare function $initializeRunCommand(program: Program): void;
|
|
8
10
|
/**
|
|
9
11
|
* TODO: !!5 Catch and wrap all errors from CLI
|
|
10
12
|
* TODO: [🧠] Pass `maxExecutionAttempts`, `csvSettings`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
|
|
2
1
|
import type { PipelineExecutor } from '../../execution/PipelineExecutor';
|
|
2
|
+
import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
|
|
3
3
|
/**
|
|
4
4
|
* Options for running the interactive chatbot
|
|
5
5
|
*/
|
|
@@ -2,9 +2,11 @@ import type { Command as Program } from 'commander';
|
|
|
2
2
|
/**
|
|
3
3
|
* Initializes `test` command for Promptbook CLI utilities
|
|
4
4
|
*
|
|
5
|
+
* Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI
|
|
6
|
+
*
|
|
5
7
|
* @private internal function of `promptbookCli`
|
|
6
8
|
*/
|
|
7
|
-
export declare function initializeTestCommand(program: Program): void;
|
|
9
|
+
export declare function $initializeTestCommand(program: Program): void;
|
|
8
10
|
/**
|
|
9
11
|
* TODO: [😶] Unite floder listing
|
|
10
12
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/openai",
|
|
3
|
-
"version": "0.84.0-
|
|
3
|
+
"version": "0.84.0-21",
|
|
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,
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"module": "./esm/index.es.js",
|
|
48
48
|
"typings": "./esm/typings/src/_packages/openai.index.d.ts",
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@promptbook/core": "0.84.0-
|
|
50
|
+
"@promptbook/core": "0.84.0-21"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"colors": "1.4.0",
|
package/umd/index.umd.js
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* @generated
|
|
25
25
|
* @see https://github.com/webgptorg/promptbook
|
|
26
26
|
*/
|
|
27
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.84.0-
|
|
27
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.84.0-20';
|
|
28
28
|
/**
|
|
29
29
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
30
30
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|