import { FullAuditedEntityDto } from '../abp' export interface AiBotDto extends FullAuditedEntityDto { name: string apiUrl?: string description?: string } export type ChatType = 'chat' | 'query' | 'analyze' export interface BaseContent { type: ChatType question: string sql: string | null answer: string | any[] chart?: string error?: string } export type MessageContent = string | BaseContent export interface Message { role: 'user' | 'assistant' content: MessageContent /** ISO string */ createdAt?: string }