package org.jeecg.modules.adweb.gpt.service;

import com.baomidou.mybatisplus.extension.service.IService;

import org.jeecg.modules.adweb.gpt.entity.ChatHistory;

import java.util.List;

/**
 * @Description: adweb_ai_chat_history
 * @Author: jeecg-boot
 * @Date: 2025-12-09
 * @Version: V1.0
 */
public interface IChatHistoryService extends IService<ChatHistory> {

    /** 获取用户本周的{@link ChatHistory}记录 */
    ChatHistory getChatHistoryOfWeek(String uid);

    /** 获取用户所有的{@link ChatHistory}记录 */
    List<ChatHistory> getChatHistoriesByUid(String uid);
}
