package cn.teammodel.service;

import cn.teammodel.model.dto.ai.comment.ChatCommentsDto;
import cn.teammodel.model.dto.ai.ChatCompletionReqDto;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

/**
 * @author winter
 * @create 2023-12-18 15:20
 */
public interface ChatMessageService {
    /**
    * AI 聊天
    */
    SseEmitter chatCompletion(ChatCompletionReqDto chatCompletionReqDto, String userId);

    /**
     * AI 评语聊天
     * @param chatCommentsDto
     * @return
     */
    SseEmitter chatComments(ChatCommentsDto chatCommentsDto, String userId, String userName);
}
