knowmax-quest-types
Version:
Contains type definitions for communicating with Knowmax Quest.
24 lines • 1.21 kB
TypeScript
export interface IIntelligenceIntentDocument {
/** Original AI detrermined intent id as specified by user. This is the id that was used to identify the document in the request. */
intentId: string;
/** Set by id determined by Intelligence Intent Interceptor when the intent was intercepted. */
intentInterceptedId?: string;
/** AI determined version indication of the document as specified by user. */
intentVersion?: string;
/** AI generated variants of intent specified by user. Like document title's or technical identifications. */
variants?: string[];
/** Resolved Quest documents that match the intent specified by user. */
documents?: IIntelligenceIntentDocumentResolved[];
/** Set when the intent was intercepted by an intelligence intent interceptor. */
intercepted: boolean;
/** Set when this intent was inherited from a previous user prompt because t prompt did not contain any intent documents. */
inherited: boolean;
}
export interface IIntelligenceIntentDocumentResolved {
questId: string;
title: string;
versionDate?: string;
version?: number;
score: number;
}
//# sourceMappingURL=IIntelligenceIntentDocument.d.ts.map