public class DialogFlowCheckingUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkOutContexts(com.xatkit.intent.IntentDefinition intentDefinition)
Checks the out
Contexts of the provided intentDefinition. |
public static void checkOutContexts(com.xatkit.intent.IntentDefinition intentDefinition)
Contexts of the provided intentDefinition.
This method searches for consistency issues in the provided intentDefinition out contexts, e.g. text
fragment in ContextParameters that does not correspond to their corresponding entity value, or text
fragments that are not contained in the intentDefinition training sentences.
Non-critical errors are logged as warning. Critical errors (i.e. errors that will generate a non-working bot) throw an exception.
intentDefinition - the IntentDefinition to check the out Context ofCopyright © 2020 SOM Research Lab. All rights reserved.