Przeglądaj źródła

召回过滤去除

wangyunpeng 4 miesięcy temu
rodzic
commit
fa50b7c54e

+ 5 - 7
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/recommend/recall/RecallService.java

@@ -193,13 +193,11 @@ public class RecallService implements ApplicationContextAware {
         long t2 = System.currentTimeMillis();
         CostMonitor.logCost("Recall", "GetAllContents", t2 - t1);
         ContentCountMonitor.logCount("Recall", "GetAllContents", Objects.isNull(content) ? 0 : content.size());
-        if (whiteAccountList.contains(param.getAccountName())) {
-//            // 临时过滤文章视频不匹配content
-//            filterNotMatchContent(content);
-            // 过滤仅保留审核通过content
-            filterAuditPassContent(content);
-        }
-        ContentCountMonitor.logCount("Recall", "Filter", Objects.isNull(content) ? 0 : content.size());
+//        if (whiteAccountList.contains(param.getAccountName())) {
+//            // 过滤仅保留审核通过content
+//            filterAuditPassContent(content);
+//            ContentCountMonitor.logCount("Recall", "Filter", Objects.isNull(content) ? 0 : content.size());
+//        }
         if (CollectionUtils.isEmpty(content)) {
             FeishuMessageSender.sendWebHookMessage(FeishuRobotIdEnum.RECOMMEND.getRobotId(),
                     "内容召回失败\n"