@crewdle/web-sdk-types 1.0.53 → 1.0.55
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/dist/core/node/NodeType.d.ts +5 -1
- package/dist/core/node/NodeType.js +4 -0
- package/dist/core/sdk/SDK.d.ts +17 -0
- package/dist/core/sdk/index.d.ts +1 -1
- package/dist/generative-ai/jobs/inference/GenerativeAIInferenceCreateJobParameters.d.ts +6 -2
- package/dist/generative-ai/jobs/inference/GenerativeAIInferenceJob.d.ts +6 -2
- package/dist/generative-ai/jobs/inference/GenerativeAIInferenceWorkerParameters.d.ts +18 -5
- package/dist/generative-ai/jobs/prompt/GenerativeAIPromptOptions.d.ts +6 -2
- package/dist/generative-ai/jobs/prompt/options/PromptFunction.d.ts +2 -0
- package/package.json +1 -1
package/dist/core/sdk/SDK.d.ts
CHANGED
|
@@ -40,3 +40,20 @@ export interface ISDK {
|
|
|
40
40
|
*/
|
|
41
41
|
joinCluster(clusterId: string, standalone?: boolean): Promise<ICluster>;
|
|
42
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* The local SDK interface for standalone, offline use.
|
|
45
|
+
* @category Core
|
|
46
|
+
*/
|
|
47
|
+
export interface ILocalSDK {
|
|
48
|
+
/**
|
|
49
|
+
* Close the SDK.
|
|
50
|
+
* @param options The options to close the SDK with.
|
|
51
|
+
*/
|
|
52
|
+
close(options?: ISDKCloseOptions): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Join a cluster.
|
|
55
|
+
* @param clusterId The ID of the cluster to join.
|
|
56
|
+
* @returns A promise that resolves with the cluster.
|
|
57
|
+
*/
|
|
58
|
+
joinCluster(clusterId: string): Promise<ICluster>;
|
|
59
|
+
}
|
package/dist/core/sdk/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ILoggingConnector } from './LoggingConnector';
|
|
2
2
|
export { LoggingConnectorEvent } from './LoggingConnectorEvent';
|
|
3
|
-
export { ISDK } from './SDK';
|
|
3
|
+
export { ISDK, ILocalSDK } from './SDK';
|
|
4
4
|
export { ISDKCloseOptions } from './SDKCloseOptions';
|
|
5
5
|
export { ISDKOptions } from './SDKOptions';
|
|
6
6
|
export { Unsubscribe } from './Unsubscribe';
|
|
@@ -40,9 +40,13 @@ export interface IGenerativeAIInferenceCreateJobParameters extends IGenerativeAI
|
|
|
40
40
|
*/
|
|
41
41
|
grammar?: any;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Reasoning effort for the AI job.
|
|
44
44
|
*/
|
|
45
|
-
reasoning?:
|
|
45
|
+
reasoning?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Verbosity for the AI job.
|
|
48
|
+
*/
|
|
49
|
+
verbosity?: string;
|
|
46
50
|
/**
|
|
47
51
|
* The privacy flag for the AI job.
|
|
48
52
|
*/
|
|
@@ -35,9 +35,13 @@ export interface IGenerativeAIInferenceJob extends IGenerativeAIJob {
|
|
|
35
35
|
*/
|
|
36
36
|
grammar?: any;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Reasoning effort for the AI job.
|
|
39
39
|
*/
|
|
40
|
-
reasoning?:
|
|
40
|
+
reasoning?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Verbosity for the AI job.
|
|
43
|
+
*/
|
|
44
|
+
verbosity?: string;
|
|
41
45
|
/**
|
|
42
46
|
* The privacy flag for the AI job.
|
|
43
47
|
*/
|
|
@@ -39,9 +39,13 @@ export interface IGenerativeAIInferenceWorkerParameters extends IGenerativeAIWor
|
|
|
39
39
|
*/
|
|
40
40
|
grammar?: any;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Reasoning effort for the AI job.
|
|
43
43
|
*/
|
|
44
|
-
reasoning?:
|
|
44
|
+
reasoning?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Verbosity for the AI job.
|
|
47
|
+
*/
|
|
48
|
+
verbosity?: string;
|
|
45
49
|
/**
|
|
46
50
|
* The privacy flag for the AI job.
|
|
47
51
|
*/
|
|
@@ -189,6 +193,18 @@ export interface IGenerativeAIInferenceTool {
|
|
|
189
193
|
* The grammar for the tool.
|
|
190
194
|
*/
|
|
191
195
|
grammar?: any;
|
|
196
|
+
/**
|
|
197
|
+
* The reasoning effort for the tool.
|
|
198
|
+
*/
|
|
199
|
+
reasoning?: string;
|
|
200
|
+
/**
|
|
201
|
+
* The verbosity for the tool.
|
|
202
|
+
*/
|
|
203
|
+
verbosity?: string;
|
|
204
|
+
/**
|
|
205
|
+
* The files for the tool.
|
|
206
|
+
*/
|
|
207
|
+
files?: string[];
|
|
192
208
|
/**
|
|
193
209
|
* The collection ID for the tool.
|
|
194
210
|
*/
|
|
@@ -221,9 +237,6 @@ export interface IGenerativeAIInferenceTool {
|
|
|
221
237
|
* The allowed tools for the tool.
|
|
222
238
|
*/
|
|
223
239
|
allowed_tools?: string[];
|
|
224
|
-
/**
|
|
225
|
-
* The headers for the tool.
|
|
226
|
-
*/
|
|
227
240
|
/**
|
|
228
241
|
* The tools for the tool.
|
|
229
242
|
*/
|
|
@@ -33,9 +33,13 @@ export interface IGenerativeAIPromptOptions extends IGenerativeAIOptions {
|
|
|
33
33
|
*/
|
|
34
34
|
grammar?: any;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Reasoning effort for the AI job.
|
|
37
37
|
*/
|
|
38
|
-
reasoning?:
|
|
38
|
+
reasoning?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Verbosity for the AI job.
|
|
41
|
+
*/
|
|
42
|
+
verbosity?: string;
|
|
39
43
|
/**
|
|
40
44
|
* The privacy flag for the AI job.
|
|
41
45
|
*/
|