This is a Botium connector for testing your Azure Custom Question Answering 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!
It can be used as any other Botium connector with all Botium Stack components:
- Node.js and NPM
- AZURE subsription
- Azure CQA project
- Resource key, and endpoint of the Azure CQA project
- The name of the Azure CQA project
- The deployment name
- A project directory on your workstation to hold test cases and Botium configuration
See also Create, test, and deploy a custom question answering project
When using Botium CLI:
> npm install -g botium-cli
> npm install -g botium-connector-azure-cqa
> botium-cli init
> botium-cli run
When using Botium Bindings:
> npm install -g botium-bindings
> npm install -g botium-connector-azure-cqa
> 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 CQA",
"CONTAINERMODE": "azure-cqa",
"AZURE_CQA_ENDPOINT_URL": "xxx",
"AZURE_CQA_ENDPOINT_KEY": "xxx",
"AZURE_CQA_PROJECT_NAME": "xxx"
}
}
}
Botium setup is ready, you can begin to write your BotiumScript files.
Set the capability CONTAINERMODE to azure-cqa to activate this connector.
See Resource key, and endpoint of the Azure CQA project
See Resource key, and endpoint of the Azure CQA project
The name of the Azure CQA project
The user ID. Default: random (uuid)
The name of the specific deployment of the project to use. Default: 'production'
API version. Default: 2021-10-01
Type of ranker to be used. Default: 'Default' Possible values:
- Default
- QuestionOnly
Flag to enable Query over Unstructured Sources. Default: true
Enable or disable Answer Span prediction. See also Precise answering Default: false
See also Question Answering - Get Answers