mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 19:51:00 +00:00
chat接口,匹配数据集逻辑错误,导致智能匹配第一个数据集 (#1884)
This commit is contained in:
@@ -101,7 +101,7 @@ public class NL2SQLParser implements ChatQueryParser {
|
||||
doParse(queryNLReq, parseResp);
|
||||
}
|
||||
if (parseResp.getSelectedParses().isEmpty()) {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
// for one dataset select the top 1 parse after sorting
|
||||
SemanticParseInfo.sort(parseResp.getSelectedParses());
|
||||
|
||||
Reference in New Issue
Block a user