Configuring a NLU Provider
CSML Studio currently supports the following NLP providers:
- SAP Conversational AI (formerly Recast.ai)
- Amazon Lex
- Microsoft LUIS
- IBM Watson
- Custom Webhook
Please refer to each provider's documentation for more information on how to generate credentials. CSML Studio supports the most common and secure way of connecting to these providers.
You can also add a custom NLP engine by using the custom Webhook integration. This is especially useful if we don't currently support your NLP provider of choice or if you are running your NLP services on premise.
To use the Webhook integration, simply provide a URL that we can send a POST request to, with the following body:
The URL may contain query parameters, for example with an API Key for authentication purposes.
When called, this endpoint must return the response in the following form:
// intent can also be null if no intent is found
// ... other matching intents
// ... any additional information about entity
// ... other values for the same entity
// ... other entities
// ... any additional data: sentiment analyzis, language...
You can test this endpoint directly on the configuration page.