This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/master by this push:
new af6064f WIP.
af6064f is described below
commit af6064f2d5811d99f3c0b6df5cd2df887b96f524
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Fri Apr 17 12:04:48 2020 -0700
WIP.
---
src/main/scala/org/apache/nlpcraft/model/NCModel.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main/scala/org/apache/nlpcraft/model/NCModel.java
b/src/main/scala/org/apache/nlpcraft/model/NCModel.java
index 9fbda7b..d61ecad 100644
--- a/src/main/scala/org/apache/nlpcraft/model/NCModel.java
+++ b/src/main/scala/org/apache/nlpcraft/model/NCModel.java
@@ -105,7 +105,8 @@ public interface NCModel extends NCModelView, NCLifecycle {
* the model (like soft-reset conversation or change metadata) and
force the re-evaluation of the parsing
* variants against all declared intents. Note that user logic should
be careful not to induce infinite loop in
* this behavior.
- * @throws NCRejection This callback can throw this rejection exception to
abort user request processing.
+ * @throws NCRejection This callback can throw the rejection exception to
abort user request processing. In this
+ * case the {@link #onRejection(NCIntentMatch, NCRejection)} callback
will be called next.
*/
default boolean onMatchedIntent(NCIntentMatch ctx) throws NCRejection {
return true;