@promptbook/remote-server 0.63.2 → 0.63.3
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
CHANGED
|
@@ -7,7 +7,7 @@ import { spaceTrim } from 'spacetrim';
|
|
|
7
7
|
/**
|
|
8
8
|
* The version of the Promptbook library
|
|
9
9
|
*/
|
|
10
|
-
var PROMPTBOOK_VERSION = '0.63.
|
|
10
|
+
var PROMPTBOOK_VERSION = '0.63.2';
|
|
11
11
|
// TODO: !!!! List here all the versions and annotate + put into script
|
|
12
12
|
|
|
13
13
|
/*! *****************************************************************************
|
|
@@ -3,9 +3,11 @@ import type { LlmExecutionTools } from '../../execution/LlmExecutionTools';
|
|
|
3
3
|
import type { ChatPromptResult } from '../../execution/PromptResult';
|
|
4
4
|
import type { CompletionPromptResult } from '../../execution/PromptResult';
|
|
5
5
|
import type { EmbeddingPromptResult } from '../../execution/PromptResult';
|
|
6
|
+
import type { PromptResult } from '../../execution/PromptResult';
|
|
6
7
|
import type { ChatPrompt } from '../../types/Prompt';
|
|
7
8
|
import type { CompletionPrompt } from '../../types/Prompt';
|
|
8
9
|
import type { EmbeddingPrompt } from '../../types/Prompt';
|
|
10
|
+
import type { Prompt } from '../../types/Prompt';
|
|
9
11
|
import type { string_markdown } from '../../types/typeAliases';
|
|
10
12
|
import type { string_markdown_text } from '../../types/typeAliases';
|
|
11
13
|
import type { string_title } from '../../types/typeAliases';
|
|
@@ -19,7 +21,7 @@ export declare class MultipleLlmExecutionTools implements LlmExecutionTools {
|
|
|
19
21
|
/**
|
|
20
22
|
* Array of execution tools in order of priority
|
|
21
23
|
*/
|
|
22
|
-
|
|
24
|
+
readonly llmExecutionTools: Array<LlmExecutionTools>;
|
|
23
25
|
/**
|
|
24
26
|
* Gets array of execution tools in order of priority
|
|
25
27
|
*/
|
|
@@ -41,7 +43,7 @@ export declare class MultipleLlmExecutionTools implements LlmExecutionTools {
|
|
|
41
43
|
/**
|
|
42
44
|
* Calls the best available model
|
|
43
45
|
*/
|
|
44
|
-
|
|
46
|
+
protected callCommonModel(prompt: Prompt): Promise<PromptResult>;
|
|
45
47
|
/**
|
|
46
48
|
* List all available models that can be used
|
|
47
49
|
* This lists is a combination of all available models from all execution tools
|
|
@@ -43,7 +43,7 @@ export declare class RemoteLlmExecutionTools implements LlmExecutionTools {
|
|
|
43
43
|
/**
|
|
44
44
|
* Calls remote proxy server to use both completion or chat model
|
|
45
45
|
*/
|
|
46
|
-
private
|
|
46
|
+
private callCommonModel;
|
|
47
47
|
/**
|
|
48
48
|
* List all available models that can be used
|
|
49
49
|
*/
|
|
@@ -53,4 +53,4 @@ export declare class RemoteLlmExecutionTools implements LlmExecutionTools {
|
|
|
53
53
|
* TODO: [🍓] Allow to list compatible models with each variant
|
|
54
54
|
* TODO: [🗯] RemoteLlmExecutionTools should extend Destroyable and implement IDestroyable
|
|
55
55
|
* TODO: [🍜] Add anonymous option
|
|
56
|
-
*/
|
|
56
|
+
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/remote-server",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.3",
|
|
4
4
|
"description": "Supercharge your use of large language models",
|
|
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/remote-server.index.d.ts",
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@promptbook/core": "0.63.
|
|
50
|
+
"@promptbook/core": "0.63.3"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"colors": "1.4.0",
|
package/umd/index.umd.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
/**
|
|
14
14
|
* The version of the Promptbook library
|
|
15
15
|
*/
|
|
16
|
-
var PROMPTBOOK_VERSION = '0.63.
|
|
16
|
+
var PROMPTBOOK_VERSION = '0.63.2';
|
|
17
17
|
// TODO: !!!! List here all the versions and annotate + put into script
|
|
18
18
|
|
|
19
19
|
/*! *****************************************************************************
|