Conversation Variables

Conversation variables are named, dynamic values that persist across interactions within a conversation. They support per-culture defaults and can be referenced throughout your content. Unlike context variables, their values are not fixed — they change during the conversation and are carried forward across turns.

How it works with HALO
AI Cloud sends conversation variable values to HALO on each interaction. If HALO has a context variable with the same name, it takes the AI Cloud value — when it is within the allowed values, or always if none are defined. When HALO changes one of its context variables via an agent or tool, that change is persisted back to the conversation variable with the same name in AI Cloud.

Managing Conversation Variables

Conversation variables are managed in Configuration → Conversation Variables. Each variable has a name and a type (e.g. string). Use the + button to add new variables.

Context Variables vs. Conversation Variables

These two variable types serve different purposes:

  • Context variables — static, sent by the client to route AI Cloud to the right answer. Values are predefined and do not change during the conversation.

  • Conversation variables — dynamic, can be read and written during the conversation. Used to inject personalised content into answers or carry state across turns.