You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by se...@apache.org on 2022/04/03 09:46:18 UTC

[incubator-nlpcraft] 02/02: WIP.

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

commit 498e4dabed4a26198c3137a2182d446166793882
Author: Sergey Kamov <sk...@gmail.com>
AuthorDate: Sun Apr 3 12:46:10 2022 +0300

    WIP.
---
 .../java/org/apache/nlpcraft/examples/order/cli/OrderModelServer.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nlpcraft-examples/order/src/test/java/org/apache/nlpcraft/examples/order/cli/OrderModelServer.scala b/nlpcraft-examples/order/src/test/java/org/apache/nlpcraft/examples/order/cli/OrderModelServer.scala
index 5e09e6e..09c3fa5 100644
--- a/nlpcraft-examples/order/src/test/java/org/apache/nlpcraft/examples/order/cli/OrderModelServer.scala
+++ b/nlpcraft-examples/order/src/test/java/org/apache/nlpcraft/examples/order/cli/OrderModelServer.scala
@@ -62,7 +62,7 @@ object OrderModelServer:
                     if req == null || req.isEmpty then Exception(s"Empty request")
 
                     val resp = nlpClient.ask(req, null, "userId")
-                    val prompt = if resp.getType == ASK_DIALOG then "(Your should answer on the model's question)\n" else ""
+                    val prompt = if resp.getType == ASK_DIALOG then "(Your should answer on the model's question below)\n" else ""
 
                     response(s"$prompt${resp.getBody}")
                 catch