2023-07-25 17:57:37 +08:00
|
|
|
package com.ai.da.service;
|
|
|
|
|
|
2023-09-29 21:44:43 +08:00
|
|
|
import com.ai.da.mapper.entity.Library;
|
2023-07-25 17:57:37 +08:00
|
|
|
import com.ai.da.model.dto.ChatFlushDTO;
|
2023-09-29 21:44:43 +08:00
|
|
|
import com.ai.da.model.dto.ChatRobotLibraryDTO;
|
2023-07-25 17:57:37 +08:00
|
|
|
import com.ai.da.model.dto.ChatSendDTO;
|
2023-09-29 21:44:43 +08:00
|
|
|
import com.ai.da.model.vo.ChatRobotLibraryVO;
|
|
|
|
|
import com.ai.da.model.vo.ChatRobotVO;
|
2023-07-25 17:57:37 +08:00
|
|
|
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
|
|
|
|
|
|
2023-09-29 21:44:43 +08:00
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
2023-07-25 17:57:37 +08:00
|
|
|
/**
|
|
|
|
|
* @author aida
|
|
|
|
|
* @version 1.0
|
|
|
|
|
* @project aida_back
|
|
|
|
|
* @description 对话机器人服务接口
|
|
|
|
|
* @date 2023/7/25 16:42:18
|
|
|
|
|
*/
|
|
|
|
|
public interface ChatRobotService {
|
2023-09-29 21:44:43 +08:00
|
|
|
ChatRobotVO sendMessageToChatRobot(ChatSendDTO chatSendDTO);
|
2023-07-25 17:57:37 +08:00
|
|
|
|
|
|
|
|
String chatBufferFlush(ChatFlushDTO chatFlushDTO);
|
2023-09-29 21:44:43 +08:00
|
|
|
|
|
|
|
|
Library pictureLikeOrUnLike(ChatRobotLibraryDTO chatRobotLibraryDTO);
|
|
|
|
|
|
|
|
|
|
BigDecimal getBloodBars(Long userId);
|
2023-07-25 17:57:37 +08:00
|
|
|
}
|