cr vor 4 Tagen
Ursprung
Commit
bf21441169

+ 6 - 14
blade-common/src/main/java/org/springblade/common/utils/DeepSeekClient.java

@@ -1,4 +1,3 @@
-/*
 
 package org.springblade.common.utils;
 import com.google.gson.Gson;
@@ -34,11 +33,9 @@ public class DeepSeekClient {
                 .build();
     }
 
-*/
-/**
+    /**
      * 请求 DeepSeek API
-     *//*
-
+     */
 
     public String callDeepSeek(String prompt) throws IOException {
         DeepSeekRequest request = new DeepSeekRequest(prompt, "deepseek-chat");
@@ -65,11 +62,9 @@ public class DeepSeekClient {
     }
 
 
-*/
-/**
+    /**
      * 解析响应获取结果
-     *//*
-
+     */
 
     public String analysisResponse(String responseJson) {
         try {
@@ -97,11 +92,9 @@ public class DeepSeekClient {
     }
 
 
-*/
-/**
+    /**
      * 直接获取精简后的内容
-     *//*
-
+     */
 
     public String getSimplifiedContent(String prompt) {
         try {
@@ -249,4 +242,3 @@ public class DeepSeekClient {
         }
     }
 }
-*/