A class used to verify usage of intents and utterances.
Initializes the Validator object.
Create an instance from the domain, nlu and story files.
Compares list of intents in domain with intents in NLU training data.
Checks if there is no duplicated example in different intents.
Checks intents used in stories.
Verifies if the intents used in the stories are valid, and whether all valid intents are used in the stories.
Compares list of utterances in actions with utterances in responses.
Verifies usage of utterances in stories.
Checks whether utterances used in the stories are valid, and whether all valid utterances are used in stories.
Verifies that the bot behaviour in stories is deterministic.
Trueeven if conflicts were found.
max_history- Maximal number of events to take into account for conflict identification.
False is a conflict was found and
Runs all the validations on intents and utterances.
Checks whether the domain returned by the importer is empty.
An empty domain is invalid.