export interface AiChatConfig {
  endpoint?: string;
  model?: string;
  temperature?: number;
  systemPrompt?: string;
}

export interface AiChatMessage {
  role: 'user' | 'assistant' | 'system';
  content: string;
  createdAt?: string;
}

export interface AiChatRequest {
  message: string;
  useFileKnowledge: boolean;
  useDatabaseKnowledge: boolean;
  history: Array<Pick<AiChatMessage, 'role' | 'content'>>;
}

export interface AiChatResponse {
  content: string;
  knowledgeSource?: string;
  tokensUsed?: number | null;
}
