You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Sergey Kamov (Jira)" <ji...@apache.org> on 2022/04/08 10:39:00 UTC

[jira] [Created] (NLPCRAFT-495) org.apache.nlpcraft.NCModel#onRejection API method.

Sergey Kamov created NLPCRAFT-495:
-------------------------------------

             Summary: org.apache.nlpcraft.NCModel#onRejection API method.
                 Key: NLPCRAFT-495
                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-495
             Project: NLPCraft
          Issue Type: Task
          Components: Main API
            Reporter: Sergey Kamov
            Assignee: Aaron Radzinski
             Fix For: 1.0.0


org.apache.nlpcraft.NCModel#onRejection
has 2 arguments: NCIntentMatch and NCRejection
First (NCIntentMatch) can be null because it can be not matched intents in this case. 
1) Should be NCIntentMatch an Optional ?
1) I guess we have to provide NCContext as additional parameter of this  (onRejection) method. Otherwise we don't have any information.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)