@vendasta/ai-assistants 0.57.0 → 0.59.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/assistant.api.service.mjs +12 -2
- package/esm2020/lib/_internal/enums/api.enum.mjs +8 -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/objects/api.mjs +452 -477
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-ai-assistants.mjs +438 -520
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +438 -520
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/assistant.api.service.d.ts +4 -2
- package/lib/_internal/enums/api.enum.d.ts +6 -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 +90 -89
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +144 -158
- package/lib/_internal/objects/index.d.ts +1 -1
- 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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, CreateAssistantRequest, CreateAssistantResponse, DeleteAssistantRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetMultiAssistantRequest, GetMultiAssistantResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsResponse, ListTemplateVariablesRequest, ListTemplateVariablesResponse, SetAssistantConnectionsRequest, UpdateAssistantRequest, UpsertAssistantRequest, UpsertAssistantResponse } from './objects/';
|
|
2
|
-
import { BuildDefaultAssistantRequestInterface, CreateAssistantRequestInterface, DeleteAssistantRequestInterface, ExecuteFunctionRequestInterface, GenerateChatAnswerRequestInterface, GetAssistantRequestInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetMultiAssistantRequestInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAssistantRequestInterface, ListAvailableModelsRequestInterface, ListTemplateVariablesRequestInterface, SetAssistantConnectionsRequestInterface, UpdateAssistantRequestInterface, UpsertAssistantRequestInterface } from './interfaces/';
|
|
1
|
+
import { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, CreateAssistantRequest, CreateAssistantResponse, DeleteAssistantRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetMultiAssistantRequest, GetMultiAssistantResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsResponse, ListTemplateVariablesRequest, ListTemplateVariablesResponse, ResumeStreamingGenerateChatAnswerRequest, SetAssistantConnectionsRequest, StreamingGenerateChatAnswerRequest, StreamingGenerateChatAnswerResponse, UpdateAssistantRequest, UpsertAssistantRequest, UpsertAssistantResponse } from './objects/';
|
|
2
|
+
import { BuildDefaultAssistantRequestInterface, CreateAssistantRequestInterface, DeleteAssistantRequestInterface, ExecuteFunctionRequestInterface, GenerateChatAnswerRequestInterface, GetAssistantRequestInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetMultiAssistantRequestInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAssistantRequestInterface, ListAvailableModelsRequestInterface, ListTemplateVariablesRequestInterface, ResumeStreamingGenerateChatAnswerRequestInterface, SetAssistantConnectionsRequestInterface, StreamingGenerateChatAnswerRequestInterface, UpdateAssistantRequestInterface, UpsertAssistantRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -18,6 +18,8 @@ export declare class AssistantApiService {
|
|
|
18
18
|
listAssistant(r: ListAssistantRequest | ListAssistantRequestInterface): Observable<ListAssistantResponse>;
|
|
19
19
|
listAllAssistantsAssociatedToConnection(r: ListAllAssistantsAssociatedToConnectionRequest | ListAllAssistantsAssociatedToConnectionRequestInterface): Observable<ListAllAssistantsAssociatedToConnectionResponse>;
|
|
20
20
|
generateChatAnswer(r: GenerateChatAnswerRequest | GenerateChatAnswerRequestInterface): Observable<GenerateChatAnswerResponse>;
|
|
21
|
+
streamingGenerateChatAnswer(r: StreamingGenerateChatAnswerRequest | StreamingGenerateChatAnswerRequestInterface): Observable<StreamingGenerateChatAnswerResponse>;
|
|
22
|
+
resumeStreamingGenerateChatAnswer(r: ResumeStreamingGenerateChatAnswerRequest | ResumeStreamingGenerateChatAnswerRequestInterface): Observable<StreamingGenerateChatAnswerResponse>;
|
|
21
23
|
getChatAnswerFunctionExecutionJob(r: GetChatAnswerFunctionExecutionJobRequest | GetChatAnswerFunctionExecutionJobRequestInterface): Observable<GetChatAnswerFunctionExecutionJobResponse>;
|
|
22
24
|
setAssistantConnections(r: SetAssistantConnectionsRequest | SetAssistantConnectionsRequestInterface): Observable<HttpResponse<null>>;
|
|
23
25
|
executeFunction(r: ExecuteFunctionRequest | ExecuteFunctionRequestInterface): Observable<ExecuteFunctionResponse>;
|
|
@@ -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 { StreamingGenerateChatAnswerResponseContentType, ListGoalsRequestSortingOrder, } from './api.enum';
|
|
10
|
+
export { AgentArchitecture, StreamingGenerateChatAnswerResponseContentType, ListGoalsRequestSortingOrder, } 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;
|
|
@@ -23,6 +23,10 @@ export interface SetAssistantConnectionsRequestConnectionStateInterface {
|
|
|
23
23
|
connectionKey?: ConnectionKeyInterface;
|
|
24
24
|
isAssociated?: boolean;
|
|
25
25
|
}
|
|
26
|
+
export interface StreamingGenerateChatAnswerResponseContentChunkInterface {
|
|
27
|
+
content?: string;
|
|
28
|
+
contentType?: e.StreamingGenerateChatAnswerResponseContentType;
|
|
29
|
+
}
|
|
26
30
|
export interface CreateAssistantRequestInterface {
|
|
27
31
|
assistant?: AssistantInterface;
|
|
28
32
|
options?: CreateAssistantRequestOptionsInterface;
|
|
@@ -53,11 +57,6 @@ export interface CreatePromptModuleVersionRequestInterface {
|
|
|
53
57
|
content?: string;
|
|
54
58
|
options?: CreatePromptModuleVersionRequestOptionsInterface;
|
|
55
59
|
}
|
|
56
|
-
export interface CreatePromptRequestInterface {
|
|
57
|
-
id?: string;
|
|
58
|
-
content?: string;
|
|
59
|
-
description?: string;
|
|
60
|
-
}
|
|
61
60
|
export interface DeleteAssistantRequestInterface {
|
|
62
61
|
id?: string;
|
|
63
62
|
namespace?: NamespaceInterface;
|
|
@@ -81,17 +80,16 @@ export interface DeletePromptModuleRequestInterface {
|
|
|
81
80
|
id?: string;
|
|
82
81
|
namespace?: NamespaceInterface;
|
|
83
82
|
}
|
|
84
|
-
export interface DeletePromptRequestInterface {
|
|
85
|
-
id?: string;
|
|
86
|
-
}
|
|
87
83
|
export interface DeployPromptModuleRequestInterface {
|
|
88
84
|
id?: string;
|
|
89
85
|
namespace?: NamespaceInterface;
|
|
90
86
|
version?: string;
|
|
91
87
|
}
|
|
92
|
-
export interface
|
|
93
|
-
|
|
94
|
-
|
|
88
|
+
export interface StreamingGenerateChatAnswerResponseErrorChunkInterface {
|
|
89
|
+
errorMessage?: string;
|
|
90
|
+
errorCode?: string;
|
|
91
|
+
errorDetails?: KeyValuePairInterface[];
|
|
92
|
+
resumable?: boolean;
|
|
95
93
|
}
|
|
96
94
|
export interface ExecuteFunctionRequestInterface {
|
|
97
95
|
assistantKey?: AssistantKeyInterface;
|
|
@@ -103,21 +101,6 @@ export interface ExecuteFunctionResponseInterface {
|
|
|
103
101
|
output?: string;
|
|
104
102
|
metadata?: KeyValuePairInterface[];
|
|
105
103
|
}
|
|
106
|
-
export interface ListAssistantRequestFiltersInterface {
|
|
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 {
|
|
119
|
-
namespace?: NamespaceInterface;
|
|
120
|
-
}
|
|
121
104
|
export interface ListGoalsRequestFiltersInterface {
|
|
122
105
|
namespace?: NamespaceInterface;
|
|
123
106
|
type?: e.GoalType;
|
|
@@ -128,15 +111,50 @@ export interface ListGoalsRequestFiltersInterface {
|
|
|
128
111
|
sortOptions?: ListGoalsRequestSortOptionsInterface[];
|
|
129
112
|
omitOverrides?: boolean;
|
|
130
113
|
}
|
|
131
|
-
export interface
|
|
114
|
+
export interface ListPromptModuleRequestFiltersInterface {
|
|
115
|
+
namespace?: NamespaceInterface;
|
|
116
|
+
}
|
|
117
|
+
export interface ListAssistantRequestFiltersInterface {
|
|
118
|
+
namespace?: NamespaceInterface;
|
|
132
119
|
type?: e.AssistantType;
|
|
133
120
|
}
|
|
121
|
+
export interface ListConnectionsRequestFiltersInterface {
|
|
122
|
+
namespace?: NamespaceInterface;
|
|
123
|
+
assistantType?: e.AssistantType;
|
|
124
|
+
}
|
|
134
125
|
export interface ListFunctionRequestFiltersInterface {
|
|
135
126
|
namespace?: NamespaceInterface;
|
|
136
127
|
namespaces?: NamespaceInterface[];
|
|
137
128
|
mcpId?: string;
|
|
138
129
|
constraintFilters?: ConstraintFilterInterface[];
|
|
139
130
|
}
|
|
131
|
+
export interface ListAvailableModelsRequestFiltersInterface {
|
|
132
|
+
vendor?: e.ModelVendor[];
|
|
133
|
+
type?: e.ModelType[];
|
|
134
|
+
}
|
|
135
|
+
export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
136
|
+
type?: e.AssistantType;
|
|
137
|
+
}
|
|
138
|
+
export interface StreamingGenerateChatAnswerResponseFinalChunkInterface {
|
|
139
|
+
}
|
|
140
|
+
export interface StreamingGenerateChatAnswerResponseFunctionCompleteChunkInterface {
|
|
141
|
+
functionName?: string;
|
|
142
|
+
result?: string;
|
|
143
|
+
metadata?: KeyValuePairInterface[];
|
|
144
|
+
functionCallId?: string;
|
|
145
|
+
}
|
|
146
|
+
export interface StreamingGenerateChatAnswerResponseFunctionProgressChunkInterface {
|
|
147
|
+
functionName?: string;
|
|
148
|
+
status?: string;
|
|
149
|
+
progressMessage?: string;
|
|
150
|
+
functionCallId?: string;
|
|
151
|
+
}
|
|
152
|
+
export interface StreamingGenerateChatAnswerResponseFunctionStartChunkInterface {
|
|
153
|
+
functionName?: string;
|
|
154
|
+
functionDescription?: string;
|
|
155
|
+
arguments?: string;
|
|
156
|
+
functionCallId?: string;
|
|
157
|
+
}
|
|
140
158
|
export interface GenerateChatAnswerRequestInterface {
|
|
141
159
|
connectionKey?: ConnectionKeyInterface;
|
|
142
160
|
chatHistory?: ChatMessageInterface[];
|
|
@@ -182,13 +200,6 @@ export interface GetDeployedPromptModuleVersionResponseInterface {
|
|
|
182
200
|
promptModule?: PromptModuleInterface;
|
|
183
201
|
deployedPromptModuleVersion?: PromptModuleVersionInterface;
|
|
184
202
|
}
|
|
185
|
-
export interface GetDeployedPromptVersionRequestInterface {
|
|
186
|
-
id?: string;
|
|
187
|
-
}
|
|
188
|
-
export interface GetDeployedPromptVersionResponseInterface {
|
|
189
|
-
prompt?: PromptInterface;
|
|
190
|
-
deployedPromptVersion?: PromptVersionInterface;
|
|
191
|
-
}
|
|
192
203
|
export interface GetFunctionRequestInterface {
|
|
193
204
|
id?: string;
|
|
194
205
|
namespace?: NamespaceInterface;
|
|
@@ -218,13 +229,6 @@ export interface GetMultiAssistantRequestInterface {
|
|
|
218
229
|
export interface GetMultiAssistantResponseInterface {
|
|
219
230
|
assistants?: AssistantInterface[];
|
|
220
231
|
}
|
|
221
|
-
export interface GetMultiDeployedPromptVersionRequestInterface {
|
|
222
|
-
ids?: string[];
|
|
223
|
-
}
|
|
224
|
-
export interface GetMultiDeployedPromptVersionResponseInterface {
|
|
225
|
-
prompts?: PromptInterface[];
|
|
226
|
-
deployedPromptVersions?: PromptVersionInterface[];
|
|
227
|
-
}
|
|
228
232
|
export interface GetMultiFunctionRequestInterface {
|
|
229
233
|
keys?: FunctionKeyInterface[];
|
|
230
234
|
}
|
|
@@ -259,19 +263,6 @@ export interface GetPromptModuleVersionRequestInterface {
|
|
|
259
263
|
export interface GetPromptModuleVersionResponseInterface {
|
|
260
264
|
promptModuleVersion?: PromptModuleVersionInterface;
|
|
261
265
|
}
|
|
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
266
|
export interface GoalsDisabledForAccountGroupRequestInterface {
|
|
276
267
|
accountGroupId?: string;
|
|
277
268
|
}
|
|
@@ -343,22 +334,6 @@ export interface ListPromptModuleVersionsResponseInterface {
|
|
|
343
334
|
promptModuleVersions?: PromptModuleVersionInterface[];
|
|
344
335
|
metadata?: PagedResponseMetadataInterface;
|
|
345
336
|
}
|
|
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
337
|
export interface ListTemplateVariablesRequestInterface {
|
|
363
338
|
assistantKey?: AssistantKeyInterface;
|
|
364
339
|
chatUserInfo?: ChatUserInfoInterface;
|
|
@@ -366,29 +341,36 @@ export interface ListTemplateVariablesRequestInterface {
|
|
|
366
341
|
export interface ListTemplateVariablesResponseInterface {
|
|
367
342
|
assistantScopedVariables?: TemplateVariableInterface[];
|
|
368
343
|
}
|
|
369
|
-
export interface
|
|
370
|
-
|
|
371
|
-
enableAsyncFunctions?: boolean;
|
|
372
|
-
maxTokens?: number;
|
|
373
|
-
}
|
|
374
|
-
export interface ExecuteFunctionRequestOptionsInterface {
|
|
375
|
-
skipComputeTemplateVariables?: boolean;
|
|
376
|
-
contextInfo?: ContextInfoInterface;
|
|
377
|
-
}
|
|
378
|
-
export interface CreateAssistantRequestOptionsInterface {
|
|
379
|
-
applyDefaults?: boolean;
|
|
344
|
+
export interface StreamingGenerateChatAnswerResponseMetadataChunkInterface {
|
|
345
|
+
metadata?: KeyValuePairInterface[];
|
|
380
346
|
}
|
|
381
347
|
export interface GetAssistantRequestOptionsInterface {
|
|
382
348
|
skipGoalsHydration?: boolean;
|
|
383
349
|
}
|
|
350
|
+
export interface GetMultiAssistantRequestOptionsInterface {
|
|
351
|
+
skipGoalsHydration?: boolean;
|
|
352
|
+
}
|
|
384
353
|
export interface UpsertAssistantRequestOptionsInterface {
|
|
385
354
|
applyDefaults?: boolean;
|
|
386
355
|
}
|
|
356
|
+
export interface CreateAssistantRequestOptionsInterface {
|
|
357
|
+
applyDefaults?: boolean;
|
|
358
|
+
}
|
|
359
|
+
export interface ExecuteFunctionRequestOptionsInterface {
|
|
360
|
+
skipComputeTemplateVariables?: boolean;
|
|
361
|
+
contextInfo?: ContextInfoInterface;
|
|
362
|
+
}
|
|
363
|
+
export interface GenerateChatAnswerRequestOptionsInterface {
|
|
364
|
+
includeAllCitations?: boolean;
|
|
365
|
+
enableAsyncFunctions?: boolean;
|
|
366
|
+
maxTokens?: number;
|
|
367
|
+
}
|
|
387
368
|
export interface CreatePromptModuleVersionRequestOptionsInterface {
|
|
388
369
|
shouldDeploy?: boolean;
|
|
389
370
|
}
|
|
390
|
-
export interface
|
|
391
|
-
|
|
371
|
+
export interface ResumeStreamingGenerateChatAnswerRequestInterface {
|
|
372
|
+
streamId?: string;
|
|
373
|
+
lastReceivedSequenceNumber?: number;
|
|
392
374
|
}
|
|
393
375
|
export interface SetAssistantConnectionsRequestInterface {
|
|
394
376
|
associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
|
|
@@ -398,6 +380,30 @@ export interface ListGoalsRequestSortOptionsInterface {
|
|
|
398
380
|
field?: string;
|
|
399
381
|
order?: e.ListGoalsRequestSortingOrder;
|
|
400
382
|
}
|
|
383
|
+
export interface StreamingGenerateChatAnswerResponseStartChunkInterface {
|
|
384
|
+
streamId?: string;
|
|
385
|
+
metadata?: KeyValuePairInterface[];
|
|
386
|
+
}
|
|
387
|
+
export interface StreamingGenerateChatAnswerRequestInterface {
|
|
388
|
+
connectionKey?: ConnectionKeyInterface;
|
|
389
|
+
assistantKey?: AssistantKeyInterface;
|
|
390
|
+
chatHistory?: ChatMessageInterface[];
|
|
391
|
+
chatUserInfo?: ChatUserInfoInterface;
|
|
392
|
+
chatChannel?: e.ChatChannel;
|
|
393
|
+
contextInfo?: ContextInfoInterface;
|
|
394
|
+
agentArchitecture?: e.AgentArchitecture;
|
|
395
|
+
}
|
|
396
|
+
export interface StreamingGenerateChatAnswerResponseInterface {
|
|
397
|
+
sequenceNumber?: number;
|
|
398
|
+
start?: StreamingGenerateChatAnswerResponseStartChunkInterface;
|
|
399
|
+
content?: StreamingGenerateChatAnswerResponseContentChunkInterface;
|
|
400
|
+
metadata?: StreamingGenerateChatAnswerResponseMetadataChunkInterface;
|
|
401
|
+
functionStart?: StreamingGenerateChatAnswerResponseFunctionStartChunkInterface;
|
|
402
|
+
functionProgress?: StreamingGenerateChatAnswerResponseFunctionProgressChunkInterface;
|
|
403
|
+
functionComplete?: StreamingGenerateChatAnswerResponseFunctionCompleteChunkInterface;
|
|
404
|
+
final?: StreamingGenerateChatAnswerResponseFinalChunkInterface;
|
|
405
|
+
error?: StreamingGenerateChatAnswerResponseErrorChunkInterface;
|
|
406
|
+
}
|
|
401
407
|
export interface UpdateAssistantRequestInterface {
|
|
402
408
|
assistant?: AssistantInterface;
|
|
403
409
|
fieldMask?: FieldMaskInterface;
|
|
@@ -411,11 +417,6 @@ export interface UpdatePromptModuleRequestInterface {
|
|
|
411
417
|
name?: string;
|
|
412
418
|
description?: string;
|
|
413
419
|
}
|
|
414
|
-
export interface UpdatePromptRequestInterface {
|
|
415
|
-
id?: string;
|
|
416
|
-
content?: string;
|
|
417
|
-
description?: string;
|
|
418
|
-
}
|
|
419
420
|
export interface UpsertAssistantRequestInterface {
|
|
420
421
|
assistant?: AssistantInterface;
|
|
421
422
|
options?: UpsertAssistantRequestOptionsInterface;
|
|
@@ -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, StreamingGenerateChatAnswerResponseContentChunkInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeployPromptModuleRequestInterface, StreamingGenerateChatAnswerResponseErrorChunkInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface, ListGoalsRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListConnectionsRequestFiltersInterface, ListFunctionRequestFiltersInterface, ListAvailableModelsRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, StreamingGenerateChatAnswerResponseFinalChunkInterface, StreamingGenerateChatAnswerResponseFunctionCompleteChunkInterface, StreamingGenerateChatAnswerResponseFunctionProgressChunkInterface, StreamingGenerateChatAnswerResponseFunctionStartChunkInterface, 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, StreamingGenerateChatAnswerResponseMetadataChunkInterface, GetAssistantRequestOptionsInterface, GetMultiAssistantRequestOptionsInterface, UpsertAssistantRequestOptionsInterface, CreateAssistantRequestOptionsInterface, ExecuteFunctionRequestOptionsInterface, GenerateChatAnswerRequestOptionsInterface, CreatePromptModuleVersionRequestOptionsInterface, ResumeStreamingGenerateChatAnswerRequestInterface, SetAssistantConnectionsRequestInterface, ListGoalsRequestSortOptionsInterface, StreamingGenerateChatAnswerResponseStartChunkInterface, StreamingGenerateChatAnswerRequestInterface, StreamingGenerateChatAnswerResponseInterface, UpdateAssistantRequestInterface, UpdateGoalRequestInterface, UpdatePromptModuleRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, ValidatePromptModuleRequestInterface, ValidatePromptModuleResponseInterface, } from './api.interface';
|