@promptbook/editable 0.86.10 → 0.86.22
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 +35 -42
- package/esm/index.es.js +975 -1063
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/types.index.d.ts +2 -0
- package/esm/typings/src/conversion/utils/extractVariablesFromScript.d.ts +5 -5
- package/esm/typings/src/execution/AbstractTaskResult.d.ts +3 -3
- package/esm/typings/src/execution/PipelineExecutorResult.d.ts +1 -1
- package/esm/typings/src/execution/utils/usageToHuman.d.ts +11 -1
- package/esm/typings/src/execution/utils/usageToWorktime.d.ts +9 -1
- package/esm/typings/src/formats/_common/FormatDefinition.d.ts +1 -1
- package/esm/typings/src/formats/text/TextFormatDefinition.d.ts +1 -1
- package/esm/typings/src/llm-providers/multiple/MultipleLlmExecutionTools.d.ts +1 -1
- package/esm/typings/src/types/typeAliases.d.ts +6 -0
- package/package.json +2 -2
- package/umd/index.umd.js +978 -1066
- package/umd/index.umd.js.map +1 -1
|
@@ -57,7 +57,7 @@ export declare class MultipleLlmExecutionTools implements LlmExecutionTools {
|
|
|
57
57
|
callCommonModel(prompt: Prompt): Promise<PromptResult>;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* TODO: [🧠][🎛] Aggregating multiple models - have result not only from one first
|
|
60
|
+
* TODO: [🧠][🎛] Aggregating multiple models - have result not only from one first available model BUT all of them
|
|
61
61
|
* TODO: [🏖] If no llmTools have for example not defined `callCompletionModel` this will still return object with defined `callCompletionModel` which just throws `PipelineExecutionError`, make it undefined instead
|
|
62
62
|
* Look how `countTotalUsage` (and `cacheLlmTools`) implements it
|
|
63
63
|
*/
|
|
@@ -272,6 +272,12 @@ export type string_script = string;
|
|
|
272
272
|
* For example `console.info("Hello World!")`
|
|
273
273
|
*/
|
|
274
274
|
export type string_javascript = string;
|
|
275
|
+
/**
|
|
276
|
+
* Semantic helper
|
|
277
|
+
*
|
|
278
|
+
* For example `console.info("Hello World!" as string)`
|
|
279
|
+
*/
|
|
280
|
+
export type string_typescript = string;
|
|
275
281
|
/**
|
|
276
282
|
* Semantic helper for JSON strings
|
|
277
283
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/editable",
|
|
3
|
-
"version": "0.86.
|
|
3
|
+
"version": "0.86.22",
|
|
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/editable.index.d.ts",
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@promptbook/core": "0.86.
|
|
50
|
+
"@promptbook/core": "0.86.22"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"crypto-js": "4.2.0",
|