mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 03:58:14 +00:00
[improvement][chat]Introduce separate ChatParseResp in Chat module.
This commit is contained in:
@@ -12,12 +12,10 @@ import java.util.stream.Collectors;
|
||||
@Data
|
||||
public class ParseResp {
|
||||
private final String queryText;
|
||||
private Long queryId;
|
||||
private ParseState state = ParseState.PENDING;
|
||||
private String errorMsg;
|
||||
private List<SemanticParseInfo> selectedParses = Lists.newArrayList();
|
||||
private ParseTimeCostResp parseTimeCost = new ParseTimeCostResp();
|
||||
private List<Text2SQLExemplar> usedExemplars;
|
||||
|
||||
public enum ParseState {
|
||||
COMPLETED, PENDING, FAILED
|
||||
|
||||
Reference in New Issue
Block a user