@promptbook/openai 0.85.0-8 → 0.85.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
|
@@ -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.85.0-
|
|
19
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.85.0-8';
|
|
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
|
|
@@ -1580,7 +1580,7 @@ var OPENAI_MODELS = exportJson({
|
|
|
1580
1580
|
pricing: {
|
|
1581
1581
|
prompt: computeUsage("$3.00 / 1M tokens"),
|
|
1582
1582
|
output: computeUsage("$12.00 / 1M tokens"),
|
|
1583
|
-
// <- TODO:
|
|
1583
|
+
// <- TODO: !! Unsure, check the pricing
|
|
1584
1584
|
},
|
|
1585
1585
|
},
|
|
1586
1586
|
/**/
|
|
@@ -1592,7 +1592,7 @@ var OPENAI_MODELS = exportJson({
|
|
|
1592
1592
|
pricing: {
|
|
1593
1593
|
prompt: computeUsage("$3.00 / 1M tokens"),
|
|
1594
1594
|
output: computeUsage("$12.00 / 1M tokens"),
|
|
1595
|
-
// <- TODO:
|
|
1595
|
+
// <- TODO: !! Unsure, check the pricing
|
|
1596
1596
|
},
|
|
1597
1597
|
},
|
|
1598
1598
|
/**/
|
|
@@ -8,7 +8,6 @@ import type { Command as Program } from 'commander';
|
|
|
8
8
|
*/
|
|
9
9
|
export declare function $initializeAboutCommand(program: Program): void;
|
|
10
10
|
/**
|
|
11
|
-
* TODO: !!! Test this in `deno`
|
|
12
11
|
* TODO: [🗽] Unite branding and make single place for it
|
|
13
12
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
14
13
|
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
@@ -11,8 +11,7 @@ import type { RemoteServerOptions } from './types/RemoteServerOptions';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function startRemoteServer<TCustomOptions = undefined>(options: RemoteServerOptions<TCustomOptions>): IDestroyable;
|
|
13
13
|
/**
|
|
14
|
-
* TODO:
|
|
15
|
-
* TODO: !!!!!!! Allow to pass tokem here
|
|
14
|
+
* TODO: !! Add CORS and security - probbably via `helmet`
|
|
16
15
|
* TODO: [👩🏾🤝🧑🏾] Allow to pass custom fetch function here - PromptbookFetch
|
|
17
16
|
* TODO: Split this file into multiple functions - handler for each request
|
|
18
17
|
* TODO: Maybe use `$exportJson`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/openai",
|
|
3
|
-
"version": "0.85.0-
|
|
3
|
+
"version": "0.85.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,
|
|
@@ -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.85.0-
|
|
50
|
+
"@promptbook/core": "0.85.0-9"
|
|
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.85.0-
|
|
27
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.85.0-8';
|
|
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
|
|
@@ -1588,7 +1588,7 @@
|
|
|
1588
1588
|
pricing: {
|
|
1589
1589
|
prompt: computeUsage("$3.00 / 1M tokens"),
|
|
1590
1590
|
output: computeUsage("$12.00 / 1M tokens"),
|
|
1591
|
-
// <- TODO:
|
|
1591
|
+
// <- TODO: !! Unsure, check the pricing
|
|
1592
1592
|
},
|
|
1593
1593
|
},
|
|
1594
1594
|
/**/
|
|
@@ -1600,7 +1600,7 @@
|
|
|
1600
1600
|
pricing: {
|
|
1601
1601
|
prompt: computeUsage("$3.00 / 1M tokens"),
|
|
1602
1602
|
output: computeUsage("$12.00 / 1M tokens"),
|
|
1603
|
-
// <- TODO:
|
|
1603
|
+
// <- TODO: !! Unsure, check the pricing
|
|
1604
1604
|
},
|
|
1605
1605
|
},
|
|
1606
1606
|
/**/
|