knowmax-quest-types 2.36.0-beta.4 → 2.36.0-beta.6
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,6 +1,8 @@
|
|
|
1
1
|
import { DocumentInsightAction } from "./IDocumentInsightOptions";
|
|
2
2
|
/** Response of Knowmax Quest Document Insight request. */
|
|
3
3
|
export interface IDocumentInsight {
|
|
4
|
+
/** Identification for this conversation. Provide with follow up messages in this conversation to maintain conversation history. */
|
|
5
|
+
conversationId: string;
|
|
4
6
|
/** Interpreted Quest id of document node for which document insight was requested. */
|
|
5
7
|
questId: string;
|
|
6
8
|
/** Executed action */
|
|
@@ -15,6 +15,8 @@ export interface IDocumentInsightChatMessage {
|
|
|
15
15
|
}
|
|
16
16
|
/** Describes Knowmax Quest Document Insight request. */
|
|
17
17
|
export interface IDocumentInsightOptions {
|
|
18
|
+
/** Set to conversation id received after first request to maintain conversation history. Set to undefined to start new conversation. */
|
|
19
|
+
conversationId?: string;
|
|
18
20
|
action: DocumentInsightAction;
|
|
19
21
|
chatMessages?: IDocumentInsightChatMessage[];
|
|
20
22
|
maxWords?: number;
|