@promptbook/types 0.61.0-16 → 0.61.0-17
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/_packages/node.index.d.ts +2 -1
- package/esm/typings/src/prepare/isPipelinePrepared.d.ts +1 -0
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
- package/umd/typings/src/_packages/node.index.d.ts +2 -1
- package/umd/typings/src/prepare/isPipelinePrepared.d.ts +1 -0
package/esm/index.es.js
CHANGED
|
@@ -10,7 +10,7 @@ var EXPECTATION_UNITS = ['CHARACTERS', 'WORDS', 'SENTENCES', 'LINES', 'PARAGRAPH
|
|
|
10
10
|
/**
|
|
11
11
|
* The version of the Promptbook library
|
|
12
12
|
*/
|
|
13
|
-
var PROMPTBOOK_VERSION = '0.61.0-
|
|
13
|
+
var PROMPTBOOK_VERSION = '0.61.0-16';
|
|
14
14
|
// TODO: !!!! List here all the versions and annotate + put into script
|
|
15
15
|
|
|
16
16
|
export { EXPECTATION_UNITS, PROMPTBOOK_VERSION };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createCollectionFromDirectory } from '../collection/constructors/createCollectionFromDirectory';
|
|
2
|
+
import { createLlmToolsFromEnv } from '../llm-providers/_common/createLlmToolsFromEnv';
|
|
2
3
|
import { PROMPTBOOK_VERSION } from '../version';
|
|
3
4
|
export { PROMPTBOOK_VERSION };
|
|
4
|
-
export { createCollectionFromDirectory };
|
|
5
|
+
export { createCollectionFromDirectory, createLlmToolsFromEnv };
|
|
@@ -4,6 +4,7 @@ import type { PipelineJson } from '../types/PipelineJson/PipelineJson';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare function isPipelinePrepared(pipeline: PipelineJson): boolean;
|
|
6
6
|
/**
|
|
7
|
+
* TODO: [🐠] Maybe base this on `makeValidator`
|
|
7
8
|
* TODO: [🔼] Export via core or utils
|
|
8
9
|
* TODO: [🧊] Pipeline can be partially prepared, this should return true ONLY if fully prepared
|
|
9
10
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/types",
|
|
3
|
-
"version": "0.61.0-
|
|
3
|
+
"version": "0.61.0-17",
|
|
4
4
|
"description": "Supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
],
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@promptbook/core": "0.61.0-
|
|
48
|
+
"@promptbook/core": "0.61.0-17"
|
|
49
49
|
},
|
|
50
50
|
"main": "./umd/index.umd.js",
|
|
51
51
|
"module": "./esm/index.es.js",
|
package/umd/index.umd.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
/**
|
|
17
17
|
* The version of the Promptbook library
|
|
18
18
|
*/
|
|
19
|
-
var PROMPTBOOK_VERSION = '0.61.0-
|
|
19
|
+
var PROMPTBOOK_VERSION = '0.61.0-16';
|
|
20
20
|
// TODO: !!!! List here all the versions and annotate + put into script
|
|
21
21
|
|
|
22
22
|
exports.EXPECTATION_UNITS = EXPECTATION_UNITS;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createCollectionFromDirectory } from '../collection/constructors/createCollectionFromDirectory';
|
|
2
|
+
import { createLlmToolsFromEnv } from '../llm-providers/_common/createLlmToolsFromEnv';
|
|
2
3
|
import { PROMPTBOOK_VERSION } from '../version';
|
|
3
4
|
export { PROMPTBOOK_VERSION };
|
|
4
|
-
export { createCollectionFromDirectory };
|
|
5
|
+
export { createCollectionFromDirectory, createLlmToolsFromEnv };
|
|
@@ -4,6 +4,7 @@ import type { PipelineJson } from '../types/PipelineJson/PipelineJson';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare function isPipelinePrepared(pipeline: PipelineJson): boolean;
|
|
6
6
|
/**
|
|
7
|
+
* TODO: [🐠] Maybe base this on `makeValidator`
|
|
7
8
|
* TODO: [🔼] Export via core or utils
|
|
8
9
|
* TODO: [🧊] Pipeline can be partially prepared, this should return true ONLY if fully prepared
|
|
9
10
|
*/
|