|
|
|
package com.supervision.service;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
|
|
|
import com.supervision.pojo.vo.ReplyVoiceResVO;
|
|
|
|
import com.supervision.websocket.dto.SocketMessageDTO;
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public interface AskService {
|
|
|
|
|
|
|
|
void handlerMessageBySocket(SocketMessageDTO socketMessageDTO);
|
|
|
|
|
|
|
|
String receiveVoiceFile(MultipartFile file) throws IOException;
|
|
|
|
|
|
|
|
ReplyVoiceResVO replyVoice();
|
|
|
|
|
|
|
|
List<String> conversation(String question, String sessionId);
|
|
|
|
|
|
|
|
|
|
|
|
}
|