knowmax-quest-types 2.36.0-beta.12 → 2.36.0-beta.14
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.
|
@@ -2,9 +2,11 @@ import { DocumentInsightAction } from "./IDocumentInsightOptions";
|
|
|
2
2
|
/** Response of Knowmax Quest Document Insight request. */
|
|
3
3
|
export interface IDocumentInsight {
|
|
4
4
|
/** Status of document insight retrieval. */
|
|
5
|
-
status: 'Ok' | 'IntelligenceModelError' | 'Error';
|
|
5
|
+
status: 'Ok' | 'IntelligenceModelError' | 'InputTooLong' | 'Error';
|
|
6
6
|
/** Error specific for problems with intelligence model status initialization. */
|
|
7
7
|
intelligenceModelStatus: 'Ok' | 'NotFound' | 'UnsupportedType';
|
|
8
|
+
/** In case status is set to error, this propety might contain technical details about the error. */
|
|
9
|
+
errorDetails?: string;
|
|
8
10
|
/** Identification for this conversation. Provide with follow up messages in this conversation to maintain conversation history. */
|
|
9
11
|
conversationId: string;
|
|
10
12
|
/** Interpreted Quest id of document node for which document insight was requested. */
|
|
@@ -25,6 +25,8 @@ export interface IDocumentInsightOptions {
|
|
|
25
25
|
chatMessages?: IDocumentInsightChatMessage[];
|
|
26
26
|
/** Set to explicitly not use the contents of the document in generating answer. In that case only technical data like metadata, version data and table of contents will be used. Defaults to false. */
|
|
27
27
|
ignoreContents?: boolean;
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
/** Set to ignore conversation for this request. Na data will be read or written from or to conversation history. */
|
|
29
|
+
ignoreConversation?: boolean;
|
|
30
|
+
/** Set to true to instruct AI model to format results as JSON. */
|
|
31
|
+
responseFormatJson?: boolean;
|
|
30
32
|
}
|