@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.
@@ -1 +1,7 @@
1
1
  export {};
2
+ /**
3
+ * TODO: [🧠] Probbably change syntax USE -> MODEL
4
+ * TODO: !!!! Allow to use other models
5
+ * TODO: !!!! Allow to skip segments SKIP IF {foo} NOT DEFINED
6
+ * TODO: !!! Allow to EXPECT 3 words
7
+ */
@@ -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
  */
@@ -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.4",
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.4"
40
+ "@promptbook/core": "0.19.6"
41
41
  },
42
42
  "main": "./umd/index.umd.js",
43
43
  "module": "./esm/index.es.js",
@@ -1 +1,7 @@
1
1
  export {};
2
+ /**
3
+ * TODO: [🧠] Probbably change syntax USE -> MODEL
4
+ * TODO: !!!! Allow to use other models
5
+ * TODO: !!!! Allow to skip segments SKIP IF {foo} NOT DEFINED
6
+ * TODO: !!! Allow to EXPECT 3 words
7
+ */
@@ -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
  */
@@ -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
  */