mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 22:25:19 +00:00
[improvement][chat]Support user feedback to semantic parse info.#1729
This commit is contained in:
@@ -15,6 +15,10 @@ public class SchemaMapInfo {
|
||||
|
||||
private final Map<Long, List<SchemaElementMatch>> dataSetElementMatches = new HashMap<>();
|
||||
|
||||
public boolean isEmpty() {
|
||||
return dataSetElementMatches.keySet().isEmpty();
|
||||
}
|
||||
|
||||
public Set<Long> getMatchedDataSetInfos() {
|
||||
return dataSetElementMatches.keySet();
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ public class QueryNLReq extends SemanticQueryReq {
|
||||
private Map<String, ChatApp> chatAppConfig;
|
||||
private List<Text2SQLExemplar> dynamicExemplars = Lists.newArrayList();
|
||||
private SemanticParseInfo contextParseInfo;
|
||||
private SemanticParseInfo selectedParseInfo;
|
||||
|
||||
@Override
|
||||
public String toCustomizedString() {
|
||||
|
||||
Reference in New Issue
Block a user