@crewdle/web-sdk-types 1.0.39 → 1.0.41
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/generative-ai/jobs/inference/GenerativeAIInferenceCreateJobParameters.d.ts +13 -1
- package/dist/generative-ai/jobs/inference/GenerativeAIInferenceJob.d.ts +13 -1
- package/dist/generative-ai/jobs/inference/GenerativeAIInferenceWorkerParameters.d.ts +27 -2
- package/dist/generative-ai/jobs/inference/GenerativeAIInferenceWorkerParameters.js +1 -0
- package/dist/generative-ai/jobs/prompt/GenerativeAIPromptCreateJobParameters.d.ts +8 -0
- package/dist/generative-ai/jobs/prompt/GenerativeAIPromptJob.d.ts +8 -0
- package/dist/generative-ai/jobs/prompt/GenerativeAIPromptWorkerParameters.d.ts +8 -0
- package/package.json +1 -1
|
@@ -12,9 +12,21 @@ export interface IGenerativeAIInferenceCreateJobParameters extends IGenerativeAI
|
|
|
12
12
|
*/
|
|
13
13
|
type: GenerativeAIJobType.Inference;
|
|
14
14
|
/**
|
|
15
|
-
* The thread id
|
|
15
|
+
* The thread id.
|
|
16
16
|
*/
|
|
17
17
|
threadId: string;
|
|
18
|
+
/**
|
|
19
|
+
* The job id of the job.
|
|
20
|
+
*/
|
|
21
|
+
jobId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The agent id of the job.
|
|
24
|
+
*/
|
|
25
|
+
agentId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The workflow id of the job.
|
|
28
|
+
*/
|
|
29
|
+
workflowId?: string;
|
|
18
30
|
/**
|
|
19
31
|
* The prompt to be processed.
|
|
20
32
|
*/
|
|
@@ -7,9 +7,21 @@ import { IGenerativeAIInferenceTool } from './GenerativeAIInferenceWorkerParamet
|
|
|
7
7
|
*/
|
|
8
8
|
export interface IGenerativeAIInferenceJob extends IGenerativeAIJob {
|
|
9
9
|
/**
|
|
10
|
-
* The thread id
|
|
10
|
+
* The thread id of the job.
|
|
11
11
|
*/
|
|
12
12
|
threadId: string;
|
|
13
|
+
/**
|
|
14
|
+
* The job id of the job.
|
|
15
|
+
*/
|
|
16
|
+
jobId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The agent id of the job.
|
|
19
|
+
*/
|
|
20
|
+
agentId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The workflow id of the job.
|
|
23
|
+
*/
|
|
24
|
+
workflowId?: string;
|
|
13
25
|
/**
|
|
14
26
|
* The prompt to be processed.
|
|
15
27
|
*/
|
|
@@ -11,9 +11,21 @@ export interface IGenerativeAIInferenceWorkerParameters extends IGenerativeAIWor
|
|
|
11
11
|
*/
|
|
12
12
|
type: GenerativeAIJobType.Inference;
|
|
13
13
|
/**
|
|
14
|
-
* The thread id
|
|
14
|
+
* The thread id.
|
|
15
15
|
*/
|
|
16
16
|
threadId: string;
|
|
17
|
+
/**
|
|
18
|
+
* The job id of the job.
|
|
19
|
+
*/
|
|
20
|
+
jobId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The agent id of the job.
|
|
23
|
+
*/
|
|
24
|
+
agentId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The workflow id of the job.
|
|
27
|
+
*/
|
|
28
|
+
workflowId?: string;
|
|
17
29
|
/**
|
|
18
30
|
* The prompt to be processed.
|
|
19
31
|
*/
|
|
@@ -111,10 +123,22 @@ export interface IGenerativeAIInferenceTool {
|
|
|
111
123
|
* The context output variable for the tool.
|
|
112
124
|
*/
|
|
113
125
|
contextOutputVariable?: string;
|
|
126
|
+
/**
|
|
127
|
+
* The context input variable for the tool.
|
|
128
|
+
*/
|
|
129
|
+
contextInputVariable?: string;
|
|
114
130
|
/**
|
|
115
131
|
* The model ID to use for the tool.
|
|
116
132
|
*/
|
|
117
133
|
modelId?: string;
|
|
134
|
+
/**
|
|
135
|
+
* The workflow ID to use for the tool.
|
|
136
|
+
*/
|
|
137
|
+
workflowId?: string;
|
|
138
|
+
/**
|
|
139
|
+
* Whether the tool is async.
|
|
140
|
+
*/
|
|
141
|
+
async?: boolean;
|
|
118
142
|
/**
|
|
119
143
|
* The instructions for the tool.
|
|
120
144
|
*/
|
|
@@ -167,7 +191,8 @@ export declare enum GenerativeAIInferenceToolType {
|
|
|
167
191
|
WriteFile = "write-file",
|
|
168
192
|
FormSkillGetQuestion = "form-skill-get-question",
|
|
169
193
|
FormSkillSetAnswer = "form-skill-set-answer",
|
|
170
|
-
FormSkillSubmitForm = "form-skill-submit-form"
|
|
194
|
+
FormSkillSubmitForm = "form-skill-submit-form",
|
|
195
|
+
WorkflowTool = "workflow-tool"
|
|
171
196
|
}
|
|
172
197
|
/**
|
|
173
198
|
* The interface for the generative AI inference form skill question.
|
|
@@ -19,4 +19,5 @@ export var GenerativeAIInferenceToolType;
|
|
|
19
19
|
GenerativeAIInferenceToolType["FormSkillGetQuestion"] = "form-skill-get-question";
|
|
20
20
|
GenerativeAIInferenceToolType["FormSkillSetAnswer"] = "form-skill-set-answer";
|
|
21
21
|
GenerativeAIInferenceToolType["FormSkillSubmitForm"] = "form-skill-submit-form";
|
|
22
|
+
GenerativeAIInferenceToolType["WorkflowTool"] = "workflow-tool";
|
|
22
23
|
})(GenerativeAIInferenceToolType || (GenerativeAIInferenceToolType = {}));
|
|
@@ -23,6 +23,14 @@ export interface IGenerativeAIPromptCreateJobParameters extends IGenerativeAICre
|
|
|
23
23
|
* The thread id
|
|
24
24
|
*/
|
|
25
25
|
threadId: string;
|
|
26
|
+
/**
|
|
27
|
+
* The job id
|
|
28
|
+
*/
|
|
29
|
+
jobId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The agent id
|
|
32
|
+
*/
|
|
33
|
+
agentId?: string;
|
|
26
34
|
/**
|
|
27
35
|
* The context for the AI job.
|
|
28
36
|
*/
|
|
@@ -17,6 +17,14 @@ export interface IGenerativeAIPromptJob extends IGenerativeAIJob {
|
|
|
17
17
|
* The thread id
|
|
18
18
|
*/
|
|
19
19
|
threadId: string;
|
|
20
|
+
/**
|
|
21
|
+
* The job id
|
|
22
|
+
*/
|
|
23
|
+
jobId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The agent id
|
|
26
|
+
*/
|
|
27
|
+
agentId?: string;
|
|
20
28
|
/**
|
|
21
29
|
* The context for the AI job.
|
|
22
30
|
*/
|