/**
 * Chat types
 * TypeScript types for chat functionality
 */

export interface Message {
  id: number;
  role: 'user' | 'assistant';
  content: string;
  isVerification?: boolean;
  fieldName?: string;
  timestamp?: Date;
  isLoading?: boolean;
  error?: string;
}

export interface ChatMessage {
  role: 'user' | 'assistant';
  content: string;
}

export interface ChatRequest {
  message: string;
  conversation_history?: ChatMessage[];
  context?: string; // Optional context about policies/documents
}

export interface ChatResponse {
  message: string; // Response message from assistant
  model: string; // Model used
  tokens_used?: number; // Number of tokens used
}
