dochub-sdk 0.1.385 → 0.1.386
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/interfaces/ai.ts +4 -4
- package/package.json +1 -1
package/interfaces/ai.ts
CHANGED
|
@@ -227,7 +227,7 @@ export interface IDocHubComposerProvider {
|
|
|
227
227
|
fetchCommands(): Promise<IDocHubAIComposerCommand[]>;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
export enum
|
|
230
|
+
export enum DocHubAICapabilityID {
|
|
231
231
|
text = 'text',
|
|
232
232
|
attachment = 'attachment',
|
|
233
233
|
contextWindow = 'context-window'
|
|
@@ -246,15 +246,15 @@ export interface IDocHubAICapabilities {
|
|
|
246
246
|
/**
|
|
247
247
|
* Способность обрабатывать прикрепленные файлы к сообщению
|
|
248
248
|
*/
|
|
249
|
-
[
|
|
249
|
+
[DocHubAICapabilityID.attachment]?: DocHubAIAttachmentFileContentType[];
|
|
250
250
|
/**
|
|
251
251
|
* Способность воспринимать текс в запросе
|
|
252
252
|
*/
|
|
253
|
-
[
|
|
253
|
+
[DocHubAICapabilityID.text]?: boolean;
|
|
254
254
|
/**
|
|
255
255
|
* Размер контекстного окна
|
|
256
256
|
*/
|
|
257
|
-
[
|
|
257
|
+
[DocHubAICapabilityID.contextWindow]?: number;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
|