CAIC Context Variables

Context variables are static keys with a defined set of allowed values. They are assigned to content items (articles, events, dialogs) to allow AI Cloud to return a different answer depending on the state passed in by the client.

How it works with HALO
AI Cloud sends context variable values into HALO on each interaction. If HALO has a context variable with the same name, it assumes that value. Unlike conversation variables, context variables are static in AI Cloud — for identical behaviour, the HALO counterpart should define the same allowed values.

System Context Variables

Every project includes two read-only system context variables:

  • DeviceOS — the operating system of the device making the request

  • DeviceType — the type of device making the request

System variables cannot be edited or deleted.

Custom Context Variables

Additional context variables can be created in Configuration → Context Variables. Access requires the Content Engineer role, granted by your project Admin.

See Guide to Context Variables for step-by-step instructions on creating variables, applying them to answers, and testing contextual responses.