This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-490
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-490 by this push:
new 90c15fd WIP.
90c15fd is described below
commit 90c15fdd2d65721c20b799e3e6d8d85f881990f4
Author: Sergey Kamov <[email protected]>
AuthorDate: Tue Mar 29 23:29:14 2022 +0300
WIP.
---
nlpcraft/src/main/scala/org/apache/nlpcraft/NCModelClient.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/NCModelClient.java
b/nlpcraft/src/main/scala/org/apache/nlpcraft/NCModelClient.java
index c90d436..e9c4083 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/NCModelClient.java
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/NCModelClient.java
@@ -109,7 +109,8 @@ public class NCModelClient implements AutoCloseable {
* @param txt
* @param data
* @param usrId
- * @param saveHistory
+ * @param saveHistory if true that found intent data added to dialog flow
(with empty NCResult, bacause callback wasn't called) and STM.
+ * if false found intent ignored in history.
* @return
*/
public NCWinnerIntent getWinnerIntent(String txt, Map<String, Object>
data, String usrId, boolean saveHistory) {