This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch NLPCRAFT-278
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-278 by this push:
     new 9e46c69  Update SqlModel.scala
9e46c69 is described below

commit 9e46c690927f529f9a2080e2c00d34b91bd15160
Author: Aaron Radzinski <[email protected]>
AuthorDate: Tue Mar 23 19:26:24 2021 -0700

    Update SqlModel.scala
---
 nlpcraft/src/main/scala/org/apache/nlpcraft/examples/sql/SqlModel.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/sql/SqlModel.scala 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/sql/SqlModel.scala
index 820c4ad..c05eb00 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/sql/SqlModel.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/sql/SqlModel.scala
@@ -342,7 +342,7 @@ class SqlModel extends 
NCModelFileAdapter("org/apache/nlpcraft/examples/sql/sql_
         "intent=customSortReport " +
             "term(sort)~{tok_id() == 'sort:best' || tok_id() == 'sort:worst'} 
" +
             "term(tbls)~{has(tok_groups(), 'table')}[0,7] " +
-            "term(cols)~{has(list('col:date', 'col:num', 'col:varchar'), 
id())}[0,7] " +
+            "term(cols)~{has(list('col:date', 'col:num', 'col:varchar'), 
tok_id())}[0,7] " +
             "term(condNums)~{tok_id() == 'condition:num'}[0,7] " +
             "term(condVals)~{tok_id() == 'condition:value'}[0,7] " +
             "term(condDates)~{tok_id() == 'condition:date'}[0,7] " +

Reply via email to