[
https://issues.apache.org/jira/browse/NLPCRAFT-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17195119#comment-17195119
]
Aaron Radzinski commented on NLPCRAFT-118:
------------------------------------------
Ready to merge to NLPCRAFT-41.
> Insufficient NCIntentTerm validation.
> -------------------------------------
>
> Key: NLPCRAFT-118
> URL: https://issues.apache.org/jira/browse/NLPCRAFT-118
> Project: NLPCraft
> Issue Type: Task
> Components: model
> Reporter: Aaron Radzinski
> Assignee: Aaron Radzinski
> Priority: Blocker
> Fix For: 0.7.0
>
>
> This code currently passes the validation (from WeatherModel):
> {code:java}
> public NCResult onMatch(
> NCIntentMatch ctx,
> @NCIntentTerm("ind") List<NCToken> indToksOpt,
> @NCIntentTerm("city") Optional<NCToken> cityTokOpt_extra, /* SHOULD
> BE INVALID */
> @NCIntentTerm("city") Optional<NCToken> cityTokOpt,
> @NCIntentTerm("date") Optional<NCToken> dateTokOpt
> ) {
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)