[
https://issues.apache.org/jira/browse/NLPCRAFT-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17562637#comment-17562637
]
Sergey Kamov commented on NLPCRAFT-495:
---------------------------------------
ready for review in 495 branch (based in 504)
> 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: Sergey Kamov
> Priority: Major
> 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.
> I guess we have to provide NCContext as additional parameter of this
> (onRejection) method.
> Otherwise we don't have any information about NCContext here (it is inside
> NCIntentMatch)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)