@vendasta/ai-assistants 0.12.0 → 0.13.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/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +45 -19
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-ai-assistants.mjs +45 -19
- package/fesm2015/vendasta-ai-assistants.mjs.map +1 -1
- package/fesm2020/vendasta-ai-assistants.mjs +45 -19
- package/fesm2020/vendasta-ai-assistants.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +10 -6
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +19 -12
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ export interface CreatePromptModuleVersionRequestInterface {
|
|
|
23
23
|
id?: string;
|
|
24
24
|
namespace?: NamespaceInterface;
|
|
25
25
|
content?: string;
|
|
26
|
+
options?: CreatePromptModuleVersionRequestOptionsInterface;
|
|
26
27
|
}
|
|
27
28
|
export interface CreatePromptRequestInterface {
|
|
28
29
|
id?: string;
|
|
@@ -67,23 +68,23 @@ export interface ListGoalsRequestFiltersInterface {
|
|
|
67
68
|
type?: e.GoalType;
|
|
68
69
|
supportedChannels?: e.GoalChannel[];
|
|
69
70
|
}
|
|
70
|
-
export interface ListPromptModuleRequestFiltersInterface {
|
|
71
|
-
namespace?: NamespaceInterface;
|
|
72
|
-
}
|
|
73
71
|
export interface ListFunctionRequestFiltersInterface {
|
|
74
72
|
namespace?: NamespaceInterface;
|
|
75
73
|
}
|
|
76
|
-
export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
77
|
-
type?: e.AssistantType;
|
|
78
|
-
}
|
|
79
74
|
export interface ListAssistantRequestFiltersInterface {
|
|
80
75
|
namespace?: NamespaceInterface;
|
|
81
76
|
type?: e.AssistantType;
|
|
82
77
|
}
|
|
78
|
+
export interface ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
79
|
+
type?: e.AssistantType;
|
|
80
|
+
}
|
|
83
81
|
export interface ListConnectionsRequestFiltersInterface {
|
|
84
82
|
namespace?: NamespaceInterface;
|
|
85
83
|
assistantType?: e.AssistantType;
|
|
86
84
|
}
|
|
85
|
+
export interface ListPromptModuleRequestFiltersInterface {
|
|
86
|
+
namespace?: NamespaceInterface;
|
|
87
|
+
}
|
|
87
88
|
export interface GenerateChatAnswerRequestInterface {
|
|
88
89
|
connectionKey?: ConnectionKeyInterface;
|
|
89
90
|
chatHistory?: ChatMessageInterface[];
|
|
@@ -287,6 +288,9 @@ export interface GenerateChatAnswerRequestOptionsInterface {
|
|
|
287
288
|
includeAllCitations?: boolean;
|
|
288
289
|
enableAsyncFunctions?: boolean;
|
|
289
290
|
}
|
|
291
|
+
export interface CreatePromptModuleVersionRequestOptionsInterface {
|
|
292
|
+
shouldDeploy?: boolean;
|
|
293
|
+
}
|
|
290
294
|
export interface SetAssistantConnectionsRequestInterface {
|
|
291
295
|
associationStates?: SetAssistantConnectionsRequestConnectionStateInterface[];
|
|
292
296
|
assistantKey?: AssistantKeyInterface;
|
|
@@ -8,4 +8,4 @@ export { KeyValuePairInterface, } from './common.interface';
|
|
|
8
8
|
export { ChatAnswerFunctionExecutionJobInterface, ChatAnswerFunctionExecutionJobResultInterface, ChatMessageInterface, ChatUserInfoInterface, } from './answer.interface';
|
|
9
9
|
export { AccessInterface, } from './annotations.interface';
|
|
10
10
|
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
|
|
11
|
-
export { SetAssistantConnectionsRequestConnectionStateInterface, CreatePromptModuleRequestInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ListGoalsRequestFiltersInterface,
|
|
11
|
+
export { SetAssistantConnectionsRequestConnectionStateInterface, CreatePromptModuleRequestInterface, CreatePromptModuleVersionRequestInterface, CreatePromptRequestInterface, DeleteAssistantRequestInterface, DeleteConnectionRequestInterface, DeleteFunctionRequestInterface, DeleteGoalRequestInterface, DeletePromptModuleRequestInterface, DeletePromptRequestInterface, DeployPromptModuleRequestInterface, DeployPromptRequestInterface, ListGoalsRequestFiltersInterface, ListFunctionRequestFiltersInterface, ListAssistantRequestFiltersInterface, ListAllAssistantsAssociatedToConnectionRequestFiltersInterface, ListConnectionsRequestFiltersInterface, ListPromptModuleRequestFiltersInterface, GenerateChatAnswerRequestInterface, GenerateChatAnswerResponseInterface, GetAssistantRequestInterface, GetAssistantResponseInterface, GetChatAnswerFunctionExecutionJobRequestInterface, GetChatAnswerFunctionExecutionJobResponseInterface, GetConnectionRequestInterface, GetConnectionResponseInterface, GetDeployedPromptModuleVersionRequestInterface, GetDeployedPromptModuleVersionResponseInterface, GetDeployedPromptVersionRequestInterface, GetDeployedPromptVersionResponseInterface, GetFunctionRequestInterface, GetFunctionResponseInterface, GetGoalRequestInterface, GetGoalResponseInterface, GetHydratedDeployedPromptModuleVersionRequestInterface, GetHydratedDeployedPromptModuleVersionResponseInterface, GetMultiDeployedPromptVersionRequestInterface, GetMultiDeployedPromptVersionResponseInterface, GetMultiFunctionRequestInterface, GetMultiFunctionResponseInterface, GetMultiGoalRequestInterface, GetMultiGoalResponseInterface, GetMultiHydratedDeployedPromptModuleVersionRequestInterface, GetMultiHydratedDeployedPromptModuleVersionResponseInterface, GetPromptModuleRequestInterface, GetPromptModuleResponseInterface, GetPromptModuleVersionRequestInterface, GetPromptModuleVersionResponseInterface, GetPromptRequestInterface, GetPromptResponseInterface, GetPromptVersionRequestInterface, GetPromptVersionResponseInterface, ListAllAssistantsAssociatedToConnectionRequestInterface, ListAllAssistantsAssociatedToConnectionResponseInterface, ListAssistantRequestInterface, ListAssistantResponseInterface, ListConnectionsRequestInterface, ListConnectionsResponseInterface, ListFunctionRequestInterface, ListFunctionResponseInterface, ListGoalsRequestInterface, ListGoalsResponseInterface, ListPromptModuleRequestInterface, ListPromptModuleResponseInterface, ListPromptModuleVersionsRequestInterface, ListPromptModuleVersionsResponseInterface, ListPromptRequestInterface, ListPromptResponseInterface, ListPromptVersionsRequestInterface, ListPromptVersionsResponseInterface, GenerateChatAnswerRequestOptionsInterface, CreatePromptModuleVersionRequestOptionsInterface, SetAssistantConnectionsRequestInterface, UpdatePromptModuleRequestInterface, UpdatePromptRequestInterface, UpsertAssistantRequestInterface, UpsertAssistantResponseInterface, UpsertConnectionRequestInterface, UpsertFunctionRequestInterface, UpsertGoalRequestInterface, } from './api.interface';
|
|
@@ -31,6 +31,7 @@ export declare class CreatePromptModuleVersionRequest implements i.CreatePromptM
|
|
|
31
31
|
id: string;
|
|
32
32
|
namespace: Namespace;
|
|
33
33
|
content: string;
|
|
34
|
+
options: CreatePromptModuleVersionRequestOptions;
|
|
34
35
|
static fromProto(proto: any): CreatePromptModuleVersionRequest;
|
|
35
36
|
constructor(kwargs?: i.CreatePromptModuleVersionRequestInterface);
|
|
36
37
|
toApiJson(): object;
|
|
@@ -108,24 +109,12 @@ export declare class ListGoalsRequestFilters implements i.ListGoalsRequestFilter
|
|
|
108
109
|
constructor(kwargs?: i.ListGoalsRequestFiltersInterface);
|
|
109
110
|
toApiJson(): object;
|
|
110
111
|
}
|
|
111
|
-
export declare class ListPromptModuleRequestFilters implements i.ListPromptModuleRequestFiltersInterface {
|
|
112
|
-
namespace: Namespace;
|
|
113
|
-
static fromProto(proto: any): ListPromptModuleRequestFilters;
|
|
114
|
-
constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
|
|
115
|
-
toApiJson(): object;
|
|
116
|
-
}
|
|
117
112
|
export declare class ListFunctionRequestFilters implements i.ListFunctionRequestFiltersInterface {
|
|
118
113
|
namespace: Namespace;
|
|
119
114
|
static fromProto(proto: any): ListFunctionRequestFilters;
|
|
120
115
|
constructor(kwargs?: i.ListFunctionRequestFiltersInterface);
|
|
121
116
|
toApiJson(): object;
|
|
122
117
|
}
|
|
123
|
-
export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
124
|
-
type: e.AssistantType;
|
|
125
|
-
static fromProto(proto: any): ListAllAssistantsAssociatedToConnectionRequestFilters;
|
|
126
|
-
constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
|
|
127
|
-
toApiJson(): object;
|
|
128
|
-
}
|
|
129
118
|
export declare class ListAssistantRequestFilters implements i.ListAssistantRequestFiltersInterface {
|
|
130
119
|
namespace: Namespace;
|
|
131
120
|
type: e.AssistantType;
|
|
@@ -133,6 +122,12 @@ export declare class ListAssistantRequestFilters implements i.ListAssistantReque
|
|
|
133
122
|
constructor(kwargs?: i.ListAssistantRequestFiltersInterface);
|
|
134
123
|
toApiJson(): object;
|
|
135
124
|
}
|
|
125
|
+
export declare class ListAllAssistantsAssociatedToConnectionRequestFilters implements i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface {
|
|
126
|
+
type: e.AssistantType;
|
|
127
|
+
static fromProto(proto: any): ListAllAssistantsAssociatedToConnectionRequestFilters;
|
|
128
|
+
constructor(kwargs?: i.ListAllAssistantsAssociatedToConnectionRequestFiltersInterface);
|
|
129
|
+
toApiJson(): object;
|
|
130
|
+
}
|
|
136
131
|
export declare class ListConnectionsRequestFilters implements i.ListConnectionsRequestFiltersInterface {
|
|
137
132
|
namespace: Namespace;
|
|
138
133
|
assistantType: e.AssistantType;
|
|
@@ -140,6 +135,12 @@ export declare class ListConnectionsRequestFilters implements i.ListConnectionsR
|
|
|
140
135
|
constructor(kwargs?: i.ListConnectionsRequestFiltersInterface);
|
|
141
136
|
toApiJson(): object;
|
|
142
137
|
}
|
|
138
|
+
export declare class ListPromptModuleRequestFilters implements i.ListPromptModuleRequestFiltersInterface {
|
|
139
|
+
namespace: Namespace;
|
|
140
|
+
static fromProto(proto: any): ListPromptModuleRequestFilters;
|
|
141
|
+
constructor(kwargs?: i.ListPromptModuleRequestFiltersInterface);
|
|
142
|
+
toApiJson(): object;
|
|
143
|
+
}
|
|
143
144
|
export declare class GenerateChatAnswerRequest implements i.GenerateChatAnswerRequestInterface {
|
|
144
145
|
connectionKey: ConnectionKey;
|
|
145
146
|
chatHistory: ChatMessage[];
|
|
@@ -502,6 +503,12 @@ export declare class GenerateChatAnswerRequestOptions implements i.GenerateChatA
|
|
|
502
503
|
constructor(kwargs?: i.GenerateChatAnswerRequestOptionsInterface);
|
|
503
504
|
toApiJson(): object;
|
|
504
505
|
}
|
|
506
|
+
export declare class CreatePromptModuleVersionRequestOptions implements i.CreatePromptModuleVersionRequestOptionsInterface {
|
|
507
|
+
shouldDeploy: boolean;
|
|
508
|
+
static fromProto(proto: any): CreatePromptModuleVersionRequestOptions;
|
|
509
|
+
constructor(kwargs?: i.CreatePromptModuleVersionRequestOptionsInterface);
|
|
510
|
+
toApiJson(): object;
|
|
511
|
+
}
|
|
505
512
|
export declare class SetAssistantConnectionsRequest implements i.SetAssistantConnectionsRequestInterface {
|
|
506
513
|
associationStates: SetAssistantConnectionsRequestConnectionState[];
|
|
507
514
|
assistantKey: AssistantKey;
|
|
@@ -8,4 +8,4 @@ export { KeyValuePair, } from './common';
|
|
|
8
8
|
export { ChatAnswerFunctionExecutionJob, ChatAnswerFunctionExecutionJobResult, ChatMessage, ChatUserInfo, } from './answer';
|
|
9
9
|
export { Access, } from './annotations';
|
|
10
10
|
export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
|
|
11
|
-
export { SetAssistantConnectionsRequestConnectionState, CreatePromptModuleRequest, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ListGoalsRequestFilters,
|
|
11
|
+
export { SetAssistantConnectionsRequestConnectionState, CreatePromptModuleRequest, CreatePromptModuleVersionRequest, CreatePromptRequest, DeleteAssistantRequest, DeleteConnectionRequest, DeleteFunctionRequest, DeleteGoalRequest, DeletePromptModuleRequest, DeletePromptRequest, DeployPromptModuleRequest, DeployPromptRequest, ListGoalsRequestFilters, ListFunctionRequestFilters, ListAssistantRequestFilters, ListAllAssistantsAssociatedToConnectionRequestFilters, ListConnectionsRequestFilters, ListPromptModuleRequestFilters, GenerateChatAnswerRequest, GenerateChatAnswerResponse, GetAssistantRequest, GetAssistantResponse, GetChatAnswerFunctionExecutionJobRequest, GetChatAnswerFunctionExecutionJobResponse, GetConnectionRequest, GetConnectionResponse, GetDeployedPromptModuleVersionRequest, GetDeployedPromptModuleVersionResponse, GetDeployedPromptVersionRequest, GetDeployedPromptVersionResponse, GetFunctionRequest, GetFunctionResponse, GetGoalRequest, GetGoalResponse, GetHydratedDeployedPromptModuleVersionRequest, GetHydratedDeployedPromptModuleVersionResponse, GetMultiDeployedPromptVersionRequest, GetMultiDeployedPromptVersionResponse, GetMultiFunctionRequest, GetMultiFunctionResponse, GetMultiGoalRequest, GetMultiGoalResponse, GetMultiHydratedDeployedPromptModuleVersionRequest, GetMultiHydratedDeployedPromptModuleVersionResponse, GetPromptModuleRequest, GetPromptModuleResponse, GetPromptModuleVersionRequest, GetPromptModuleVersionResponse, GetPromptRequest, GetPromptResponse, GetPromptVersionRequest, GetPromptVersionResponse, ListAllAssistantsAssociatedToConnectionRequest, ListAllAssistantsAssociatedToConnectionResponse, ListAssistantRequest, ListAssistantResponse, ListConnectionsRequest, ListConnectionsResponse, ListFunctionRequest, ListFunctionResponse, ListGoalsRequest, ListGoalsResponse, ListPromptModuleRequest, ListPromptModuleResponse, ListPromptModuleVersionsRequest, ListPromptModuleVersionsResponse, ListPromptRequest, ListPromptResponse, ListPromptVersionsRequest, ListPromptVersionsResponse, GenerateChatAnswerRequestOptions, CreatePromptModuleVersionRequestOptions, SetAssistantConnectionsRequest, UpdatePromptModuleRequest, UpdatePromptRequest, UpsertAssistantRequest, UpsertAssistantResponse, UpsertConnectionRequest, UpsertFunctionRequest, UpsertGoalRequest, } from './api';
|