knowmax-quest-types
Version:
Contains type definitions for communicating with Knowmax Quest.
22 lines • 1.22 kB
TypeScript
import type { IIntelligenceCitation } from ".";
export interface IIntelligenceBase {
/** Status of document insight retrieval. */
status: 'Ok' | 'IndexError' | 'IntelligenceModelError' | 'InputTooLong' | 'ContentFilter' | 'Error';
/** Error specific for problems with intelligence model status initialization. */
intelligenceModelStatus: 'Ok' | 'NotFound' | 'UnsupportedType';
/** In case status is set to error, this property might contain technical details about the error. */
errorDetails?: string;
/** Identification for this conversation. Provide with follow up messages in this conversation to maintain conversation history. */
conversationId?: string;
/** Referers to particular message in the conversation with this answer. */
conversationMessageId?: number;
/** Textual response. Might contain markdown formatted contents. */
text?: string;
/** List of citations possible referenced from text. */
citations?: IIntelligenceCitation[];
/** Maximum number of messages in conversation allowed. */
maxConversationDepth: number;
/** Current number in conversation */
conversationDepth: number;
}
//# sourceMappingURL=IIntelligenceBase.d.ts.map