Configuring the runtime environment to recognize external learning modules

You can use the Learning Java API to write your own learning module. You must configure the runtime environment to recognize your learning utility in Unica Platform.

About this task

You must restart the Unica Interact runtime server for these changes to take effect.

Procedure

  1. In Unica Platform for the runtime environment, edit the following configuration properties in the Interact > offerserving category. The configuration properties for the learning optimizer API exist in Interact > offerserving > External Learning Config category.
    Configuration property Setting
    optimizationType ExternalLearning
    externalLearningClass class name for the external learning
    externalLearningClassPath The path to the class or JAR files on the runtime server for the external learning. If you are using a server group and all the runtime servers reference the same instance of Unica Platform, every server must have a copy of the class or JAR files in the same location.
  2. Restart the Unica Interact runtime server for these changes to take effect.