Skip to main content

Model API

Sometimes you might want your bot to be able to recognize phrases in languages not supported by JAICP. To do this, JAICP implements the ability to connect an external NLU service with support for any foreign language to your project.

tip
JAICP provides the Model API to connect an external NLU service to your project.

You can develop such a service yourself or use a third-party one. The external NLU service must comply with the Model API specification.

Model API allows you to use third-party tokenizers, external named entity and intent recognition NLU services in JAICP projects.

To work with an external NLU service:

  1. Learn about the Model API specification.
  2. Look through the external NLU service example to develop your own or use a third-party one.
  3. Connect the external NLU service to your project.