mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-20 06:34:55 +00:00
[improvement][chat] Optimize and modify the mapper method for terminology (#1866)
This commit is contained in:
@@ -59,8 +59,7 @@ public class Text2SQLEval extends BaseTest {
|
||||
durations.add(System.currentTimeMillis() - start);
|
||||
assert result.getQueryColumns().size() == 2;
|
||||
assert result.getQueryResults().size() == 30;
|
||||
assert result.getTextResult().contains("date")
|
||||
|| result.getTextResult().contains("日期");
|
||||
assert result.getTextResult().contains("date") || result.getTextResult().contains("日期");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user