knowmax-quest-types 2.35.3 → 2.36.0-beta.1

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.
@@ -3,9 +3,19 @@ export declare enum DocumentInsightAction {
3
3
  Summarize = "Summarize",
4
4
  Translate = "Translate"
5
5
  }
6
+ export declare enum DocumentInsightChatMessageRole {
7
+ System = "System",
8
+ Assistant = "Assistant",
9
+ User = "User",
10
+ Tool = "Tool"
11
+ }
12
+ export interface IDocumentInsightChatMessage {
13
+ role: DocumentInsightChatMessageRole;
14
+ text: string;
15
+ }
6
16
  export interface IDocumentInsightOptions {
7
17
  action: DocumentInsightAction;
8
- prompts?: string[];
18
+ chatMessages?: IDocumentInsightChatMessage[];
9
19
  maxWords?: number;
10
20
  language?: string;
11
21
  }
@@ -4,3 +4,10 @@ export var DocumentInsightAction;
4
4
  DocumentInsightAction["Summarize"] = "Summarize";
5
5
  DocumentInsightAction["Translate"] = "Translate";
6
6
  })(DocumentInsightAction || (DocumentInsightAction = {}));
7
+ export var DocumentInsightChatMessageRole;
8
+ (function (DocumentInsightChatMessageRole) {
9
+ DocumentInsightChatMessageRole["System"] = "System";
10
+ DocumentInsightChatMessageRole["Assistant"] = "Assistant";
11
+ DocumentInsightChatMessageRole["User"] = "User";
12
+ DocumentInsightChatMessageRole["Tool"] = "Tool";
13
+ })(DocumentInsightChatMessageRole || (DocumentInsightChatMessageRole = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knowmax-quest-types",
3
- "version": "2.35.3",
3
+ "version": "2.36.0-beta.1",
4
4
  "description": "Contains type definitions for communicating with Knowmax Quest.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",