mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-19 08:50:57 +00:00
[feature][chat]Introduce separate field to return summary generated by DataInterpretProcessor.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user