This extension provides tasks for training, testing, and deleting NLU models from LUIS, Lex, and Dialogflow. It wraps the NLU.DevOps CLI tool to reduce the number of steps needed in a build pipeline to set up CI/CD for an NLU model. Training an NLU modelTo train an NLU model, add the following configuration to your pipeline:
You can also train a model from the generic utterances model using the Check out the docs for LUIS and Lex for more information on pipeline variables you will need to set up access tokens and toggle NLU provider-specific features. For more information about this task, see the documentation for NLUTrain. Testing an NLU modelTo test an NLU model, add the following configuration to your pipeline:
The To test with speech WAV files, set the Setting For reference, here is an example run of NLU test results. For more information about this task, see the documentation for NLUTest. Deleting an NLU modelFor CI/CD, you often want to import, test, and then delete an NLU model. To delete the NLU model you set up for testing in a CI environment:
For more information about this task, see the documentation for NLUClean. |