|
|
@ -34,7 +34,7 @@ public class DeepSeekLocalService {
|
|
|
|
// 构建请求体
|
|
|
|
// 构建请求体
|
|
|
|
DeepSeekRequest.Message systemMessage = new DeepSeekRequest.Message();
|
|
|
|
DeepSeekRequest.Message systemMessage = new DeepSeekRequest.Message();
|
|
|
|
systemMessage.setRole("system");
|
|
|
|
systemMessage.setRole("system");
|
|
|
|
systemMessage.setContent("You are a helpful assistant.");
|
|
|
|
systemMessage.setContent("你是个乐于助人的助手");
|
|
|
|
|
|
|
|
|
|
|
|
DeepSeekRequest.Message userMessage = new DeepSeekRequest.Message();
|
|
|
|
DeepSeekRequest.Message userMessage = new DeepSeekRequest.Message();
|
|
|
|
userMessage.setRole("user");
|
|
|
|
userMessage.setRole("user");
|
|
|
|