Configuring a NLU Provider

Using SaaS providers

CSML Studio currently supports the following NLP providers:
  • Dialogflow (read our blog post)
  • SAP Conversational AI (formerly Recast.ai)
  • Amazon Lex
  • Microsoft LUIS
  • Rasa
  • Wit.ai
  • 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.
If your favorite provider is not in this list, please reach out to [email protected].

Using the Custom Webhook integration

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:
1
{
2
"text": "TEXT_TO_ANALYZE"
3
}
Copied!
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:
1
{
2
// intent can also be null if no intent is found
3
"intent": {
4
"name": "NAME_OF_INTENT",
5
"confidence": 0.84
6
},
7
"alternative_intents": [
8
// ... other matching intents
9
],
10
"entities": {
11
"someEntity": [
12
{
13
"value": "somevalue",
14
"metadata": {
15
// ... any additional information about entity
16
},
17
},
18
// ... other values for the same entity
19
],
20
// ... other entities
21
}
22
// ... any additional data: sentiment analyzis, language...
23
}
Copied!
You can test this endpoint directly on the configuration page.
Last modified 8mo ago