diff --git a/src/main/java/com/wecom/robot/service/impl/AiServiceClientImpl.java b/src/main/java/com/wecom/robot/service/impl/AiServiceClientImpl.java index 0969693..d835e81 100644 --- a/src/main/java/com/wecom/robot/service/impl/AiServiceClientImpl.java +++ b/src/main/java/com/wecom/robot/service/impl/AiServiceClientImpl.java @@ -45,9 +45,11 @@ public class AiServiceClientImpl implements AiServiceClient { ResponseEntity response = restTemplate.postForEntity( url, entity, ChatResponse.class); - log.info("[AC-MCA-05] AI 服务响应: sessionId={}, shouldTransfer={}", + log.info("[AC-MCA-05] AI 服务响应: sessionId={}, shouldTransfer={},置信度:{}", request.getSessionId(), - response.getBody() != null ? response.getBody().getShouldTransfer() : null); + response.getBody() != null ? response.getBody().getShouldTransfer() : null, + response.getBody().getConfidence() + ); return CompletableFuture.completedFuture(response.getBody()); } diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index fb60211..9af8a06 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -1,5 +1,5 @@ server: - port: 8080 + port: 8883 spring: datasource: diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index d5f72e8..e36a06e 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -1,5 +1,5 @@ server: - port: 8080 + port: 8883 spring: datasource: