Skip to content

Setting keys

Settings are strings used as keys in Session object function or method calls.

There are different categories of keys, defined by how they are used.

Events
Use setHandler with event keys to register callback handlers for events.
Iterators
Use with forEach to loop over lists of values.
Results
Report the results of model inference.
Runtime
Inspect or alter the runtime state of Session instances.
Configuration
Change or fine-tune model behavior. Values for these keys persist in model files. You can modify these settings with the -s option in the command-line utilities.
Values
String constants that define task-types used with require, or that identify template slots.
Library information
Information about the library, rather than any specific model.