Annotation Type NCIntentSample
@Retention(RUNTIME) @Target(METHOD) @Repeatable(NCIntentSampleList.class) public @interface NCIntentSampleAnnotation to define one or more samples of the user input that should match a corresponding intent. This annotation can only be used together with
NCIntentRefannotations on the callback methods. Method can have multiple annotations of this type and each annotation can define multiple input examples.
Note that the samples provided by this annotation not only serve the documentation purpose but are also used by
NCTestAutoModelValidatorclass from built-in test framework for auto-validation between data models and intents.
String valueGets a list of user input samples that should match corresponding intent. This annotation should be attached the intent callback method.
- Set of user input examples that should match corresponding intent.