knowmax-quest-types 2.36.0-beta.15 → 2.36.0-beta.17

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.
@@ -1,17 +1,17 @@
1
1
  /** Response of Knowmax Quest Document Insight request. */
2
2
  export interface IDocumentInsight {
3
3
  /** Status of document insight retrieval. */
4
- status: 'Ok' | 'IntelligenceModelError' | 'InputTooLong' | 'Error';
4
+ status: 'Ok' | 'IntelligenceModelError' | 'InputTooLong' | 'ContentFilter' | 'Error';
5
5
  /** Error specific for problems with intelligence model status initialization. */
6
6
  intelligenceModelStatus: 'Ok' | 'NotFound' | 'UnsupportedType';
7
7
  /** In case status is set to error, this propety might contain technical details about the error. */
8
8
  errorDetails?: string;
9
9
  /** Identification for this conversation. Provide with follow up messages in this conversation to maintain conversation history. */
10
- conversationId: string;
10
+ conversationId?: string;
11
11
  /** Interpreted Quest id of document node for which document insight was requested. */
12
12
  questId: string;
13
13
  /** Textual response. Might contain markdown formatted contents. */
14
- text: string;
14
+ text?: string;
15
15
  /** Maximum number of messages in conversation allowed. */
16
16
  maxConversationDepth: number;
17
17
  /** Current number in conversation */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knowmax-quest-types",
3
- "version": "2.36.0-beta.15",
3
+ "version": "2.36.0-beta.17",
4
4
  "description": "Contains type definitions for communicating with Knowmax Quest.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",