[fix][chat]Fix Text2SQL case, making it more robust.

This commit is contained in:
jerryjzhang
2024-10-30 22:38:49 +08:00
parent adde7bbd45
commit fa75a13888

View File

@@ -59,7 +59,8 @@ 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");
assert result.getTextResult().contains("date")
|| result.getTextResult().contains("日期");
}
@Test