From 450083f7d9d5b687c732acddefb56632f7b3d5ad Mon Sep 17 00:00:00 2001
From: shikeying <shikeying@163.com>
Date: 星期一, 14 十一月 2022 12:53:39 +0800
Subject: [PATCH] 添加文本推荐API接口

---
 deploy-jar-template/src/main/resources/application-dev.yml |   51 ++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 46 insertions(+), 5 deletions(-)

diff --git a/deploy-jar-template/src/main/resources/application-dev.yml b/deploy-jar-template/src/main/resources/application-dev.yml
index a11d24f..5d3d644 100644
--- a/deploy-jar-template/src/main/resources/application-dev.yml
+++ b/deploy-jar-template/src/main/resources/application-dev.yml
@@ -8,11 +8,11 @@
 #    password: Bjjmy_63661766
     password: Bjjmy_2020
 #    driver-class-name: sunje.goldilocks.jdbc.GoldilocksDriver
-    url: jdbc:mysql://124.70.39.177:3306/train_recommend?useUnicode=true&characterEncoding=UTF-8&useSSL=false
+    url: jdbc:mysql://116.198.40.76:3306/train_recommend?useUnicode=true&characterEncoding=UTF-8&useSSL=false
     type: com.walker.jdbc.ds.DefaultDataSource
     hikari:
       minimum-idle: 5
-      idle-timeout: 5000
+      idle-timeout: 600000
       pool-name: databasePool_walker
       connection-timeout: 10000
       connection-test-query: select 1
@@ -39,6 +39,8 @@
       springframework: error
     com:
       walker: info
+      iplatform: debug
+
 #  file: # logging.file.path 鍜� logging.file.name锛屽彧浼氭湁涓�涓敓鏁堬紝閰嶄簡path涓嶈閰峮ame锛岄厤浜唍ame涓嶈閰峱ath锛屽彧閰峱ath鏃秐ame榛樿涓簊pring.log锛屾兂璺緞鍜屾枃浠跺悕鍚屾椂鐢熸晥鍙厤缃甽ogging.file.name=d:/logs/mylog.log
 #    name: ${spring.application.name}.log #鏃ュ織鏂囦欢鍚�
 #    path: logs  #鏃ュ織瀛樺偍璺緞
@@ -62,7 +64,7 @@
   cache:
     redis-enabled: false
 
-  # 鐩镐技搴﹀垎鏋愭ā鍧椾娇鐢�
+  # 鐩镐技搴﹀垎鏋愭ā鍧椾娇鐢紙鏆傛椂搴熷純锛�
   similarity:
     # 鏄惁鍚敤鐩镐技搴︽ā鍧楋紝濡傛灉绂佺敤鍒欒纭繚娉ㄥ叆鏃舵敮鎸佷负绌�
     enabled: true
@@ -73,8 +75,47 @@
 
   # 璋冨害鍣ㄦā鍧楋紝鏄惁鍚敤
   scheduler:
-    enabled: true
+    enabled: false
 
   # 鏁版嵁閲囬泦妯″潡
   gather:
-    enabled: true
\ No newline at end of file
+    enabled: true
+
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+# 涓氬姟鍔熻兘閰嶇疆鍙傛暟
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+recommend:
+
+  video:
+    # 瑙嗛閲囬泦瀛樺偍鏍硅矾寰�
+    data-folder: D:/dev_tools/ai/
+#    data-folder: /opt/ai/video/
+
+    # 瑙嗛鐩镐技搴I鏈嶅姟URL
+#    ai-service: http://121.36.40.27:12345
+    ai-service: http://127.0.0.1:8801
+
+    # 鎺ㄨ崘鐩镐技瑙嗛(绠楁硶)鍓嶅灏戜釜
+    top-n: 40
+
+    # 娴嬭瘯妯″紡锛屽鏋滄槸鍒欎粎鐢熸垚鍥哄畾娴嬭瘯鏁版嵁锛屾寮忛儴缃查渶瑕佹敼涓� false
+    test-mode: false
+
+    #涓氬姟瑙嗛鎵�鍦ㄦ暟鎹簱淇℃伅
+#    business-datasource-url: 116.198.40.76
+    business-datasource-url: 127.0.0.1
+    business-datasource-port: 3306
+    business-datasource-service: train_zs
+    business-datasource-authentication: root
+    business-datasource-certification: Bjjmy_2020
+
+  text:
+    # 鏂囨湰鐩镐技搴︽湇鍔RL
+    ai-service: http://116.198.39.83:54321
+
+#sftp:
+#  host: 124.70.39.177
+#  port: 22
+#  user: mysftp
+#  pass: Bjjmy_2020
+#  base: /train

--
Gitblit v1.9.1