@promptbook/remote-client 0.19.4 → 0.19.6
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/typings/conversion/parseCommand.test.d.ts +6 -0
- package/esm/typings/conversion/promptTemplatePipelineStringToJson.d.ts +3 -0
- package/esm/typings/execution/plugins/natural-execution-tools/openai/OpenAiExecutionTools.d.ts +1 -0
- package/package.json +2 -2
- package/umd/typings/conversion/parseCommand.test.d.ts +6 -0
- package/umd/typings/conversion/promptTemplatePipelineStringToJson.d.ts +3 -0
- package/umd/typings/execution/plugins/natural-execution-tools/openai/OpenAiExecutionTools.d.ts +1 -0
|
@@ -9,4 +9,7 @@ export declare function promptTemplatePipelineStringToJson(promptTemplatePipelin
|
|
|
9
9
|
/**
|
|
10
10
|
* TODO: Report here line/column of error
|
|
11
11
|
* TODO: Use spaceTrim more effectively
|
|
12
|
+
* TODO: !!!! Parameter flags - isInput, isOutput, isInternal, isBeforePostprocessing, isBeforeFinal, canonicalName
|
|
13
|
+
* TODO: !!!! Allow to have non-immutable parameters - suffix them with fooPrevious3 -> fooPrevious2 -> fooPrevious1 -> foo
|
|
14
|
+
* This must work with other technial parameters
|
|
12
15
|
*/
|
package/esm/typings/execution/plugins/natural-execution-tools/openai/OpenAiExecutionTools.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare class OpenAiExecutionTools implements NaturalExecutionTools {
|
|
|
22
22
|
gptComplete(prompt: Prompt): Promise<PromptCompletionResult>;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
+
* TODO: !!!! Allow to use other models - List all from openai
|
|
25
26
|
* TODO: Maybe Create some common util for gptChat and gptComplete
|
|
26
27
|
* TODO: Maybe make custom OpenaiError
|
|
27
28
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/remote-client",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.6",
|
|
4
4
|
"description": "Library to supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"socket.io-client": "4.7.2"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@promptbook/core": "0.19.
|
|
40
|
+
"@promptbook/core": "0.19.6"
|
|
41
41
|
},
|
|
42
42
|
"main": "./umd/index.umd.js",
|
|
43
43
|
"module": "./esm/index.es.js",
|
|
@@ -9,4 +9,7 @@ export declare function promptTemplatePipelineStringToJson(promptTemplatePipelin
|
|
|
9
9
|
/**
|
|
10
10
|
* TODO: Report here line/column of error
|
|
11
11
|
* TODO: Use spaceTrim more effectively
|
|
12
|
+
* TODO: !!!! Parameter flags - isInput, isOutput, isInternal, isBeforePostprocessing, isBeforeFinal, canonicalName
|
|
13
|
+
* TODO: !!!! Allow to have non-immutable parameters - suffix them with fooPrevious3 -> fooPrevious2 -> fooPrevious1 -> foo
|
|
14
|
+
* This must work with other technial parameters
|
|
12
15
|
*/
|
package/umd/typings/execution/plugins/natural-execution-tools/openai/OpenAiExecutionTools.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare class OpenAiExecutionTools implements NaturalExecutionTools {
|
|
|
22
22
|
gptComplete(prompt: Prompt): Promise<PromptCompletionResult>;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
+
* TODO: !!!! Allow to use other models - List all from openai
|
|
25
26
|
* TODO: Maybe Create some common util for gptChat and gptComplete
|
|
26
27
|
* TODO: Maybe make custom OpenaiError
|
|
27
28
|
*/
|