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

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


The following commit(s) were added to refs/heads/NLPCRAFT-491 by this push:
     new e9c51777 WIP.
e9c51777 is described below

commit e9c517770fef8d42c80958021e702de69891508e
Author: Sergey Kamov <[email protected]>
AuthorDate: Thu Apr 7 22:12:03 2022 +0300

    WIP.
---
 .../java/org/apache/nlpcraft/examples/pizzeria/PizzeriaModel.scala  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/nlpcraft-examples/pizzeria/src/main/java/org/apache/nlpcraft/examples/pizzeria/PizzeriaModel.scala
 
b/nlpcraft-examples/pizzeria/src/main/java/org/apache/nlpcraft/examples/pizzeria/PizzeriaModel.scala
index 22f8d61d..6384a52f 100644
--- 
a/nlpcraft-examples/pizzeria/src/main/java/org/apache/nlpcraft/examples/pizzeria/PizzeriaModel.scala
+++ 
b/nlpcraft-examples/pizzeria/src/main/java/org/apache/nlpcraft/examples/pizzeria/PizzeriaModel.scala
@@ -62,9 +62,9 @@ class PizzeriaModel extends NCModelAdapter (new 
NCModelConfig("nlpcraft.pizzeria
 
         try body.apply(o)
         finally
-            println(s"'${im.getIntentId}' intent activated for text: 
'${im.getContext.getRequest.getText}'.")
-            println(s"Initial order state: $initDesc, state: $initState.")
-            println(s"Finish order state : ${o.getDesc}, state: 
${o.getState}.")
+            logger.info(s"'${im.getIntentId}' intent activated for text: 
'${im.getContext.getRequest.getText}'.")
+            logger.info(s"Initial order state: $initDesc, state: $initState.")
+            logger.info(s"Finish order state : ${o.getDesc}, state: 
${o.getState}.")
 
     private def askIsReady(o: PizzeriaOrder): NCResult =
         val res = NCResult(s"Is order ready?", ASK_DIALOG)

Reply via email to