Prerequisites
- Access to Microsoft LUIS.
Configuration on the NLU provider side
- Set up a new LUIS app in the Microsoft LUIS portal, define intents, add entities, and train the model.
- Go to Manage > Azure Resources in your LUIS app to find the required parameters:
- Location. The Azure region where the LUIS service is hosted, for example,
westus2. - Subscription Key. The primary or secondary key.
- App ID. The ID of your LUIS app. Find it in Manage > Settings.
- Location. The Azure region where the LUIS service is hosted, for example,
- Ensure the app is published in production mode for external services, such as Cognigy, to access it.
Configuration on the Cognigy side
- In Cognigy, go to Advanced > NLU Connectors, click Create NLU connector, and select the LUIS connector type.
-
Fill in the placeholders in the URL with the parameters you found in LUIS:
- Paste this URL into the Authentication URL field.
Test your NLU connector
By default, the Cognigy NLU connector is used in the Interaction Panel for testing purposes. To change this behavior, open the Settings tab in the Interaction Panel, then select the configured connector from the NLU connector list.Add your NLU connector to endpoint settings
By default, the Cognigy NLU connector is used in the Endpoint. To change this behavior, follow these steps:- Go to Deploy > Endpoints.
- Select the desired Endpoint and go to the Advanced tab.
- In the Natural language understanding (NLU) section, select the configured connector from the NLU connector list.