mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 12:37:55 +00:00
[fix][chat]Fix Text2SQL case, making it more robust.
This commit is contained in:
@@ -59,7 +59,8 @@ public class Text2SQLEval extends BaseTest {
|
|||||||
durations.add(System.currentTimeMillis() - start);
|
durations.add(System.currentTimeMillis() - start);
|
||||||
assert result.getQueryColumns().size() == 2;
|
assert result.getQueryColumns().size() == 2;
|
||||||
assert result.getQueryResults().size() == 30;
|
assert result.getQueryResults().size() == 30;
|
||||||
assert result.getTextResult().contains("date");
|
assert result.getTextResult().contains("date")
|
||||||
|
|| result.getTextResult().contains("日期");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user