Package org.apache.nlpcraft.model
Annotation Type NCIntentTerm
-
@Documented @Retention(RUNTIME) @Target(PARAMETER) public @interface NCIntentTerm
Annotation to mark callback parameter to receive intent term's tokens. This is a companion annotation toNCIntent
andNCIntentRef
annotations and can only be used for the parameters of the methods that are annotated withNCIntent
orNCIntentRef
.NCIntentTerm
takes a term ID as its only mandatory parameter and should be applied to callback method parameters to get the tokens associated with that term (if and when the intent was matched and that callback was invoked).Read full documentation in Intent Matching section and review examples.
-
-
Element Detail
-
value
String value
-
-