import type { IIntelligenceCitation } from './IIntelligenceCitation'; import type { IIntelligenceIntentDocument } from './IIntelligenceIntentDocument'; export declare enum IntelligenceConversationMessageOrigin { System = "System", Assistant = "Assistant", User = "User", Tool = "Tool" } /** A single message within an intelligence conversation. */ export interface IIntelligenceConversationMessage { /** Numeric identification of this message. Use as conversationMessageId when submitting a rating. */ id: number; /** Indicates whether the message was authored by the user or generated by the AI model. */ origin: IntelligenceConversationMessageOrigin; text?: string; /** Target associated with this message, e.g. a QuestId for Document Insight or a filter for Research. */ target?: string; /** Human-readable title of the target. Populated for Document Insight messages; contains the document title derived from the reference. */ targetTitle?: string; /** Timestamp at which this message was created. */ created: string; /** Rating submitted by the user for this message. 0 = unhelpful, 1 = helpful. Null when no rating has been submitted. */ rating?: number; /** Optional feedback text associated with the rating. */ ratingMessage?: string; /** Citations sourced from the search index that support this AI generated answer. Only present for Quest Research answers. */ citations?: IIntelligenceCitation[]; /** Documents matched by intent detection used to narrow search scope. Only present when intent-based filtering was active. */ intentDocuments?: IIntelligenceIntentDocument[]; /** Label of the intelligence model that generated this message. */ intelligenceModelLabel?: string; } //# sourceMappingURL=IIntelligenceConversationMessage.d.ts.map