This is a Botium connector for testing your Azure Conversational Language Understanding intent resolution logic.
Did you read the Botium in a Nutshell articles? Be warned, without prior knowledge of Botium you won't be able to properly use this library!
Azure Conversational Language Understanding is just a stateless NLP recognition engine, extracting intent, and entities. You can use corresponding Botium NLP Asserters
It can be used as any other Botium connector with all Botium Stack components:
- Node.js and NPM
- AZURE subsription
- Azure CLU project
- Resource key, and endpoint of the Azure CLU project
- The name of the Azure CLU project
- The deployment name
- A project directory on your workstation to hold test cases and Botium configuration
See also Quickstart: Conversational language understanding)
When using Botium CLI:
> npm install -g botium-cli
> npm install -g botium-connector-azure-clu
> botium-cli init
> botium-cli run
When using Botium Bindings:
> npm install -g botium-bindings
> npm install -g botium-connector-azure-clu
> botium-bindings init mocha
> npm install && npm run mocha
When using Botium Box:
Already integrated into Botium Box, no setup required
Create a botium.json with Azure resource key, and endpoint:
{
"botium": {
"Capabilities": {
"PROJECTNAME": "Botium Project Azure CLU",
"CONTAINERMODE": "azure-clu",
"AZURE_CLU_ENDPOINT_URL": "xxx",
"AZURE_CLU_ENDPOINT_KEY": "xxx",
"AZURE_CLU_PROJECT_NAME": "xxx",
"AZURE_CLU_DEPLOYMENT_NAME": "xxx"
}
}
}
Botium setup is ready, you can begin to write your BotiumScript files.
Set the capability CONTAINERMODE to azure-clu to activate this connector.
See Resource key, and endpoint of the Azure CLU project
See Resource key, and endpoint of the Azure CLU project
The name of the Azure CLU project
The Azure CLU deployment to test.
API version. Default: 2022-05-01
The participiant ID. See Azure API doc
The language of the conversation.
The direct target. See Azure API doc
The target project parameters. See Azure API doc
Possible values:
- staging
- production