Bläddra i källkod

启用ERNIE_BOT_4

anderx 1 år sedan
förälder
incheckning
a3c74091e7

+ 2 - 2
src/main/java/com/goafanti/ChatAI/service/impl/ChatAiServiceImpl.java

@@ -37,8 +37,8 @@ public class ChatAiServiceImpl implements ChatAiService {
         SseMap.sseEmitterMap.put(in.getUserId(), new SseResult(in.getUserId(), System.currentTimeMillis(), sseEmitter));
         try {
 //            先将数据返回,异步调用返回数据
-            baiduChatUtils.sendBaiduAiStream(in);
-//            baiduChatUtils.sendERNIEBOT4Stream(in);
+//            baiduChatUtils.sendBaiduAiStream(in);
+            baiduChatUtils.sendERNIEBOT4Stream(in);
         } catch (IOException e) {
             e.printStackTrace();
             throw new BusinessException("文言一心调用失败"+e.getLocalizedMessage());

+ 1 - 1
src/main/resources/props/config_local.properties

@@ -38,7 +38,7 @@ app.name=AFT
 app.mobile.website=http://m.jishutao.com/1.0/template/index.html
 template.cacheable=false
 
-static.host=//ss.jishutao.com/client/1.2.11
+static.host=//ss.jishutao.com/client/1.2.8
 portal.host=//ss.jishutao.com/portal/2.2.22
 skjt.host=//ss.jishutao.com/skjt/1.3