Files
aida_back/src/main/java/com/ai/da/service/LLMService.java

29 lines
960 B
Java
Raw Normal View History

2025-05-18 12:46:12 +08:00
package com.ai.da.service;
import com.ai.da.common.response.PageBaseResponse;
import com.ai.da.mapper.primary.entity.ChatMessage;
import com.ai.da.model.dto.*;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
import java.util.List;
/**
* 服务类
*
* @author easy-generator
* @since 2022-08-11
*/
public interface LLMService {
2025-05-21 21:03:15 +08:00
SseEmitter stream(String prompt, Long projectId, String fileUrl, List<String> imageUrlList, String token, Boolean enableThinking, String process);
2025-05-18 12:46:12 +08:00
2025-05-20 16:54:20 +08:00
Long chatCreateProject(String prompt, String process, String fileUrl, List<String> imageUrlList);
2025-05-18 12:46:12 +08:00
List<String> uploadFile(MultipartFile file);
2025-05-19 10:00:19 +08:00
PageBaseResponse<ChatMessage> getChatHistory(ChatHistoryDTO chatHistoryDTO);
2025-06-02 16:19:41 +08:00
SseEmitter streamNew(String prompt, Long projectId, String fileUrl, List<String> imageUrlList, String token, Boolean enableThinking, String process);
2025-05-18 12:46:12 +08:00
}