@vendasta/ai-assistants 0.52.0 → 0.54.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 +7 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/assistant.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +151 -93
- package/esm2020/lib/_internal/objects/assistant.mjs +27 -1
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/fesm2015/vendasta-ai-assistants.mjs +181 -92
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +181 -92
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/assistant.api.service.d.ts +3 -2
- package/lib/_internal/interfaces/api.interface.d.ts +30 -21
- package/lib/_internal/interfaces/assistant.interface.d.ts +5 -0
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/objects/api.d.ts +52 -37
- package/lib/_internal/objects/assistant.d.ts +8 -0
- package/lib/_internal/objects/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -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, SetAssistantConnectionsRequest, UpdateAssistantRequest, UpsertAssistantRequest, UpsertAssistantResponse } from './objects/';
|
|
2
|
-
import { BuildDefaultAssistantRequestInterface, CreateAssistantRequestInterface, DeleteAssistantRequestInterface, ExecuteFunctionRequestInterface, GenerateChatAnswerRequestInterface, GetAssistantRequestInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetMultiAssistantRequestInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAssistantRequestInterface, ListAvailableModelsRequestInterface, 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, 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/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -22,6 +22,7 @@ export declare class AssistantApiService {
|
|
|
22
22
|
setAssistantConnections(r: SetAssistantConnectionsRequest | SetAssistantConnectionsRequestInterface): Observable<HttpResponse<null>>;
|
|
23
23
|
executeFunction(r: ExecuteFunctionRequest | ExecuteFunctionRequestInterface): Observable<ExecuteFunctionResponse>;
|
|
24
24
|
listAvailableModels(r: ListAvailableModelsRequest | ListAvailableModelsRequestInterface): Observable<ListAvailableModelsResponse>;
|
|
25
|
+
listTemplateVariables(r: ListTemplateVariablesRequest | ListTemplateVariablesRequestInterface): Observable<ListTemplateVariablesResponse>;
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssistantApiService, never>;
|
|
26
27
|
static ɵprov: i0.ɵɵInjectableDeclaration<AssistantApiService>;
|
|
27
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AssistantInterface, AssistantKeyInterface } from './assistant.interface';
|
|
1
|
+
import { AssistantInterface, AssistantKeyInterface, TemplateVariableInterface } from './assistant.interface';
|
|
2
2
|
import { ChatMessageInterface, ChatUserInfoInterface, ContextInfoInterface, ChatAnswerFunctionExecutionJobInterface } from './answer.interface';
|
|
3
3
|
import { ConnectionKeyInterface, ConnectionInterface } from './connection.interface';
|
|
4
4
|
import { ConstraintFilterInterface } from './constraints.interface';
|
|
@@ -70,10 +70,12 @@ export interface DeleteConnectionRequestInterface {
|
|
|
70
70
|
export interface DeleteFunctionRequestInterface {
|
|
71
71
|
id?: string;
|
|
72
72
|
namespace?: NamespaceInterface;
|
|
73
|
+
removeFromGoals?: boolean;
|
|
73
74
|
}
|
|
74
75
|
export interface DeleteGoalRequestInterface {
|
|
75
76
|
id?: string;
|
|
76
77
|
namespace?: NamespaceInterface;
|
|
78
|
+
removeFromAssistants?: boolean;
|
|
77
79
|
}
|
|
78
80
|
export interface DeletePromptModuleRequestInterface {
|
|
79
81
|
id?: string;
|
|
@@ -100,15 +102,9 @@ export interface ExecuteFunctionResponseInterface {
|
|
|
100
102
|
output?: string;
|
|
101
103
|
metadata?: KeyValuePairInterface[];
|
|
102
104
|
}
|
|
103
|
-
export interface
|
|
104
|
-
type?: e.AssistantType;
|
|
105
|
-
}
|
|
106
|
-
export interface ListConnectionsRequestFiltersInterface {
|
|
107
|
-
namespace?: NamespaceInterface;
|
|
108
|
-
assistantType?: e.AssistantType;
|
|
109
|
-
}
|
|
110
|
-
export interface ListPromptModuleRequestFiltersInterface {
|
|
105
|
+
export interface ListAssistantRequestFiltersInterface {
|
|
111
106
|
namespace?: NamespaceInterface;
|
|
107
|
+
type?: e.AssistantType;
|
|
112
108
|
}
|
|
113
109
|
export interface ListGoalsRequestFiltersInterface {
|
|
114
110
|
namespace?: NamespaceInterface;
|
|
@@ -119,20 +115,26 @@ export interface ListGoalsRequestFiltersInterface {
|
|
|
119
115
|
searchTerm?: string;
|
|
120
116
|
sortOptions?: ListGoalsRequestSortOptionsInterface[];
|
|
121
117
|
}
|
|
118
|
+
export interface ListConnectionsRequestFiltersInterface {
|
|
119
|
+
namespace?: NamespaceInterface;
|
|
120
|
+
assistantType?: e.AssistantType;
|
|
121
|
+
}
|
|
122
|
+
export interface ListPromptModuleRequestFiltersInterface {
|
|
123
|
+
namespace?: NamespaceInterface;
|
|
124
|
+
}
|
|
122
125
|
export interface ListAvailableModelsRequestFiltersInterface {
|
|
123
126
|
vendor?: e.ModelVendor[];
|
|
124
127
|
type?: e.ModelType[];
|
|
125
128
|
}
|
|
129
|
+
export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
130
|
+
type?: e.AssistantType;
|
|
131
|
+
}
|
|
126
132
|
export interface ListFunctionRequestFiltersInterface {
|
|
127
133
|
namespace?: NamespaceInterface;
|
|
128
134
|
namespaces?: NamespaceInterface[];
|
|
129
135
|
mcpId?: string;
|
|
130
136
|
constraintFilters?: ConstraintFilterInterface[];
|
|
131
137
|
}
|
|
132
|
-
export interface ListAssistantRequestFiltersInterface {
|
|
133
|
-
namespace?: NamespaceInterface;
|
|
134
|
-
type?: e.AssistantType;
|
|
135
|
-
}
|
|
136
138
|
export interface GenerateChatAnswerRequestInterface {
|
|
137
139
|
connectionKey?: ConnectionKeyInterface;
|
|
138
140
|
chatHistory?: ChatMessageInterface[];
|
|
@@ -355,13 +357,12 @@ export interface ListPromptVersionsResponseInterface {
|
|
|
355
357
|
promptVersions?: PromptVersionInterface[];
|
|
356
358
|
metadata?: PagedResponseMetadataInterface;
|
|
357
359
|
}
|
|
358
|
-
export interface
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
maxTokens?: number;
|
|
360
|
+
export interface ListTemplateVariablesRequestInterface {
|
|
361
|
+
assistantKey?: AssistantKeyInterface;
|
|
362
|
+
chatUserInfo?: ChatUserInfoInterface;
|
|
362
363
|
}
|
|
363
|
-
export interface
|
|
364
|
-
|
|
364
|
+
export interface ListTemplateVariablesResponseInterface {
|
|
365
|
+
assistantScopedVariables?: TemplateVariableInterface[];
|
|
365
366
|
}
|
|
366
367
|
export interface CreatePromptModuleVersionRequestOptionsInterface {
|
|
367
368
|
shouldDeploy?: boolean;
|
|
@@ -369,12 +370,20 @@ export interface CreatePromptModuleVersionRequestOptionsInterface {
|
|
|
369
370
|
export interface UpsertAssistantRequestOptionsInterface {
|
|
370
371
|
applyDefaults?: boolean;
|
|
371
372
|
}
|
|
372
|
-
export interface
|
|
373
|
-
|
|
373
|
+
export interface GenerateChatAnswerRequestOptionsInterface {
|
|
374
|
+
includeAllCitations?: boolean;
|
|
375
|
+
enableAsyncFunctions?: boolean;
|
|
376
|
+
maxTokens?: number;
|
|
374
377
|
}
|
|
375
378
|
export interface GetAssistantRequestOptionsInterface {
|
|
376
379
|
skipGoalsHydration?: boolean;
|
|
377
380
|
}
|
|
381
|
+
export interface GetMultiAssistantRequestOptionsInterface {
|
|
382
|
+
skipGoalsHydration?: boolean;
|
|
383
|
+
}
|
|
384
|
+
export interface CreateAssistantRequestOptionsInterface {
|
|
385
|
+
applyDefaults?: boolean;
|
|
386
|
+
}
|
|
378
387
|
export interface SetAssistantConnectionsRequestInterface {
|
|
379
388
|
associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
|
|
380
389
|
assistantKey?: AssistantKeyInterface;
|
|
@@ -45,6 +45,11 @@ export interface OpenAIRealtimeConfigInterface {
|
|
|
45
45
|
voice?: string;
|
|
46
46
|
turnDetection?: OpenAIRealtimeConfigTurnDetectionInterface;
|
|
47
47
|
}
|
|
48
|
+
export interface TemplateVariableInterface {
|
|
49
|
+
key?: string;
|
|
50
|
+
value?: string;
|
|
51
|
+
description?: string;
|
|
52
|
+
}
|
|
48
53
|
export interface OpenAIRealtimeConfigTurnDetectionInterface {
|
|
49
54
|
threshold?: number;
|
|
50
55
|
prefixPadding?: number;
|
|
@@ -6,10 +6,10 @@ export { PromptInterface, PromptModuleInterface, PromptModuleKeyInterface, Promp
|
|
|
6
6
|
export { GoalInterface, GoalKeyInterface, } from './goal.interface';
|
|
7
7
|
export { KeyValuePairInterface, } from './common.interface';
|
|
8
8
|
export { ModelInterface, } from './model.interface';
|
|
9
|
-
export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ElevenLabsConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
|
|
9
|
+
export { AssistantInterface, AssistantKeyInterface, ConfigInterface, ConfigurableGoalInterface, DeepgramConfigInterface, ElevenLabsConfigInterface, ConfigInboxConfigInterface, ModelConfigInterface, OpenAIRealtimeConfigInterface, TemplateVariableInterface, OpenAIRealtimeConfigTurnDetectionInterface, ConfigVoiceConfigInterface, } from './assistant.interface';
|
|
10
10
|
export { ConnectionInterface, ConnectionKeyInterface, } from './connection.interface';
|
|
11
11
|
export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatContentInterface, ChatMessageInterface, ChatUserInfoInterface, ContextInfoInterface, ImageContentInterface, } from './answer.interface';
|
|
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, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface,
|
|
15
|
+
export { BuildDefaultAssistantRequestInterface, BuildDefaultAssistantResponseInterface, SetAssistantConnectionsRequestConnectionStateInterface, CreateAssistantRequestInterface, CreateAssistantResponseInterface, CreateGoalRequestInterface, CreateGoalResponseInterface, CreatePromptModuleRequestInterface, CreatePromptModuleResponseInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ExecuteFunctionRequestInterface, ExecuteFunctionResponseInterface, ListAssistantRequestFiltersInterface, ListGoalsRequestFiltersInterface, ListConnectionsRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, ListAvailableModelsRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListFunctionRequestFiltersInterface, GenerateChatAnswerRequestInterface, GenerateChatAnswerResponseInterface, GetAssistantRequestInterface, GetAssistantResponseInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetChatAnswerFunctionExecutionJobResponseInterface, GetConnectionRequestInterface, GetConnectionResponseInterface, GetDeployedPromptModuleVersionRequestInterface, GetDeployedPromptModuleVersionResponseInterface, GetDeployedPromptVersionRequestInterface, GetDeployedPromptVersionResponseInterface, GetFunctionRequestInterface, GetFunctionResponseInterface, GetGoalRequestInterface, GetGoalResponseInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionResponseInterface, GetMultiAssistantRequestInterface, GetMultiAssistantResponseInterface, GetMultiDeployedPromptVersionRequestInterface, GetMultiDeployedPromptVersionResponseInterface, GetMultiFunctionRequestInterface, GetMultiFunctionResponseInterface, GetMultiGoalRequestInterface, GetMultiGoalResponseInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionResponseInterface, GetPromptModuleRequestInterface, GetPromptModuleResponseInterface, GetPromptModuleVersionRequestInterface, GetPromptModuleVersionResponseInterface, GetPromptRequestInterface, GetPromptResponseInterface, GetPromptVersionRequestInterface, GetPromptVersionResponseInterface, GoalsDisabledForAccountGroupRequestInterface, GoalsDisabledForAccountGroupResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListAvailableModelsRequestInterface, ListAvailableModelsResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListPromptRequestInterface, ListPromptResponseInterface, ListPromptVersionsRequestInterface, ListPromptVersionsResponseInterface, ListTemplateVariablesRequestInterface, ListTemplateVariablesResponseInterface, CreatePromptModuleVersionRequestOptionsInterface, UpsertAssistantRequestOptionsInterface, GenerateChatAnswerRequestOptionsInterface, GetAssistantRequestOptionsInterface, GetMultiAssistantRequestOptionsInterface, CreateAssistantRequestOptionsInterface, SetAssistantConnectionsRequestInterface, ListGoalsRequestSortOptionsInterface, UpdateAssistantRequestInterface, UpdateGoalRequestInterface, UpdatePromptModuleRequestInterface, UpdatePromptRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, ValidatePromptModuleRequestInterface, ValidatePromptModuleResponseInterface, } from './api.interface';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
|
-
import { Assistant, AssistantKey } from './assistant';
|
|
2
|
+
import { Assistant, AssistantKey, TemplateVariable } from './assistant';
|
|
3
3
|
import { ChatMessage, ChatUserInfo, ContextInfo, ChatAnswerFunctionExecutionJob } from './answer';
|
|
4
4
|
import { ConnectionKey, Connection } from './connection';
|
|
5
5
|
import { ConstraintFilter } from './constraints';
|
|
@@ -111,6 +111,7 @@ export declare class DeleteConnectionRequest implements i.DeleteConnectionReques
|
|
|
111
111
|
export declare class DeleteFunctionRequest implements i.DeleteFunctionRequestInterface {
|
|
112
112
|
id: string;
|
|
113
113
|
namespace: Namespace;
|
|
114
|
+
removeFromGoals: boolean;
|
|
114
115
|
static fromProto(proto: any): DeleteFunctionRequest;
|
|
115
116
|
constructor(kwargs?: i.DeleteFunctionRequestInterface);
|
|
116
117
|
toApiJson(): object;
|
|
@@ -118,6 +119,7 @@ export declare class DeleteFunctionRequest implements i.DeleteFunctionRequestInt
|
|
|
118
119
|
export declare class DeleteGoalRequest implements i.DeleteGoalRequestInterface {
|
|
119
120
|
id: string;
|
|
120
121
|
namespace: Namespace;
|
|
122
|
+
removeFromAssistants: boolean;
|
|
121
123
|
static fromProto(proto: any): DeleteGoalRequest;
|
|
122
124
|
constructor(kwargs?: i.DeleteGoalRequestInterface);
|
|
123
125
|
toApiJson(): object;
|
|
@@ -165,10 +167,23 @@ export declare class ExecuteFunctionResponse implements i.ExecuteFunctionRespons
|
|
|
165
167
|
constructor(kwargs?: i.ExecuteFunctionResponseInterface);
|
|
166
168
|
toApiJson(): object;
|
|
167
169
|
}
|
|
168
|
-
export declare class
|
|
170
|
+
export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
|
|
171
|
+
namespace: Namespace;
|
|
169
172
|
type: e.AssistantType;
|
|
170
|
-
static fromProto(proto: any):
|
|
171
|
-
constructor(kwargs?: i.
|
|
173
|
+
static fromProto(proto: any): ListAssistantRequestFilters;
|
|
174
|
+
constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
|
|
175
|
+
toApiJson(): object;
|
|
176
|
+
}
|
|
177
|
+
export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
|
|
178
|
+
namespace: Namespace;
|
|
179
|
+
type: e.GoalType;
|
|
180
|
+
supportedChannels: e.GoalChannel[];
|
|
181
|
+
namespaces: Namespace[];
|
|
182
|
+
constraintFilters: ConstraintFilter[];
|
|
183
|
+
searchTerm: string;
|
|
184
|
+
sortOptions: ListGoalsRequestSortOptions[];
|
|
185
|
+
static fromProto(proto: any): ListGoalsRequestFilters;
|
|
186
|
+
constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
|
|
172
187
|
toApiJson(): object;
|
|
173
188
|
}
|
|
174
189
|
export declare class ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
|
|
@@ -184,18 +199,6 @@ export declare class ListPromptModuleRequestFilters implements i.ListPromptModul
|
|
|
184
199
|
constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
|
|
185
200
|
toApiJson(): object;
|
|
186
201
|
}
|
|
187
|
-
export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFiltersInterface {
|
|
188
|
-
namespace: Namespace;
|
|
189
|
-
type: e.GoalType;
|
|
190
|
-
supportedChannels: e.GoalChannel[];
|
|
191
|
-
namespaces: Namespace[];
|
|
192
|
-
constraintFilters: ConstraintFilter[];
|
|
193
|
-
searchTerm: string;
|
|
194
|
-
sortOptions: ListGoalsRequestSortOptions[];
|
|
195
|
-
static fromProto(proto: any): ListGoalsRequestFilters;
|
|
196
|
-
constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
|
|
197
|
-
toApiJson(): object;
|
|
198
|
-
}
|
|
199
202
|
export declare class ListAvailableModelsRequestFilters implements i.ListAvailableModelsRequestFiltersInterface {
|
|
200
203
|
vendor: e.ModelVendor[];
|
|
201
204
|
type: e.ModelType[];
|
|
@@ -203,6 +206,12 @@ export declare class ListAvailableModelsRequestFilters implements i.ListAvailabl
|
|
|
203
206
|
constructor(kwargs?: i.ListAvailableModelsRequestFiltersInterface);
|
|
204
207
|
toApiJson(): object;
|
|
205
208
|
}
|
|
209
|
+
export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
210
|
+
type: e.AssistantType;
|
|
211
|
+
static fromProto(proto: any): ListAllAssistantsAssociatedToConnectionRequestFilters;
|
|
212
|
+
constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
|
|
213
|
+
toApiJson(): object;
|
|
214
|
+
}
|
|
206
215
|
export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
|
|
207
216
|
namespace: Namespace;
|
|
208
217
|
namespaces: Namespace[];
|
|
@@ -212,13 +221,6 @@ export declare class ListFunctionRequestFilters implements i.ListFunctionRequest
|
|
|
212
221
|
constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
|
|
213
222
|
toApiJson(): object;
|
|
214
223
|
}
|
|
215
|
-
export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
|
|
216
|
-
namespace: Namespace;
|
|
217
|
-
type: e.AssistantType;
|
|
218
|
-
static fromProto(proto: any): ListAssistantRequestFilters;
|
|
219
|
-
constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
|
|
220
|
-
toApiJson(): object;
|
|
221
|
-
}
|
|
222
224
|
export declare class GenerateChatAnswerRequest implements i.GenerateChatAnswerRequestInterface {
|
|
223
225
|
connectionKey: ConnectionKey;
|
|
224
226
|
chatHistory: ChatMessage[];
|
|
@@ -615,18 +617,17 @@ export declare class ListPromptVersionsResponse implements i.ListPromptVersionsR
|
|
|
615
617
|
constructor(kwargs?: i.ListPromptVersionsResponseInterface);
|
|
616
618
|
toApiJson(): object;
|
|
617
619
|
}
|
|
618
|
-
export declare class
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
620
|
+
export declare class ListTemplateVariablesRequest implements i.ListTemplateVariablesRequestInterface {
|
|
621
|
+
assistantKey: AssistantKey;
|
|
622
|
+
chatUserInfo: ChatUserInfo;
|
|
623
|
+
static fromProto(proto: any): ListTemplateVariablesRequest;
|
|
624
|
+
constructor(kwargs?: i.ListTemplateVariablesRequestInterface);
|
|
624
625
|
toApiJson(): object;
|
|
625
626
|
}
|
|
626
|
-
export declare class
|
|
627
|
-
|
|
628
|
-
static fromProto(proto: any):
|
|
629
|
-
constructor(kwargs?: i.
|
|
627
|
+
export declare class ListTemplateVariablesResponse implements i.ListTemplateVariablesResponseInterface {
|
|
628
|
+
assistantScopedVariables: TemplateVariable[];
|
|
629
|
+
static fromProto(proto: any): ListTemplateVariablesResponse;
|
|
630
|
+
constructor(kwargs?: i.ListTemplateVariablesResponseInterface);
|
|
630
631
|
toApiJson(): object;
|
|
631
632
|
}
|
|
632
633
|
export declare class CreatePromptModuleVersionRequestOptions implements i.CreatePromptModuleVersionRequestOptionsInterface {
|
|
@@ -641,10 +642,12 @@ export declare class UpsertAssistantRequestOptions implements i.UpsertAssistantR
|
|
|
641
642
|
constructor(kwargs?: i.UpsertAssistantRequestOptionsInterface);
|
|
642
643
|
toApiJson(): object;
|
|
643
644
|
}
|
|
644
|
-
export declare class
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
645
|
+
export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatAnswerRequestOptionsInterface {
|
|
646
|
+
includeAllCitations: boolean;
|
|
647
|
+
enableAsyncFunctions: boolean;
|
|
648
|
+
maxTokens: number;
|
|
649
|
+
static fromProto(proto: any): GenerateChatAnswerRequestOptions;
|
|
650
|
+
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
648
651
|
toApiJson(): object;
|
|
649
652
|
}
|
|
650
653
|
export declare class GetAssistantRequestOptions implements i.GetAssistantRequestOptionsInterface {
|
|
@@ -653,6 +656,18 @@ export declare class GetAssistantRequestOptions implements i.GetAssistantRequest
|
|
|
653
656
|
constructor(kwargs?: i.GetAssistantRequestOptionsInterface);
|
|
654
657
|
toApiJson(): object;
|
|
655
658
|
}
|
|
659
|
+
export declare class GetMultiAssistantRequestOptions implements i.GetMultiAssistantRequestOptionsInterface {
|
|
660
|
+
skipGoalsHydration: boolean;
|
|
661
|
+
static fromProto(proto: any): GetMultiAssistantRequestOptions;
|
|
662
|
+
constructor(kwargs?: i.GetMultiAssistantRequestOptionsInterface);
|
|
663
|
+
toApiJson(): object;
|
|
664
|
+
}
|
|
665
|
+
export declare class CreateAssistantRequestOptions implements i.CreateAssistantRequestOptionsInterface {
|
|
666
|
+
applyDefaults: boolean;
|
|
667
|
+
static fromProto(proto: any): CreateAssistantRequestOptions;
|
|
668
|
+
constructor(kwargs?: i.CreateAssistantRequestOptionsInterface);
|
|
669
|
+
toApiJson(): object;
|
|
670
|
+
}
|
|
656
671
|
export declare class SetAssistantConnectionsRequest implements i.SetAssistantConnectionsRequestInterface {
|
|
657
672
|
associationStates: SetAssistantConnectionsRequestConnectionState[];
|
|
658
673
|
assistantKey: AssistantKey;
|
|
@@ -74,6 +74,14 @@ export declare class OpenAIRealtimeConfig implements i.OpenAIRealtimeConfigInter
|
|
|
74
74
|
constructor(kwargs?: i.OpenAIRealtimeConfigInterface);
|
|
75
75
|
toApiJson(): object;
|
|
76
76
|
}
|
|
77
|
+
export declare class TemplateVariable implements i.TemplateVariableInterface {
|
|
78
|
+
key: string;
|
|
79
|
+
value: string;
|
|
80
|
+
description: string;
|
|
81
|
+
static fromProto(proto: any): TemplateVariable;
|
|
82
|
+
constructor(kwargs?: i.TemplateVariableInterface);
|
|
83
|
+
toApiJson(): object;
|
|
84
|
+
}
|
|
77
85
|
export declare class OpenAIRealtimeConfigTurnDetection implements i.OpenAIRealtimeConfigTurnDetectionInterface {
|
|
78
86
|
threshold: number;
|
|
79
87
|
prefixPadding: number;
|
|
@@ -6,10 +6,10 @@ export { Prompt, PromptModule, PromptModuleKey, PromptModuleVersion, PromptVersi
|
|
|
6
6
|
export { Goal, GoalKey, } from './goal';
|
|
7
7
|
export { KeyValuePair, } from './common';
|
|
8
8
|
export { Model, } from './model';
|
|
9
|
-
export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ElevenLabsConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
|
|
9
|
+
export { Assistant, AssistantKey, Config, ConfigurableGoal, DeepgramConfig, ElevenLabsConfig, ConfigInboxConfig, ModelConfig, OpenAIRealtimeConfig, TemplateVariable, OpenAIRealtimeConfigTurnDetection, ConfigVoiceConfig, } from './assistant';
|
|
10
10
|
export { Connection, ConnectionKey, } from './connection';
|
|
11
11
|
export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatContent, ChatMessage, ChatUserInfo, ContextInfo, ImageContent, } from './answer';
|
|
12
12
|
export { CancelTestRunRequest, TestResultCitation, DeleteTestCasesRequest, GetTestRunRequest, GetTestRunResponse, ListTestCasesByAssistantRequest, ListTestCasesByAssistantResponse, ListTestRunsByAssistantRequest, ListTestRunsByAssistantResponse, RunTestsRequest, RunTestsResponse, SortOptions, TestCase, TestResult, TestRun, UpsertTestCasesRequest, } from './integration-tests';
|
|
13
13
|
export { Access, MCPOptions, } from './annotations';
|
|
14
14
|
export { FieldMask, } from './field-mask';
|
|
15
|
-
export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ExecuteFunctionRequest, ExecuteFunctionResponse,
|
|
15
|
+
export { BuildDefaultAssistantRequest, BuildDefaultAssistantResponse, SetAssistantConnectionsRequestConnectionState, CreateAssistantRequest, CreateAssistantResponse, CreateGoalRequest, CreateGoalResponse, CreatePromptModuleRequest, CreatePromptModuleResponse, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ExecuteFunctionRequest, ExecuteFunctionResponse, ListAssistantRequestFilters, ListGoalsRequestFilters, ListConnectionsRequestFilters, ListPromptModuleRequestFilters, ListAvailableModelsRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, ListFunctionRequestFilters, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetDeployedPromptVersionRequest, GetDeployedPromptVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiAssistantRequest, GetMultiAssistantResponse, GetMultiDeployedPromptVersionRequest, GetMultiDeployedPromptVersionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GetPromptRequest, GetPromptResponse, GetPromptVersionRequest, GetPromptVersionResponse, GoalsDisabledForAccountGroupRequest, GoalsDisabledForAccountGroupResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListAvailableModelsRequest, ListAvailableModelsResponse, ListConnectionsRequest, ListConnectionsResponse, ListFunctionRequest, ListFunctionResponse, ListGoalsRequest, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, ListTemplateVariablesRequest, ListTemplateVariablesResponse, CreatePromptModuleVersionRequestOptions, UpsertAssistantRequestOptions, GenerateChatAnswerRequestOptions, GetAssistantRequestOptions, GetMultiAssistantRequestOptions, CreateAssistantRequestOptions, SetAssistantConnectionsRequest, ListGoalsRequestSortOptions, UpdateAssistantRequest, UpdateGoalRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, ValidatePromptModuleRequest, ValidatePromptModuleResponse, } from './api';
|