From 7d61aba7b69fe1462efa6fb2bc7a8012f35c2838 Mon Sep 17 00:00:00 2001
From: wangwh <2397901735@qq.com>
Date: Wed, 11 Sep 2024 14:00:07 +0800
Subject: [PATCH] update

---
 dyh-service/dyh-mediate/src/main/java/cn/huge/module/ai/controller/AiController.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/ai/controller/AiController.java b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/ai/controller/AiController.java
index 2498fbb..2348397 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/ai/controller/AiController.java
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/ai/controller/AiController.java
@@ -43,7 +43,7 @@
         params.put("caseDes", aiRequestVo.getCaseDes());//案件描述
         params.put("caseClaim", aiRequestVo.getCaseClaim());//案件诉求
         params.put("caseId", aiRequestVo.getCaseId());//案件id
-        params.put("topK", "3");
+        params.put("topK", "2");
         params.put("metricType", "IP");
         String s = HttpClientUtils.httpPostForm(aiUrl + "/queryConciliationCase", params, new HashMap<>(), "utf-8");
         JSONObject object = JSONObject.parseObject(s);
@@ -59,7 +59,7 @@
                 caseInfoDtoList.add(caseInfoDto);
             }
         }
-        if (caseInfoDtoList.size() < 3) {
+        if (caseInfoDtoList.size() < 4) {
             s = HttpClientUtils.httpPostForm(aiUrl + "/queryJudgmentCase", params, new HashMap<>(), "utf-8");
             object = JSONObject.parseObject(s);
             code = object.getIntValue("code");

--
Gitblit v1.8.0