19 lines
475 B
Java
19 lines
475 B
Java
|
|
package com.ai.da.service;
|
||
|
|
|
||
|
|
import com.ai.da.model.dto.ChatFlushDTO;
|
||
|
|
import com.ai.da.model.dto.ChatSendDTO;
|
||
|
|
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @author aida
|
||
|
|
* @version 1.0
|
||
|
|
* @project aida_back
|
||
|
|
* @description 对话机器人服务接口
|
||
|
|
* @date 2023/7/25 16:42:18
|
||
|
|
*/
|
||
|
|
public interface ChatRobotService {
|
||
|
|
SseEmitter sendMessageToChatRobot(ChatSendDTO chatSendDTO);
|
||
|
|
|
||
|
|
String chatBufferFlush(ChatFlushDTO chatFlushDTO);
|
||
|
|
}
|