@crewdle/web-sdk-types 1.0.39 → 1.0.40
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 +9 -1
- package/dist/generative-ai/jobs/inference/GenerativeAIInferenceJob.d.ts +9 -1
- package/dist/generative-ai/jobs/inference/GenerativeAIInferenceWorkerParameters.d.ts +23 -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,17 @@ 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;
|
|
18
26
|
/**
|
|
19
27
|
* The prompt to be processed.
|
|
20
28
|
*/
|
|
@@ -7,9 +7,17 @@ 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;
|
|
13
21
|
/**
|
|
14
22
|
* The prompt to be processed.
|
|
15
23
|
*/
|
|
@@ -11,9 +11,17 @@ 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;
|
|
17
25
|
/**
|
|
18
26
|
* The prompt to be processed.
|
|
19
27
|
*/
|
|
@@ -111,10 +119,22 @@ export interface IGenerativeAIInferenceTool {
|
|
|
111
119
|
* The context output variable for the tool.
|
|
112
120
|
*/
|
|
113
121
|
contextOutputVariable?: string;
|
|
122
|
+
/**
|
|
123
|
+
* The context input variable for the tool.
|
|
124
|
+
*/
|
|
125
|
+
contextInputVariable?: string;
|
|
114
126
|
/**
|
|
115
127
|
* The model ID to use for the tool.
|
|
116
128
|
*/
|
|
117
129
|
modelId?: string;
|
|
130
|
+
/**
|
|
131
|
+
* The workflow ID to use for the tool.
|
|
132
|
+
*/
|
|
133
|
+
workflowId?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Whether the tool is async.
|
|
136
|
+
*/
|
|
137
|
+
async?: boolean;
|
|
118
138
|
/**
|
|
119
139
|
* The instructions for the tool.
|
|
120
140
|
*/
|
|
@@ -167,7 +187,8 @@ export declare enum GenerativeAIInferenceToolType {
|
|
|
167
187
|
WriteFile = "write-file",
|
|
168
188
|
FormSkillGetQuestion = "form-skill-get-question",
|
|
169
189
|
FormSkillSetAnswer = "form-skill-set-answer",
|
|
170
|
-
FormSkillSubmitForm = "form-skill-submit-form"
|
|
190
|
+
FormSkillSubmitForm = "form-skill-submit-form",
|
|
191
|
+
WorkflowTool = "workflow-tool"
|
|
171
192
|
}
|
|
172
193
|
/**
|
|
173
194
|
* 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
|
*/
|