import { BaseResponse } from "@/app/[name]/(Main)/types/Types";

export type ChatRequest = {
  question: string;
};

export type ChatFood = {
  id: string;
  title: string;
  desc: string;
  content: string[] | null;
  price: number;
  images: string[];
  discount: number;
  isSpecialOffer: boolean;
};

export type ChatData = {
  answer: string;
  foods?: ChatFood[];
  consumedTokens: number;
  cost: number;
  promptTokens: number;
  completionTokens: number;
};

export type ChatResponse = BaseResponse<ChatData>;
