You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
IESExtension/src/main/java/cn/teammodel/service/ChatMessageService.java

37 lines
908 B

package cn.teammodel.service;
import cn.teammodel.model.dto.ai.comment.ChatCommentsDto;
import cn.teammodel.model.dto.ai.ChatCompletionReqDto;
import cn.teammodel.model.dto.ai.comment.WisdomSummaryDto;
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);
/**
* AI
* @return
*/
SseEmitter chatSummary(WisdomSummaryDto chatSummaryDto, String userId, String userName);
/**
* AI
* @return
*/
SseEmitter chatAnalysis();
}