|
|
|
@@ -518,8 +518,10 @@ public class DmIntentController extends BaseController<DmIntentQuery, DmIntentDt |
|
|
|
jo.put("content",knowledgeLibAskVo.getQuestion()); |
|
|
|
ja1.add(jo); |
|
|
|
testJ.put("messages",ja1); |
|
|
|
log.info("北方大请求:{}",testJ.toJSONString()); |
|
|
|
String gatewayheader = LagiConfig.tenantLlmMap.get(enterpriseDtoR.getData().getName()); |
|
|
|
gatewayheader = StringUtils.isEmpty(gatewayheader) ? "": gatewayheader; |
|
|
|
log.info("北方大请求:{}",gatewayheader); |
|
|
|
JSONObject resultJson = remoteLandingLlmService.query(gatewayheader,testJ); |
|
|
|
log.info("北方大返回:{}",resultJson.toString()); |
|
|
|
if (resultJson.get("status").equals("success")) { |
|
|
|
|