[feature][chat]Introduce separate field to return summary generated by DataInterpretProcessor.

This commit is contained in:
jerryjzhang
2024-10-31 12:57:19 +08:00
parent cf359f3e2f
commit 02f3bb8f5d
2 changed files with 2 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ public class DataInterpretProcessor implements ExecuteResultProcessor {
keyPipelineLog.info("DataInterpretProcessor modelReq:\n{} \nmodelResp:\n{}", prompt.text(),
anwser);
if (StringUtils.isNotBlank(anwser)) {
queryResult.setTextResult(anwser);
queryResult.setTextSummary(anwser);
}
}
}