@promptbook/openai 0.60.0-7 → 0.60.0
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 +1 -1
- package/esm/typings/src/config.d.ts +1 -1
- package/esm/typings/src/conversion/utils/renameParameter.d.ts +4 -4
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
- package/umd/typings/src/config.d.ts +1 -1
- package/umd/typings/src/conversion/utils/renameParameter.d.ts +4 -4
package/esm/index.es.js
CHANGED
|
@@ -1142,7 +1142,7 @@ var OpenAiExecutionTools = /** @class */ (function () {
|
|
|
1142
1142
|
/**
|
|
1143
1143
|
* The version of the Promptbook library
|
|
1144
1144
|
*/
|
|
1145
|
-
var PROMPTBOOK_VERSION = '0.60.0-
|
|
1145
|
+
var PROMPTBOOK_VERSION = '0.60.0-8';
|
|
1146
1146
|
|
|
1147
1147
|
export { OPENAI_MODELS, OpenAiExecutionTools, PROMPTBOOK_VERSION };
|
|
1148
1148
|
//# sourceMappingURL=index.es.js.map
|
|
@@ -7,6 +7,6 @@ export declare const LOOP_LIMIT = 1000;
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const CHARACTER_LOOP_LIMIT = 100000;
|
|
9
9
|
/**
|
|
10
|
-
* The name of the builded pipeline collection made by CLI `
|
|
10
|
+
* The name of the builded pipeline collection made by CLI `ptbk make` and for lookup in `createCollectionFromDirectory`
|
|
11
11
|
*/
|
|
12
12
|
export declare const PIPELINE_COLLECTION_BASE_FILENAME = "index";
|
|
@@ -2,10 +2,10 @@ import type { PipelineJson } from '../../types/PipelineJson/PipelineJson';
|
|
|
2
2
|
import type { string_name } from '../../types/typeAliases';
|
|
3
3
|
type RenameParameterOptions = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* This
|
|
5
|
+
* Pipeline to search and replace for parameters
|
|
6
|
+
* This pipeline is returned as copy with replaced parameters
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
pipeline: PipelineJson;
|
|
9
9
|
/**
|
|
10
10
|
* Original parameter name that should be replaced
|
|
11
11
|
*/
|
|
@@ -19,7 +19,7 @@ type RenameParameterOptions = {
|
|
|
19
19
|
* Function renameParameter will find all usable parameters for given prompt template
|
|
20
20
|
* In other words, it will find all parameters that are not used in the prompt template itseld and all its dependencies
|
|
21
21
|
*
|
|
22
|
-
* @throws {PipelineLogicError} If the new parameter name is already used in the
|
|
22
|
+
* @throws {PipelineLogicError} If the new parameter name is already used in the pipeline
|
|
23
23
|
*/
|
|
24
24
|
export declare function renameParameter(options: RenameParameterOptions): PipelineJson;
|
|
25
25
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/openai",
|
|
3
|
-
"version": "0.60.0
|
|
3
|
+
"version": "0.60.0",
|
|
4
4
|
"description": "Supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
],
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@promptbook/core": "0.60.0
|
|
52
|
+
"@promptbook/core": "0.60.0"
|
|
53
53
|
},
|
|
54
54
|
"main": "./umd/index.umd.js",
|
|
55
55
|
"module": "./esm/index.es.js",
|
package/umd/index.umd.js
CHANGED
|
@@ -1150,7 +1150,7 @@
|
|
|
1150
1150
|
/**
|
|
1151
1151
|
* The version of the Promptbook library
|
|
1152
1152
|
*/
|
|
1153
|
-
var PROMPTBOOK_VERSION = '0.60.0-
|
|
1153
|
+
var PROMPTBOOK_VERSION = '0.60.0-8';
|
|
1154
1154
|
|
|
1155
1155
|
exports.OPENAI_MODELS = OPENAI_MODELS;
|
|
1156
1156
|
exports.OpenAiExecutionTools = OpenAiExecutionTools;
|
|
@@ -7,6 +7,6 @@ export declare const LOOP_LIMIT = 1000;
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const CHARACTER_LOOP_LIMIT = 100000;
|
|
9
9
|
/**
|
|
10
|
-
* The name of the builded pipeline collection made by CLI `
|
|
10
|
+
* The name of the builded pipeline collection made by CLI `ptbk make` and for lookup in `createCollectionFromDirectory`
|
|
11
11
|
*/
|
|
12
12
|
export declare const PIPELINE_COLLECTION_BASE_FILENAME = "index";
|
|
@@ -2,10 +2,10 @@ import type { PipelineJson } from '../../types/PipelineJson/PipelineJson';
|
|
|
2
2
|
import type { string_name } from '../../types/typeAliases';
|
|
3
3
|
type RenameParameterOptions = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* This
|
|
5
|
+
* Pipeline to search and replace for parameters
|
|
6
|
+
* This pipeline is returned as copy with replaced parameters
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
pipeline: PipelineJson;
|
|
9
9
|
/**
|
|
10
10
|
* Original parameter name that should be replaced
|
|
11
11
|
*/
|
|
@@ -19,7 +19,7 @@ type RenameParameterOptions = {
|
|
|
19
19
|
* Function renameParameter will find all usable parameters for given prompt template
|
|
20
20
|
* In other words, it will find all parameters that are not used in the prompt template itseld and all its dependencies
|
|
21
21
|
*
|
|
22
|
-
* @throws {PipelineLogicError} If the new parameter name is already used in the
|
|
22
|
+
* @throws {PipelineLogicError} If the new parameter name is already used in the pipeline
|
|
23
23
|
*/
|
|
24
24
|
export declare function renameParameter(options: RenameParameterOptions): PipelineJson;
|
|
25
25
|
export {};
|