@microsoft/app-manifest 1.0.6 → 1.0.7-alpha.25a62e6335.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/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D7.d.ts +648 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D7.js +345 -0
- package/build/generated-types/copilot/declarative-agent/DeclarativeAgentManifestV1D7.js.map +1 -0
- package/build/generated-types/index.d.ts +9 -6
- package/build/generated-types/index.js +19 -1
- package/build/generated-types/index.js.map +1 -1
- package/build/generated-types/teams/TeamsManifestV1D27.d.ts +2281 -0
- package/build/generated-types/teams/TeamsManifestV1D27.js +1087 -0
- package/build/generated-types/teams/TeamsManifestV1D27.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestV1D28.d.ts +2303 -0
- package/build/generated-types/teams/TeamsManifestV1D28.js +1094 -0
- package/build/generated-types/teams/TeamsManifestV1D28.js.map +1 -0
- package/build/generated-types/teams/TeamsManifestVDevPreview.d.ts +111 -231
- package/build/generated-types/teams/TeamsManifestVDevPreview.js +35 -88
- package/build/generated-types/teams/TeamsManifestVDevPreview.js.map +1 -1
- package/build/json-schemas/copilot/declarative-agent/v1.7/schema.json +1258 -0
- package/build/json-schemas/teams/v1.23/MicrosoftTeams.schema.json +1 -1
- package/build/json-schemas/teams/v1.24/MicrosoftTeams.schema.json +1 -1
- package/build/json-schemas/teams/v1.25/MicrosoftTeams.schema.json +1 -1
- package/build/json-schemas/teams/v1.26/MicrosoftTeams.AgenticUser.schema.json +44 -0
- package/build/json-schemas/teams/v1.26/MicrosoftTeams.Localization.schema.json +332 -0
- package/build/json-schemas/teams/v1.26/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
- package/build/json-schemas/teams/v1.26/MicrosoftTeams.schema.json +0 -1
- package/build/json-schemas/teams/v1.27/MicrosoftTeams.AgenticUser.schema.json +44 -0
- package/build/json-schemas/teams/v1.27/MicrosoftTeams.Localization.schema.json +344 -0
- package/build/json-schemas/teams/v1.27/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
- package/build/json-schemas/teams/v1.27/MicrosoftTeams.schema.json +3472 -0
- package/build/json-schemas/teams/v1.28/MicrosoftTeams.AgenticUser.schema.json +44 -0
- package/build/json-schemas/teams/v1.28/MicrosoftTeams.Localization.schema.json +344 -0
- package/build/json-schemas/teams/v1.28/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
- package/build/json-schemas/teams/v1.28/MicrosoftTeams.schema.json +3503 -0
- package/build/json-schemas/teams/vDevPreview/MicrosoftTeams.Localization.schema.json +37 -5
- package/build/json-schemas/teams/vDevPreview/MicrosoftTeams.schema.json +119 -290
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,648 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The root of the declarative agent manifest document is a JSON object that contains
|
|
3
|
+
* members that describe the declarative agent.
|
|
4
|
+
*/
|
|
5
|
+
export interface DeclarativeAgentManifestV1D7 {
|
|
6
|
+
/**
|
|
7
|
+
* Required. Not localizable. The version of the schema this manifest is using.
|
|
8
|
+
*/
|
|
9
|
+
version: "v1.7";
|
|
10
|
+
/**
|
|
11
|
+
* Optional. Not localizable.
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Required. Localizable. The name of the declarative agent. It MUST contain at least one
|
|
16
|
+
* nonwhitespace character and MUST be 100 characters or less.
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
19
|
+
/**
|
|
20
|
+
* Required. Localizable. The description of the declarative agent. It MUST contain at least
|
|
21
|
+
* one nonwhitespace character and MUST be 1,000 characters or less.
|
|
22
|
+
*/
|
|
23
|
+
description: string;
|
|
24
|
+
disclaimer?: Disclaimer;
|
|
25
|
+
/**
|
|
26
|
+
* Optional. Not localizable. The detailed instructions or guidelines on how the declarative
|
|
27
|
+
* agent should behave, its functions, and any behaviors to avoid. It MUST contain at least
|
|
28
|
+
* one nonwhitespace character and MUST be 8,000 characters or less.
|
|
29
|
+
*/
|
|
30
|
+
instructions?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Optional. A JSON object that contains configuration settings that modify the behavior of
|
|
33
|
+
* the DA orchestration.
|
|
34
|
+
*/
|
|
35
|
+
behavior_overrides?: BehaviorOverrides;
|
|
36
|
+
/**
|
|
37
|
+
* Optional. Contains an array of objects that define capabilities of the declarative agent.
|
|
38
|
+
*/
|
|
39
|
+
capabilities?: CapabilityElement[];
|
|
40
|
+
/**
|
|
41
|
+
* Optional. A list of examples of questions that the declarative agent can answer. There
|
|
42
|
+
* MUST NOT be more than 12 objects in the array.
|
|
43
|
+
*/
|
|
44
|
+
conversation_starters?: ConversationStarterElement[];
|
|
45
|
+
/**
|
|
46
|
+
* Optional. A list of objects that identify API plugins that provide actions accessible to
|
|
47
|
+
* the declarative agent.
|
|
48
|
+
*/
|
|
49
|
+
actions?: ActionElement[];
|
|
50
|
+
/**
|
|
51
|
+
* Optional. A list of user override objects. This optional member allows DA authors to
|
|
52
|
+
* specify which capabilities can be dynamically adjusted by the user of the DA.
|
|
53
|
+
*/
|
|
54
|
+
user_overrides?: UserOverrideElement[];
|
|
55
|
+
/**
|
|
56
|
+
* Optional. A JSON object that contains predefined question-answer pairs that the DA can
|
|
57
|
+
* use to respond to user queries based on semantic similarity.
|
|
58
|
+
*/
|
|
59
|
+
editorial_answers?: EditorialAnswers;
|
|
60
|
+
/**
|
|
61
|
+
* Optional. A list of worker agent objects that identify declarative agents to act as
|
|
62
|
+
* worker agents.
|
|
63
|
+
*/
|
|
64
|
+
worker_agents?: WorkerAgentElement[];
|
|
65
|
+
/**
|
|
66
|
+
* Optional. A JSON object that specifies the sensitivity label for the DA.
|
|
67
|
+
*/
|
|
68
|
+
sensitivity_label?: SensitivityLabel;
|
|
69
|
+
[property: string]: any;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Identifies an API plugin manifest for a plugin used as an action by the declarative agent.
|
|
73
|
+
*/
|
|
74
|
+
export interface ActionElement {
|
|
75
|
+
/**
|
|
76
|
+
* Required. Not localizable. A unique identifier for the action. It MAY be represented by a
|
|
77
|
+
* GUID.
|
|
78
|
+
*/
|
|
79
|
+
id: string;
|
|
80
|
+
/**
|
|
81
|
+
* Required. Not localizable. A path to the API plugin manifest for this action.
|
|
82
|
+
*/
|
|
83
|
+
file: string;
|
|
84
|
+
[property: string]: any;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Optional. A JSON object that contains configuration settings that modify the behavior of
|
|
88
|
+
* the DA orchestration.
|
|
89
|
+
*
|
|
90
|
+
* A JSON object that contains configuration settings that modify the behavior of the DA
|
|
91
|
+
* orchestration.
|
|
92
|
+
*/
|
|
93
|
+
export interface BehaviorOverrides {
|
|
94
|
+
/**
|
|
95
|
+
* An object that contains special instructions for the declarative agent.
|
|
96
|
+
*/
|
|
97
|
+
special_instructions?: SpecialInstructions;
|
|
98
|
+
/**
|
|
99
|
+
* An object that contains suggestions for behavior overrides for the declarative agent.
|
|
100
|
+
*/
|
|
101
|
+
suggestions?: Suggestions;
|
|
102
|
+
/**
|
|
103
|
+
* Optional. The default response mode for the declarative agent.
|
|
104
|
+
*/
|
|
105
|
+
default_response_mode?: DefaultResponseMode;
|
|
106
|
+
[property: string]: any;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Optional. The default response mode for the declarative agent.
|
|
110
|
+
*/
|
|
111
|
+
export type DefaultResponseMode = "Auto" | "Quick response" | "Think deeper";
|
|
112
|
+
/**
|
|
113
|
+
* An object that contains special instructions for the declarative agent.
|
|
114
|
+
*
|
|
115
|
+
* A JSON object that contains members used for injecting special instructions into the
|
|
116
|
+
* prompt. The object has a discourage_model_knowledge boolean property. If this property is
|
|
117
|
+
* set to true, the DA will be discouraged from using model knowledge when generating
|
|
118
|
+
* responses. The default value is false
|
|
119
|
+
*/
|
|
120
|
+
export interface SpecialInstructions {
|
|
121
|
+
/**
|
|
122
|
+
* A boolean value that indicates whether the declarative agent should be discouraged from
|
|
123
|
+
* using model knowledge when generating responses.
|
|
124
|
+
*/
|
|
125
|
+
discourage_model_knowledge?: boolean;
|
|
126
|
+
[property: string]: any;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* An object that contains suggestions for behavior overrides for the declarative agent.
|
|
130
|
+
*
|
|
131
|
+
* A JSON object that contains configuration settings for the suggestions feature. The
|
|
132
|
+
* object has a required disabled boolean property. If this property is set to true, the
|
|
133
|
+
* suggestions feature will be disabled. The default value is false.
|
|
134
|
+
*/
|
|
135
|
+
export interface Suggestions {
|
|
136
|
+
/**
|
|
137
|
+
* A boolean value that indicates whether the suggestions feature is disabled. If this
|
|
138
|
+
* property is set to true, the suggestions feature will be disabled. The default value is
|
|
139
|
+
* false.
|
|
140
|
+
*/
|
|
141
|
+
disabled?: boolean;
|
|
142
|
+
[property: string]: any;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Represents a base capability object.
|
|
146
|
+
*
|
|
147
|
+
* Indicates that the declarative agent can search the web for grounding information.
|
|
148
|
+
*
|
|
149
|
+
* Indicates that the declarative agent can search a user's SharePoint and OneDrive for
|
|
150
|
+
* grounding information.
|
|
151
|
+
*
|
|
152
|
+
* Indicates that the declarative agent can search selected Microsoft Graph connectors for
|
|
153
|
+
* grounding information.
|
|
154
|
+
*
|
|
155
|
+
* Indicates that the declarative agent can generate and execute code.
|
|
156
|
+
*
|
|
157
|
+
* Indicates that the declarative agent can generate images and art based on the text input
|
|
158
|
+
* from the user.
|
|
159
|
+
*
|
|
160
|
+
* Indicates that the declarative agent can search through Teams channels, teams, meetings,
|
|
161
|
+
* 1:1 chats and group chats.
|
|
162
|
+
*
|
|
163
|
+
* A JSON object whose presence indicates that the DA will be able to search within Email
|
|
164
|
+
* Messages in the mailboxes user has access to.
|
|
165
|
+
*
|
|
166
|
+
* Indicates that the DA will be able to search people data in the organization.
|
|
167
|
+
*
|
|
168
|
+
* A JSON object whose presence indicates that the DA will be using tenant/task specific
|
|
169
|
+
* models.
|
|
170
|
+
*
|
|
171
|
+
* Indicates that the DA can search through meetings.
|
|
172
|
+
*
|
|
173
|
+
* Indicates that the DA will be able to use files locally in the app package as knowledge.
|
|
174
|
+
*/
|
|
175
|
+
export interface CapabilityElement {
|
|
176
|
+
/**
|
|
177
|
+
* Required. The name of the capability. Allowed values are WebSearch, GraphicArt,
|
|
178
|
+
* CodeInterpreter, OneDriveAndSharePoint, GraphConnectors, TeamsMessages,
|
|
179
|
+
* EmbeddedKnowledge, Email, People, Meetings, Dataverse, and ScenarioModels.
|
|
180
|
+
*
|
|
181
|
+
* Required. Must be set to WebSearch.
|
|
182
|
+
*
|
|
183
|
+
* Required. Must be set to OneDriveAndSharePoint.
|
|
184
|
+
*
|
|
185
|
+
* Required. Must be set to GraphConnectors.
|
|
186
|
+
*
|
|
187
|
+
* Required. Must be set to CodeInterpreter.
|
|
188
|
+
*
|
|
189
|
+
* Required. Must be set to GraphicArt.
|
|
190
|
+
*
|
|
191
|
+
* Required. Must be set to TeamsMessages.
|
|
192
|
+
*
|
|
193
|
+
* Required: Must be set to Dataverse
|
|
194
|
+
*
|
|
195
|
+
* Required: Must be set to Email
|
|
196
|
+
*
|
|
197
|
+
* Required. Must be set to People.
|
|
198
|
+
*
|
|
199
|
+
* Required. Must be set to the string literal `ScenarioModels`
|
|
200
|
+
*
|
|
201
|
+
* Required. Must be set to Meetings.
|
|
202
|
+
*
|
|
203
|
+
* Required. Must be set to EmbeddedKnowledge.
|
|
204
|
+
*/
|
|
205
|
+
name: Name;
|
|
206
|
+
/**
|
|
207
|
+
* Optional. An array of sites used to constrain the content accessible to the DA to just
|
|
208
|
+
* the content identified via the items of array.
|
|
209
|
+
*/
|
|
210
|
+
sites?: SiteElement[];
|
|
211
|
+
/**
|
|
212
|
+
* Optional. An array of objects that identify SharePoint or OneDrive sources using IDs.
|
|
213
|
+
*/
|
|
214
|
+
items_by_sharepoint_ids?: ItemsBySharepointIDElement[];
|
|
215
|
+
/**
|
|
216
|
+
* Optional. An array of objects that identify SharePoint or OneDrive sources by URL.
|
|
217
|
+
*/
|
|
218
|
+
items_by_url?: ItemsByURLElement[];
|
|
219
|
+
/**
|
|
220
|
+
* Optional. An array of objects that identify the Microsoft Graph connectors available to
|
|
221
|
+
* the declarative agent
|
|
222
|
+
*/
|
|
223
|
+
connections?: ConnectionElement[];
|
|
224
|
+
/**
|
|
225
|
+
* This member can be used to constrain the content accessible to the DA to just the content
|
|
226
|
+
* identified via the members of each Teams url
|
|
227
|
+
*/
|
|
228
|
+
urls?: URLElement[];
|
|
229
|
+
/**
|
|
230
|
+
* An array of Objects that represent the knowledge sources for the Dataverse in the
|
|
231
|
+
* Declarative Agent
|
|
232
|
+
*/
|
|
233
|
+
knowledge_sources?: KnowledgeSourceElement[];
|
|
234
|
+
/**
|
|
235
|
+
* A JSON array of Folder Object. This member can be used to constrain the content
|
|
236
|
+
* accessible to the DA to just the emails present in the folders identified by members of
|
|
237
|
+
* each Folder Object.
|
|
238
|
+
*/
|
|
239
|
+
folders?: FolderElement[];
|
|
240
|
+
/**
|
|
241
|
+
* A JSON string that contains SMTP address of the shared mailbox. The presence of this
|
|
242
|
+
* field indicates that the DA constrain its search for relevant emails only to that
|
|
243
|
+
* mailbox. Emails from user's primary mailbox is not searched when this field is present.
|
|
244
|
+
*/
|
|
245
|
+
shared_mailbox?: string;
|
|
246
|
+
/**
|
|
247
|
+
* A JSON array of strings containing SMTP addresses of group mailboxes. The presence of
|
|
248
|
+
* this field indicates that the DA can search for relevant emails in the specified group
|
|
249
|
+
* mailboxes. A maximum of 25 mailboxes are supported.
|
|
250
|
+
*/
|
|
251
|
+
group_mailboxes?: string[];
|
|
252
|
+
/**
|
|
253
|
+
* A JSON boolean that indicates whether to include related content when searching people
|
|
254
|
+
* data. When set to true, the DA will include related documents, emails, and Teams messages.
|
|
255
|
+
*/
|
|
256
|
+
include_related_content?: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* A list of Scenario Model objects denoting supported models
|
|
259
|
+
*/
|
|
260
|
+
models?: ModelElement[];
|
|
261
|
+
/**
|
|
262
|
+
* Optional. An array of objects that identify meetings by their ICalUID.
|
|
263
|
+
*/
|
|
264
|
+
items_by_id?: ItemsByIDElement[];
|
|
265
|
+
/**
|
|
266
|
+
* A JSON string identifier provisioned by an external file container storage service that
|
|
267
|
+
* can be used to locate the embedded knowledge files.
|
|
268
|
+
*/
|
|
269
|
+
embedded_resource_snapshot_id?: string;
|
|
270
|
+
/**
|
|
271
|
+
* A JSON array of file objects. List of objects identifying files that contain knowledge
|
|
272
|
+
* the Agent can use for grounding. Maximum 10 files, max 1MB each.
|
|
273
|
+
*/
|
|
274
|
+
files?: FileElement[];
|
|
275
|
+
[property: string]: any;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Identifies a Microsoft Graph connector.
|
|
279
|
+
*/
|
|
280
|
+
export interface ConnectionElement {
|
|
281
|
+
/**
|
|
282
|
+
* Required. Not localizable The unique identifier of the Microsoft Graph connector.
|
|
283
|
+
*/
|
|
284
|
+
connection_id: string;
|
|
285
|
+
/**
|
|
286
|
+
* KQL based string containing the query filter
|
|
287
|
+
*/
|
|
288
|
+
additional_search_terms?: string;
|
|
289
|
+
/**
|
|
290
|
+
* A list of objects to store urls for external items.
|
|
291
|
+
*/
|
|
292
|
+
items_by_external_url?: ItemsByExternalURLElement[];
|
|
293
|
+
/**
|
|
294
|
+
* A list of objects to store identifiers for external items
|
|
295
|
+
*/
|
|
296
|
+
items_by_external_id?: ItemsByExternalIDElement[];
|
|
297
|
+
/**
|
|
298
|
+
* A list of objects to store the container paths to items within a connection
|
|
299
|
+
*/
|
|
300
|
+
items_by_path?: ItemsByPathElement[];
|
|
301
|
+
/**
|
|
302
|
+
* A list of objects to store containers names
|
|
303
|
+
*/
|
|
304
|
+
items_by_container_name?: ItemsByContainerNameElement[];
|
|
305
|
+
/**
|
|
306
|
+
* A list of objects to store urls of containers
|
|
307
|
+
*/
|
|
308
|
+
items_by_container_url?: ItemsByContainerURLElement[];
|
|
309
|
+
[property: string]: any;
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Identifies an item by its container name.
|
|
313
|
+
*/
|
|
314
|
+
export interface ItemsByContainerNameElement {
|
|
315
|
+
/**
|
|
316
|
+
* A unique identifier for a container name
|
|
317
|
+
*/
|
|
318
|
+
container_name: string;
|
|
319
|
+
[property: string]: any;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Identifies an item by its container URL.
|
|
323
|
+
*/
|
|
324
|
+
export interface ItemsByContainerURLElement {
|
|
325
|
+
/**
|
|
326
|
+
* Url for external graph connector item container
|
|
327
|
+
*/
|
|
328
|
+
container_url: string;
|
|
329
|
+
[property: string]: any;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Identifies an item by its external ID.
|
|
333
|
+
*/
|
|
334
|
+
export interface ItemsByExternalIDElement {
|
|
335
|
+
/**
|
|
336
|
+
* A unique identifier for an external item.
|
|
337
|
+
*/
|
|
338
|
+
item_id: string;
|
|
339
|
+
[property: string]: any;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Identifies an item by its external URL.
|
|
343
|
+
*/
|
|
344
|
+
export interface ItemsByExternalURLElement {
|
|
345
|
+
/**
|
|
346
|
+
* Url for external graph connector item.
|
|
347
|
+
*/
|
|
348
|
+
url: string;
|
|
349
|
+
[property: string]: any;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Identifies an item by its path.
|
|
353
|
+
*/
|
|
354
|
+
export interface ItemsByPathElement {
|
|
355
|
+
/**
|
|
356
|
+
* A container path to an external item
|
|
357
|
+
*/
|
|
358
|
+
path: string;
|
|
359
|
+
[property: string]: any;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* A JSON object that identifies a file via the relative path.
|
|
363
|
+
*/
|
|
364
|
+
export interface FileElement {
|
|
365
|
+
/**
|
|
366
|
+
* A JSON string that contains the file relative path for the embedded file.
|
|
367
|
+
*/
|
|
368
|
+
file: string;
|
|
369
|
+
[property: string]: any;
|
|
370
|
+
}
|
|
371
|
+
export interface FolderElement {
|
|
372
|
+
/**
|
|
373
|
+
* A JSON string that identifies an email folder. This can either be id of the folder or one
|
|
374
|
+
* of the well known names.
|
|
375
|
+
*/
|
|
376
|
+
folder_id: string;
|
|
377
|
+
[property: string]: any;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* A JSON object that identifies a meeting by its ICalUID.
|
|
381
|
+
*/
|
|
382
|
+
export interface ItemsByIDElement {
|
|
383
|
+
/**
|
|
384
|
+
* A JSON string that contains the ICalUID of a specific meeting.
|
|
385
|
+
*/
|
|
386
|
+
id: string;
|
|
387
|
+
/**
|
|
388
|
+
* A JSON boolean that indicates whether the meeting is a series.
|
|
389
|
+
*/
|
|
390
|
+
is_series: boolean;
|
|
391
|
+
[property: string]: any;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* Contains one or more object identifiers that identify a SharePoint or OneDrive resource.
|
|
395
|
+
*/
|
|
396
|
+
export interface ItemsBySharepointIDElement {
|
|
397
|
+
/**
|
|
398
|
+
* Optional. Not localizable. The GUID identifier of a SharePoint or OneDrive site.
|
|
399
|
+
*/
|
|
400
|
+
site_id?: string;
|
|
401
|
+
/**
|
|
402
|
+
* Optional. Not localizable. The GUID identifier of a SharePoint or OneDrive web.
|
|
403
|
+
*/
|
|
404
|
+
web_id?: string;
|
|
405
|
+
/**
|
|
406
|
+
* Optional. Not localizable. The GUID identifier of a SharePoint or OneDrive list.
|
|
407
|
+
*/
|
|
408
|
+
list_id?: string;
|
|
409
|
+
/**
|
|
410
|
+
* Optional. Not localizable. The GUID identifier of a SharePoint or OneDrive item.
|
|
411
|
+
*/
|
|
412
|
+
unique_id?: string;
|
|
413
|
+
/**
|
|
414
|
+
* A JSON String that uniquely identifies a part of a SharePoint item. e.g a OneNote page.
|
|
415
|
+
*/
|
|
416
|
+
part_id?: string;
|
|
417
|
+
/**
|
|
418
|
+
* A String that qualifies the kind of part that the "part_id" refers to. Currently this
|
|
419
|
+
* value can only be equal to the string literal: "OneNotePart".
|
|
420
|
+
*/
|
|
421
|
+
part_type?: "OneNotePart";
|
|
422
|
+
/**
|
|
423
|
+
* Boolean value indicating whether to enable searching associated sites. This value is only
|
|
424
|
+
* applicable when the site_id value references a SharePoint HubSite.
|
|
425
|
+
*/
|
|
426
|
+
search_associated_sites?: boolean;
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* A String that qualifies the kind of part that the "part_id" refers to. Currently this
|
|
430
|
+
* value can only be equal to the string literal: "OneNotePart".
|
|
431
|
+
*/
|
|
432
|
+
/**
|
|
433
|
+
* Represents the URL of a SharePoint or OneDrive resource.
|
|
434
|
+
*/
|
|
435
|
+
export interface ItemsByURLElement {
|
|
436
|
+
/**
|
|
437
|
+
* Optional. Not localizable. An absolute URL to a SharePoint or OneDrive resource.
|
|
438
|
+
*/
|
|
439
|
+
url?: string;
|
|
440
|
+
}
|
|
441
|
+
export interface KnowledgeSourceElement {
|
|
442
|
+
/**
|
|
443
|
+
* A unique identifier for the host in Dataverse.
|
|
444
|
+
*/
|
|
445
|
+
host_name?: string;
|
|
446
|
+
/**
|
|
447
|
+
* A unique identifier that defines the configuration for how the copilot agent interacts
|
|
448
|
+
* with Dataverse knowledge.
|
|
449
|
+
*/
|
|
450
|
+
skill?: string;
|
|
451
|
+
/**
|
|
452
|
+
* An array of table_name objects which contain table names in DataVerse to scope the
|
|
453
|
+
* knowledge of the Declarative Agent
|
|
454
|
+
*/
|
|
455
|
+
tables?: TableElement[];
|
|
456
|
+
[property: string]: any;
|
|
457
|
+
}
|
|
458
|
+
export interface TableElement {
|
|
459
|
+
/**
|
|
460
|
+
* A string to represent the table name.
|
|
461
|
+
*/
|
|
462
|
+
table_name?: string;
|
|
463
|
+
[property: string]: any;
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* An Object representing a scenario model.
|
|
467
|
+
*/
|
|
468
|
+
export interface ModelElement {
|
|
469
|
+
/**
|
|
470
|
+
* A unique ID used to identify a Scenario Model
|
|
471
|
+
*/
|
|
472
|
+
id: string;
|
|
473
|
+
[property: string]: any;
|
|
474
|
+
}
|
|
475
|
+
export type Name = "WebSearch" | "GraphicArt" | "CodeInterpreter" | "OneDriveAndSharePoint" | "GraphConnectors" | "TeamsMessages" | "EmbeddedKnowledge" | "Email" | "People" | "Meetings" | "Dataverse" | "ScenarioModels";
|
|
476
|
+
/**
|
|
477
|
+
* An object that identifies a site used to constrain the content accessible to the
|
|
478
|
+
* declarative agent.
|
|
479
|
+
*/
|
|
480
|
+
export interface SiteElement {
|
|
481
|
+
/**
|
|
482
|
+
* An absolute URL to a site.
|
|
483
|
+
*/
|
|
484
|
+
url: string;
|
|
485
|
+
[property: string]: any;
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Identifies a Teams channel, team or meeting chat
|
|
489
|
+
*/
|
|
490
|
+
export interface URLElement {
|
|
491
|
+
/**
|
|
492
|
+
* A string that contains a well formed, Teams url to a Teams channel, team or meeting chat
|
|
493
|
+
* (join url)
|
|
494
|
+
*/
|
|
495
|
+
url: string;
|
|
496
|
+
[property: string]: any;
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* Contains hints that are displayed to the user to demonstrate how they can get started
|
|
500
|
+
* using the declarative agent.
|
|
501
|
+
*/
|
|
502
|
+
export interface ConversationStarterElement {
|
|
503
|
+
/**
|
|
504
|
+
* Required. Localizable. A suggestion that the user can use to obtain the desired result
|
|
505
|
+
* from the DC. It MUST contain at least one nonwhitespace character.
|
|
506
|
+
*/
|
|
507
|
+
text: string;
|
|
508
|
+
/**
|
|
509
|
+
* Optional. Localizable. A unique title for the conversation starter. It MUST contain at
|
|
510
|
+
* least one nonwhitespace character.
|
|
511
|
+
*/
|
|
512
|
+
title?: string;
|
|
513
|
+
/**
|
|
514
|
+
* Optional. A list of objects that specify dependencies for this conversation starter.
|
|
515
|
+
*/
|
|
516
|
+
depends_on?: DependsOnElement[];
|
|
517
|
+
[property: string]: any;
|
|
518
|
+
}
|
|
519
|
+
/**
|
|
520
|
+
* An object that identifies a dependency for a conversation starter.
|
|
521
|
+
*/
|
|
522
|
+
export interface DependsOnElement {
|
|
523
|
+
/**
|
|
524
|
+
* Required. The identifier of the dependency.
|
|
525
|
+
*/
|
|
526
|
+
id: string;
|
|
527
|
+
/**
|
|
528
|
+
* Required. The name of the dependency.
|
|
529
|
+
*/
|
|
530
|
+
name: string;
|
|
531
|
+
[property: string]: any;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* An optional JSON object containing a disclaimer message that, if provided, will be
|
|
535
|
+
* displayed to users at the start of a conversation to satisfy legal or compliance
|
|
536
|
+
* requirements. The object contains a required 'text' string property that MUST NOT be null
|
|
537
|
+
* and MUST contain at least 1 non-whitespace character.
|
|
538
|
+
*/
|
|
539
|
+
export interface Disclaimer {
|
|
540
|
+
/**
|
|
541
|
+
* A JSON string that contains the disclaimer message. Characters beyond 500 MAY be ignored.
|
|
542
|
+
*/
|
|
543
|
+
text: string;
|
|
544
|
+
[property: string]: any;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* Optional. A JSON object that contains predefined question-answer pairs that the DA can
|
|
548
|
+
* use to respond to user queries based on semantic similarity.
|
|
549
|
+
*
|
|
550
|
+
* A JSON object that contains either an answers array or url to define predefined
|
|
551
|
+
* question-answer pairs for semantic matching and responses.
|
|
552
|
+
*/
|
|
553
|
+
export interface EditorialAnswers {
|
|
554
|
+
/**
|
|
555
|
+
* A JSON string containing a URL that locates a document containing the editorial answers
|
|
556
|
+
* configuration.
|
|
557
|
+
*/
|
|
558
|
+
url?: string;
|
|
559
|
+
/**
|
|
560
|
+
* A JSON array that contains a list of answer objects. There MUST NOT be more than 300
|
|
561
|
+
* objects in this array.
|
|
562
|
+
*/
|
|
563
|
+
answers?: AnswerElement[];
|
|
564
|
+
[property: string]: any;
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* A JSON object containing a predefined question-answer pair.
|
|
568
|
+
*/
|
|
569
|
+
export interface AnswerElement {
|
|
570
|
+
/**
|
|
571
|
+
* A JSON string containing the predefined question that will be used for semantic
|
|
572
|
+
* similarity matching against user queries.
|
|
573
|
+
*/
|
|
574
|
+
question: string;
|
|
575
|
+
/**
|
|
576
|
+
* A JSON string containing the predefined answer that will be returned when the user query
|
|
577
|
+
* matches the question above the similarity threshold.
|
|
578
|
+
*/
|
|
579
|
+
answer: string;
|
|
580
|
+
similarity_thresholds?: SimilarityThresholds;
|
|
581
|
+
[property: string]: any;
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* A JSON object that contains the minimum and maximum similarity threshold values for
|
|
585
|
+
* semantic matching.
|
|
586
|
+
*/
|
|
587
|
+
export interface SimilarityThresholds {
|
|
588
|
+
/**
|
|
589
|
+
* A JSON number that represents the minimum similarity threshold. The value MUST be a
|
|
590
|
+
* number between 0 and 10 inclusive.
|
|
591
|
+
*/
|
|
592
|
+
min: number;
|
|
593
|
+
/**
|
|
594
|
+
* A JSON number that represents the maximum similarity threshold. The value MUST be a
|
|
595
|
+
* number between 0 and 10 inclusive.
|
|
596
|
+
*/
|
|
597
|
+
max: number;
|
|
598
|
+
[property: string]: any;
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* Optional. A JSON object that specifies the sensitivity label for the DA.
|
|
602
|
+
*
|
|
603
|
+
* A JSON object that specifies the sensitivity label for the DA. The GUID should match one
|
|
604
|
+
* of the published sensitivity labels within the tenant.
|
|
605
|
+
*/
|
|
606
|
+
export interface SensitivityLabel {
|
|
607
|
+
/**
|
|
608
|
+
* Required. The GUID of the sensitivity label pulled from the Purview API.
|
|
609
|
+
*/
|
|
610
|
+
id: string;
|
|
611
|
+
[property: string]: any;
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* A JSON object that allows the DA author to specify the path of a capability that can be
|
|
615
|
+
* modified and a set of allowed_actions for those capabilities.
|
|
616
|
+
*/
|
|
617
|
+
export interface UserOverrideElement {
|
|
618
|
+
/**
|
|
619
|
+
* A JSON string that contains a JSONPath expression identifying the capability or
|
|
620
|
+
* configuration element that users can modify.
|
|
621
|
+
*/
|
|
622
|
+
path: string;
|
|
623
|
+
/**
|
|
624
|
+
* A JSON array of strings that specifies what actions can be taken for the specified path.
|
|
625
|
+
* The only supported action is 'remove'.
|
|
626
|
+
*/
|
|
627
|
+
allowed_actions: "remove"[];
|
|
628
|
+
[property: string]: any;
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* A JSON object used to identify a declarative agent to act as a worker agent.
|
|
632
|
+
*/
|
|
633
|
+
export interface WorkerAgentElement {
|
|
634
|
+
/**
|
|
635
|
+
* A JSON string that is a unique identifier for a Declarative Agent.
|
|
636
|
+
*/
|
|
637
|
+
id?: string;
|
|
638
|
+
/**
|
|
639
|
+
* A JSON string that is a relative file path to a Declarative Agent manifest for the worker
|
|
640
|
+
* agent.
|
|
641
|
+
*/
|
|
642
|
+
file?: string;
|
|
643
|
+
[property: string]: any;
|
|
644
|
+
}
|
|
645
|
+
export declare class Convert {
|
|
646
|
+
static toDeclarativeAgentManifestV1D7(json: string): DeclarativeAgentManifestV1D7;
|
|
647
|
+
static declarativeAgentManifestV1D7ToJson(value: DeclarativeAgentManifestV1D7): string;
|
|
648
|
+
}
|