You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
359 B
16 lines
359 B
1 year ago
|
package cn.teammodel.service;
|
||
|
|
||
|
import cn.teammodel.model.dto.ai.ChatCompletionReqDto;
|
||
|
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
|
||
|
|
||
|
/**
|
||
|
* @author winter
|
||
|
* @create 2023-12-18 15:20
|
||
|
*/
|
||
|
public interface ChatMessageService {
|
||
|
/**
|
||
|
* AI 聊天
|
||
|
*/
|
||
|
SseEmitter chatCompletion(ChatCompletionReqDto chatCompletionReqDto);
|
||
|
}
|