preload : objects

One or more DLMs to preload, to be available as static content for all sessions in the service instance.

Value

String. For each DLM, specify preload : objects : url, preload : objects : weight, and preload : objects : type.

Default

(empty, the preload feature is disabled until you configure it)

How to set

If using Management Station set in the service configuration file. (You cannot set the value via the Management Station user interface.) To identify the service configuration file name, use Management Station to display the Service Information page (by selecting the Krypton service) then get the filepath in the Command Line details. If not using Management Station, set in the Krypton configuration file (User-kryptonxx.yaml, seeConfiguration roadmap).

Usage

Set before starting the Krypton service.

To use the preload feature, you must specify preload : dataPack, preload : dataPack : language, preload : dataPack : topic, and preload : objects. For multi-language applications, repeat the language, topic, and objects fields.

The maximum number of loaded DLMs for a single recognition turn is 5.

Note: To avoid a duplicate objects error in Krypton recognition, don't load the same DLM under different names and/or URLs in one SIP session. Instead, refer to the DLM using the same URL and name or, more efficiently, refer to the same, already loaded DLM in multiple recognition requests within one SIP session.

For details about loading artifacts, see Loading artifacts.