You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
482 B
Java
21 lines
482 B
Java
package com.supervision.service;
|
|
|
|
import com.supervision.websocket.dto.SocketMessageDTO;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
import java.io.IOException;
|
|
import java.util.List;
|
|
|
|
public interface AskService {
|
|
|
|
void handlerMessageBySocket(SocketMessageDTO socketMessageDTO) throws IOException;
|
|
|
|
String receiveVoiceFile(MultipartFile file) throws IOException;
|
|
|
|
String replyVoice();
|
|
|
|
List<String> conversation(String question, String sessionId);
|
|
|
|
|
|
}
|