[
https://issues.apache.org/jira/browse/NLPCRAFT-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Kamov updated NLPCRAFT-495:
----------------------------------
Description:
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)
was:
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.
> 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
> 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)