@vendasta/ai-assistants 0.58.0 → 0.60.0
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/esm2020/lib/_internal/enums/api.enum.mjs +10 -1
- package/esm2020/lib/_internal/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/index.mjs +1 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/prompt.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +382 -545
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/esm2020/lib/_internal/objects/prompt.mjs +1 -77
- package/esm2020/lib/_internal/prompt-module.api.service.mjs +12 -2
- package/fesm2015/vendasta-ai-assistants.mjs +401 -695
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +401 -695
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/enums/api.enum.d.ts +8 -0
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/index.d.ts +0 -1
- package/lib/_internal/interfaces/api.interface.d.ts +70 -92
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/interfaces/prompt.interface.d.ts +0 -15
- package/lib/_internal/objects/api.d.ts +118 -164
- package/lib/_internal/objects/index.d.ts +2 -2
- package/lib/_internal/objects/prompt.d.ts +0 -21
- package/lib/_internal/prompt-module.api.service.d.ts +4 -2
- package/package.json +1 -1
- package/esm2020/lib/_internal/prompt.api.service.mjs +0 -81
- package/lib/_internal/prompt.api.service.d.ts +0 -23
|
@@ -15,3 +15,11 @@ export declare enum ListGoalsRequestSortingOrder {
|
|
|
15
15
|
GOAL_SORTING_ORDER_ASCENDING = 0,
|
|
16
16
|
GOAL_SORTING_ORDER_DESCENDING = 1
|
|
17
17
|
}
|
|
18
|
+
export declare enum ValidationFailureAction {
|
|
19
|
+
VALIDATION_FAILURE_ACTION_UNSPECIFIED = 0,
|
|
20
|
+
VALIDATION_FAILURE_ACTION_NONE = 1,
|
|
21
|
+
VALIDATION_FAILURE_ACTION_WARN = 2,
|
|
22
|
+
VALIDATION_FAILURE_ACTION_MODIFY = 3,
|
|
23
|
+
VALIDATION_FAILURE_ACTION_BLOCK = 4,
|
|
24
|
+
VALIDATION_FAILURE_ACTION_EXCEPTION = 5
|
|
25
|
+
}
|
|
@@ -7,4 +7,4 @@ export { ModelType, ModelVendor, } from './model.enum';
|
|
|
7
7
|
export { VendorModel, } from './assistant.enum';
|
|
8
8
|
export { ChatAnswerFunctionExecutionJobStatus, ChatChannel, ChatMessageRole, } from './answer.enum';
|
|
9
9
|
export { SortDirection, } from './integration-tests.enum';
|
|
10
|
-
export { AgentArchitecture, StreamingGenerateChatAnswerResponseContentType, ListGoalsRequestSortingOrder, } from './api.enum';
|
|
10
|
+
export { AgentArchitecture, StreamingGenerateChatAnswerResponseContentType, ListGoalsRequestSortingOrder, ValidationFailureAction, } from './api.enum';
|
package/lib/_internal/index.d.ts
CHANGED
|
@@ -7,4 +7,3 @@ export { FunctionApiService } from './function.api.service';
|
|
|
7
7
|
export { GoalApiService } from './goal.api.service';
|
|
8
8
|
export { IntegrationTestApiService } from './integration-test.api.service';
|
|
9
9
|
export { PromptModuleApiService } from './prompt-module.api.service';
|
|
10
|
-
export { PromptApiService } from './prompt.api.service';
|
|
@@ -9,7 +9,7 @@ import { KeyValuePairInterface } from './common.interface';
|
|
|
9
9
|
import { ModelInterface } from './model.interface';
|
|
10
10
|
import { NamespaceInterface } from './namespace.interface';
|
|
11
11
|
import { PagedRequestOptionsInterface, PagedResponseMetadataInterface } from './paging.interface';
|
|
12
|
-
import { PromptModuleInterface, PromptModuleVersionInterface,
|
|
12
|
+
import { PromptModuleInterface, PromptModuleVersionInterface, PromptModuleKeyInterface } from './prompt.interface';
|
|
13
13
|
import * as e from '../enums';
|
|
14
14
|
export interface BuildDefaultAssistantRequestInterface {
|
|
15
15
|
id?: string;
|
|
@@ -53,11 +53,6 @@ export interface CreatePromptModuleVersionRequestInterface {
|
|
|
53
53
|
content?: string;
|
|
54
54
|
options?: CreatePromptModuleVersionRequestOptionsInterface;
|
|
55
55
|
}
|
|
56
|
-
export interface CreatePromptRequestInterface {
|
|
57
|
-
id?: string;
|
|
58
|
-
content?: string;
|
|
59
|
-
description?: string;
|
|
60
|
-
}
|
|
61
56
|
export interface DeleteAssistantRequestInterface {
|
|
62
57
|
id?: string;
|
|
63
58
|
namespace?: NamespaceInterface;
|
|
@@ -81,18 +76,11 @@ export interface DeletePromptModuleRequestInterface {
|
|
|
81
76
|
id?: string;
|
|
82
77
|
namespace?: NamespaceInterface;
|
|
83
78
|
}
|
|
84
|
-
export interface DeletePromptRequestInterface {
|
|
85
|
-
id?: string;
|
|
86
|
-
}
|
|
87
79
|
export interface DeployPromptModuleRequestInterface {
|
|
88
80
|
id?: string;
|
|
89
81
|
namespace?: NamespaceInterface;
|
|
90
82
|
version?: string;
|
|
91
83
|
}
|
|
92
|
-
export interface DeployPromptRequestInterface {
|
|
93
|
-
id?: string;
|
|
94
|
-
version?: string;
|
|
95
|
-
}
|
|
96
84
|
export interface ExecuteFunctionRequestInterface {
|
|
97
85
|
assistantKey?: AssistantKeyInterface;
|
|
98
86
|
functionKey?: FunctionKeyInterface;
|
|
@@ -103,20 +91,11 @@ export interface ExecuteFunctionResponseInterface {
|
|
|
103
91
|
output?: string;
|
|
104
92
|
metadata?: KeyValuePairInterface[];
|
|
105
93
|
}
|
|
106
|
-
export interface
|
|
107
|
-
namespace?: NamespaceInterface;
|
|
108
|
-
type?: e.AssistantType;
|
|
109
|
-
}
|
|
110
|
-
export interface ListAvailableModelsRequestFiltersInterface {
|
|
111
|
-
vendor?: e.ModelVendor[];
|
|
112
|
-
type?: e.ModelType[];
|
|
113
|
-
}
|
|
114
|
-
export interface ListConnectionsRequestFiltersInterface {
|
|
115
|
-
namespace?: NamespaceInterface;
|
|
116
|
-
assistantType?: e.AssistantType;
|
|
117
|
-
}
|
|
118
|
-
export interface ListPromptModuleRequestFiltersInterface {
|
|
94
|
+
export interface ListFunctionRequestFiltersInterface {
|
|
119
95
|
namespace?: NamespaceInterface;
|
|
96
|
+
namespaces?: NamespaceInterface[];
|
|
97
|
+
mcpId?: string;
|
|
98
|
+
constraintFilters?: ConstraintFilterInterface[];
|
|
120
99
|
}
|
|
121
100
|
export interface ListGoalsRequestFiltersInterface {
|
|
122
101
|
namespace?: NamespaceInterface;
|
|
@@ -128,14 +107,23 @@ export interface ListGoalsRequestFiltersInterface {
|
|
|
128
107
|
sortOptions?: ListGoalsRequestSortOptionsInterface[];
|
|
129
108
|
omitOverrides?: boolean;
|
|
130
109
|
}
|
|
110
|
+
export interface ListAssistantRequestFiltersInterface {
|
|
111
|
+
namespace?: NamespaceInterface;
|
|
112
|
+
type?: e.AssistantType;
|
|
113
|
+
}
|
|
131
114
|
export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
132
115
|
type?: e.AssistantType;
|
|
133
116
|
}
|
|
134
|
-
export interface
|
|
117
|
+
export interface ListPromptModuleRequestFiltersInterface {
|
|
135
118
|
namespace?: NamespaceInterface;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
119
|
+
}
|
|
120
|
+
export interface ListConnectionsRequestFiltersInterface {
|
|
121
|
+
namespace?: NamespaceInterface;
|
|
122
|
+
assistantType?: e.AssistantType;
|
|
123
|
+
}
|
|
124
|
+
export interface ListAvailableModelsRequestFiltersInterface {
|
|
125
|
+
vendor?: e.ModelVendor[];
|
|
126
|
+
type?: e.ModelType[];
|
|
139
127
|
}
|
|
140
128
|
export interface GenerateChatAnswerRequestInterface {
|
|
141
129
|
connectionKey?: ConnectionKeyInterface;
|
|
@@ -150,6 +138,7 @@ export interface GenerateChatAnswerResponseInterface {
|
|
|
150
138
|
answer?: string;
|
|
151
139
|
metadata?: KeyValuePairInterface[];
|
|
152
140
|
pendingJobId?: string;
|
|
141
|
+
validationResult?: ValidationResultInterface;
|
|
153
142
|
}
|
|
154
143
|
export interface GetAssistantRequestInterface {
|
|
155
144
|
id?: string;
|
|
@@ -182,13 +171,6 @@ export interface GetDeployedPromptModuleVersionResponseInterface {
|
|
|
182
171
|
promptModule?: PromptModuleInterface;
|
|
183
172
|
deployedPromptModuleVersion?: PromptModuleVersionInterface;
|
|
184
173
|
}
|
|
185
|
-
export interface GetDeployedPromptVersionRequestInterface {
|
|
186
|
-
id?: string;
|
|
187
|
-
}
|
|
188
|
-
export interface GetDeployedPromptVersionResponseInterface {
|
|
189
|
-
prompt?: PromptInterface;
|
|
190
|
-
deployedPromptVersion?: PromptVersionInterface;
|
|
191
|
-
}
|
|
192
174
|
export interface GetFunctionRequestInterface {
|
|
193
175
|
id?: string;
|
|
194
176
|
namespace?: NamespaceInterface;
|
|
@@ -218,13 +200,6 @@ export interface GetMultiAssistantRequestInterface {
|
|
|
218
200
|
export interface GetMultiAssistantResponseInterface {
|
|
219
201
|
assistants?: AssistantInterface[];
|
|
220
202
|
}
|
|
221
|
-
export interface GetMultiDeployedPromptVersionRequestInterface {
|
|
222
|
-
ids?: string[];
|
|
223
|
-
}
|
|
224
|
-
export interface GetMultiDeployedPromptVersionResponseInterface {
|
|
225
|
-
prompts?: PromptInterface[];
|
|
226
|
-
deployedPromptVersions?: PromptVersionInterface[];
|
|
227
|
-
}
|
|
228
203
|
export interface GetMultiFunctionRequestInterface {
|
|
229
204
|
keys?: FunctionKeyInterface[];
|
|
230
205
|
}
|
|
@@ -259,19 +234,6 @@ export interface GetPromptModuleVersionRequestInterface {
|
|
|
259
234
|
export interface GetPromptModuleVersionResponseInterface {
|
|
260
235
|
promptModuleVersion?: PromptModuleVersionInterface;
|
|
261
236
|
}
|
|
262
|
-
export interface GetPromptRequestInterface {
|
|
263
|
-
id?: string;
|
|
264
|
-
}
|
|
265
|
-
export interface GetPromptResponseInterface {
|
|
266
|
-
prompt?: PromptInterface;
|
|
267
|
-
}
|
|
268
|
-
export interface GetPromptVersionRequestInterface {
|
|
269
|
-
id?: string;
|
|
270
|
-
version?: string;
|
|
271
|
-
}
|
|
272
|
-
export interface GetPromptVersionResponseInterface {
|
|
273
|
-
promptVersion?: PromptVersionInterface;
|
|
274
|
-
}
|
|
275
237
|
export interface GoalsDisabledForAccountGroupRequestInterface {
|
|
276
238
|
accountGroupId?: string;
|
|
277
239
|
}
|
|
@@ -343,22 +305,6 @@ export interface ListPromptModuleVersionsResponseInterface {
|
|
|
343
305
|
promptModuleVersions?: PromptModuleVersionInterface[];
|
|
344
306
|
metadata?: PagedResponseMetadataInterface;
|
|
345
307
|
}
|
|
346
|
-
export interface ListPromptRequestInterface {
|
|
347
|
-
pagingOptions?: PagedRequestOptionsInterface;
|
|
348
|
-
}
|
|
349
|
-
export interface ListPromptResponseInterface {
|
|
350
|
-
prompts?: PromptInterface[];
|
|
351
|
-
deployedPromptVersions?: PromptVersionInterface[];
|
|
352
|
-
metadata?: PagedResponseMetadataInterface;
|
|
353
|
-
}
|
|
354
|
-
export interface ListPromptVersionsRequestInterface {
|
|
355
|
-
id?: string;
|
|
356
|
-
pagingOptions?: PagedRequestOptionsInterface;
|
|
357
|
-
}
|
|
358
|
-
export interface ListPromptVersionsResponseInterface {
|
|
359
|
-
promptVersions?: PromptVersionInterface[];
|
|
360
|
-
metadata?: PagedResponseMetadataInterface;
|
|
361
|
-
}
|
|
362
308
|
export interface ListTemplateVariablesRequestInterface {
|
|
363
309
|
assistantKey?: AssistantKeyInterface;
|
|
364
310
|
chatUserInfo?: ChatUserInfoInterface;
|
|
@@ -366,14 +312,14 @@ export interface ListTemplateVariablesRequestInterface {
|
|
|
366
312
|
export interface ListTemplateVariablesResponseInterface {
|
|
367
313
|
assistantScopedVariables?: TemplateVariableInterface[];
|
|
368
314
|
}
|
|
369
|
-
export interface
|
|
370
|
-
|
|
371
|
-
enableAsyncFunctions?: boolean;
|
|
372
|
-
maxTokens?: number;
|
|
315
|
+
export interface UpsertAssistantRequestOptionsInterface {
|
|
316
|
+
applyDefaults?: boolean;
|
|
373
317
|
}
|
|
374
|
-
export interface
|
|
375
|
-
|
|
376
|
-
|
|
318
|
+
export interface GetMultiAssistantRequestOptionsInterface {
|
|
319
|
+
skipGoalsHydration?: boolean;
|
|
320
|
+
}
|
|
321
|
+
export interface CreatePromptModuleVersionRequestOptionsInterface {
|
|
322
|
+
shouldDeploy?: boolean;
|
|
377
323
|
}
|
|
378
324
|
export interface CreateAssistantRequestOptionsInterface {
|
|
379
325
|
applyDefaults?: boolean;
|
|
@@ -381,14 +327,14 @@ export interface CreateAssistantRequestOptionsInterface {
|
|
|
381
327
|
export interface GetAssistantRequestOptionsInterface {
|
|
382
328
|
skipGoalsHydration?: boolean;
|
|
383
329
|
}
|
|
384
|
-
export interface
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
shouldDeploy?: boolean;
|
|
330
|
+
export interface GenerateChatAnswerRequestOptionsInterface {
|
|
331
|
+
includeAllCitations?: boolean;
|
|
332
|
+
enableAsyncFunctions?: boolean;
|
|
333
|
+
maxTokens?: number;
|
|
389
334
|
}
|
|
390
|
-
export interface
|
|
391
|
-
|
|
335
|
+
export interface ExecuteFunctionRequestOptionsInterface {
|
|
336
|
+
skipComputeTemplateVariables?: boolean;
|
|
337
|
+
contextInfo?: ContextInfoInterface;
|
|
392
338
|
}
|
|
393
339
|
export interface SetAssistantConnectionsRequestInterface {
|
|
394
340
|
associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
|
|
@@ -411,11 +357,6 @@ export interface UpdatePromptModuleRequestInterface {
|
|
|
411
357
|
name?: string;
|
|
412
358
|
description?: string;
|
|
413
359
|
}
|
|
414
|
-
export interface UpdatePromptRequestInterface {
|
|
415
|
-
id?: string;
|
|
416
|
-
content?: string;
|
|
417
|
-
description?: string;
|
|
418
|
-
}
|
|
419
360
|
export interface UpsertAssistantRequestInterface {
|
|
420
361
|
assistant?: AssistantInterface;
|
|
421
362
|
options?: UpsertAssistantRequestOptionsInterface;
|
|
@@ -439,3 +380,40 @@ export interface ValidatePromptModuleResponseInterface {
|
|
|
439
380
|
isValid?: boolean;
|
|
440
381
|
errorMessage?: string;
|
|
441
382
|
}
|
|
383
|
+
export interface ValidatePromptModuleVersionsRequestInterface {
|
|
384
|
+
versions?: PromptModuleVersionInterface[];
|
|
385
|
+
}
|
|
386
|
+
export interface ValidatePromptModuleVersionsResponseInterface {
|
|
387
|
+
results?: ValidatePromptModuleVersionsResponseValidationResultInterface[];
|
|
388
|
+
allValid?: boolean;
|
|
389
|
+
}
|
|
390
|
+
export interface ValidatePromptModulesRequestInterface {
|
|
391
|
+
promptModules?: PromptModuleInterface[];
|
|
392
|
+
}
|
|
393
|
+
export interface ValidatePromptModulesResponseInterface {
|
|
394
|
+
results?: ValidatePromptModulesResponseValidationResultInterface[];
|
|
395
|
+
allValid?: boolean;
|
|
396
|
+
}
|
|
397
|
+
export interface ValidatePromptModulesResponseValidationResultInterface {
|
|
398
|
+
id?: string;
|
|
399
|
+
namespace?: NamespaceInterface;
|
|
400
|
+
isValid?: boolean;
|
|
401
|
+
errorMessage?: string;
|
|
402
|
+
}
|
|
403
|
+
export interface ValidatePromptModuleVersionsResponseValidationResultInterface {
|
|
404
|
+
id?: string;
|
|
405
|
+
namespace?: NamespaceInterface;
|
|
406
|
+
isValid?: boolean;
|
|
407
|
+
errorMessage?: string;
|
|
408
|
+
}
|
|
409
|
+
export interface ValidationResultInterface {
|
|
410
|
+
failureAction?: e.ValidationFailureAction;
|
|
411
|
+
violations?: ValidationViolationInterface[];
|
|
412
|
+
}
|
|
413
|
+
export interface ValidationViolationInterface {
|
|
414
|
+
failureAction?: e.ValidationFailureAction;
|
|
415
|
+
confidence?: number;
|
|
416
|
+
message?: string;
|
|
417
|
+
validatorName?: string;
|
|
418
|
+
isInputValidation?: boolean;
|
|
419
|
+
}
|
|
@@ -2,7 +2,7 @@ export { NamespaceAccountGroupNamespaceInterface, NamespaceGlobalNamespaceInterf
|
|
|
2
2
|
export { ConstraintInterface, ConstraintFilterInterface, ScopeInterface, } from './constraints.interface';
|
|
3
3
|
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
|
|
4
4
|
export { FunctionAuthStrategyConnectedIntegrationAuthStrategyInterface, CreateMCPFromIntegrationRequestInterface, DeleteMCPRequestInterface, ListMCPsRequestFiltersInterface, FunctionInterface, FunctionAuthStrategyInterface, FunctionHeaderInterface, FunctionKeyInterface, FunctionParameterInterface, FunctionAuthStrategyImpersonationAuthStrategyInterface, ListMCPToolsRequestInterface, ListMCPToolsResponseInterface, ListMCPsRequestInterface, ListMCPsResponseInterface, MCPInterface, FunctionAuthStrategyPlatformManagedFunctionAuthStrategyInterface, FunctionAuthStrategyUnspecifiedFunctionAuthStrategyInterface, UpsertMCPRequestInterface, } from './function.interface';
|
|
5
|
-
export {
|
|
5
|
+
export { PromptModuleInterface, PromptModuleKeyInterface, PromptModuleVersionInterface, } from './prompt.interface';
|
|
6
6
|
export { GoalInterface, GoalKeyInterface, } from './goal.interface';
|
|
7
7
|
export { KeyValuePairInterface, } from './common.interface';
|
|
8
8
|
export { ModelInterface, } from './model.interface';
|
|
@@ -12,4 +12,4 @@ export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJob
|
|
|
12
12
|
export { CancelTestRunRequestInterface, TestResultCitationInterface, DeleteTestCasesRequestInterface, GetTestRunRequestInterface, GetTestRunResponseInterface, ListTestCasesByAssistantRequestInterface, ListTestCasesByAssistantResponseInterface, ListTestRunsByAssistantRequestInterface, ListTestRunsByAssistantResponseInterface, RunTestsRequestInterface, RunTestsResponseInterface, SortOptionsInterface, TestCaseInterface, TestResultInterface, TestRunInterface, UpsertTestCasesRequestInterface, } from './integration-tests.interface';
|
|
13
13
|
export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
|
|
14
14
|
export { FieldMaskInterface, } from './field-mask.interface';
|
|
15
|
-
export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface,
|
|
15
|
+
export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface, ListFunctionRequestFiltersInterface, ListGoalsRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, ListConnectionsRequestFiltersInterface, ListAvailableModelsRequestFiltersInterface, GenerateChatAnswerRequestInterface, GenerateChatAnswerResponseInterface, GetAssistantRequestInterface, GetAssistantResponseInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetChatAnswerFunctionExecutionJobResponseInterface, GetConnectionRequestInterface, GetConnectionResponseInterface, GetDeployedPromptModuleVersionRequestInterface, GetDeployedPromptModuleVersionResponseInterface, GetFunctionRequestInterface, GetFunctionResponseInterface, GetGoalRequestInterface, GetGoalResponseInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionResponseInterface, GetMultiAssistantRequestInterface, GetMultiAssistantResponseInterface, GetMultiFunctionRequestInterface, GetMultiFunctionResponseInterface, GetMultiGoalRequestInterface, GetMultiGoalResponseInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionResponseInterface, GetPromptModuleRequestInterface, GetPromptModuleResponseInterface, GetPromptModuleVersionRequestInterface, GetPromptModuleVersionResponseInterface, GoalsDisabledForAccountGroupRequestInterface, GoalsDisabledForAccountGroupResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListAvailableModelsRequestInterface, ListAvailableModelsResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListTemplateVariablesRequestInterface, ListTemplateVariablesResponseInterface, UpsertAssistantRequestOptionsInterface, GetMultiAssistantRequestOptionsInterface, CreatePromptModuleVersionRequestOptionsInterface, CreateAssistantRequestOptionsInterface, GetAssistantRequestOptionsInterface, GenerateChatAnswerRequestOptionsInterface, ExecuteFunctionRequestOptionsInterface, SetAssistantConnectionsRequestInterface, ListGoalsRequestSortOptionsInterface, UpdateAssistantRequestInterface, UpdateGoalRequestInterface, UpdatePromptModuleRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, ValidatePromptModuleRequestInterface, ValidatePromptModuleResponseInterface, ValidatePromptModuleVersionsRequestInterface, ValidatePromptModuleVersionsResponseInterface, ValidatePromptModulesRequestInterface, ValidatePromptModulesResponseInterface, ValidatePromptModulesResponseValidationResultInterface, ValidatePromptModuleVersionsResponseValidationResultInterface, ValidationResultInterface, ValidationViolationInterface, } from './api.interface';
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import { NamespaceInterface } from './namespace.interface';
|
|
2
|
-
export interface PromptInterface {
|
|
3
|
-
id?: string;
|
|
4
|
-
deployedVersion?: string;
|
|
5
|
-
deployedBy?: string;
|
|
6
|
-
updated?: Date;
|
|
7
|
-
description?: string;
|
|
8
|
-
deployed?: Date;
|
|
9
|
-
}
|
|
10
2
|
export interface PromptModuleInterface {
|
|
11
3
|
id?: string;
|
|
12
4
|
namespace?: NamespaceInterface;
|
|
@@ -30,10 +22,3 @@ export interface PromptModuleVersionInterface {
|
|
|
30
22
|
createdBy?: string;
|
|
31
23
|
created?: Date;
|
|
32
24
|
}
|
|
33
|
-
export interface PromptVersionInterface {
|
|
34
|
-
id?: string;
|
|
35
|
-
version?: string;
|
|
36
|
-
content?: string;
|
|
37
|
-
createdBy?: string;
|
|
38
|
-
created?: Date;
|
|
39
|
-
}
|