Releases: Azure/aace
Releases · Azure/aace
KMA self deployment package
KMA self deployment package
Download
Download the KMA.zip in assets below. You don't need the source code to build or deploy the solution.
Setup environment:
If latest Az or Az.Search module is not installed, following the instruction at https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-2.4.0 to install it first. You can also run .\setup.ps1 in a PowerShell window with admin privilege.
Prepare:
- Choose a unique name. It will be used as prefix of name of all Azure resources. If the name is already used, the deployment will fail.
- If you don't want to deploy to the default subscription, get the subscription id.
Deploy:
- Sync the current repo or download the deployment package.zip
- Run following command:
.\Deploy.ps1 -uniqueName <unique_name> -subscriptionId <subscription_id> - Login to your Azure subscription in the popup window
In the end of deployment, the script will open the demo web UI page in your default browser. You may need to wait for 1 to 2 minutes for the indexing to finish before querying any data. It will also print the storage account name and key for Power BI report.
Additional parameters:
- resourceGroup: The resource group name. By default it will use the -uniqueName
- location: The location of all resources. By default it will be centralus
- sampleCategory: The sample data which will be copied to the storage. Value should be one of the followings: healthcare, oilandgas, retail
Power BI Report:
You can update the Power BI report to load data from your own knowledge store:
- The deployment script will print the storage account name and storage account key in the end of deployment.
- Open PowerBI desktop
- Click Edit Queries dropdown and choose "Data source settings"
- Select the first data source, then click "Change source"
- Enter the name of the storage account
- Click OK
- Click "Edit permissions"
- Click Edit under Credentials
- Update the account key with the primary or secondary key
- Click Save
- Close all windows and refresh your data sources