Commit 307ab58e authored by alex yao's avatar alex yao

fix[智能问数]: csv对话

parent ced06bc4
......@@ -298,7 +298,13 @@ public class AiBiServiceImpl implements AiBiService {
if (csvChainResult != null) {
sseUtil.send(JsonUtils.serialize(csvChainResult));
LargeModelDemandResult result = new LargeModelDemandResult();
result.setCode("0");
result.setFunction(null);
result.setDbChainResult(null);
result.setKnowledgeContentResult(null);
result.setCsvChainResult(csvChainResult);
sseUtil.send(JsonUtils.serialize(result));
if (StringUtils.isNotBlank(csvChainResult.getResult())) {
JSONObject echartJSONObject = new JSONObject();
echartJSONObject.put("sql", StringUtils.EMPTY);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment