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/06/30 07:17:00 UTC

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

     [ 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)