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)