Chat Bubbles & History

  • Assistant Style: focus on the current step, history scrollable but deemphasized

  • Classic Chat Style: traditional stacked history, always visible

At a glance

Option
Default
Effect

chatMode

false

false = Assistant; true = Classic

userMessageBubble

false

Show user messages as bubbles

agentMessageBubble

false

Show agent messages as bubbles

Common recipes

Assistant with bubbles:

const touchpoint = await create({
  config: { applicationUrl: "...", headers: { "nlx-api-key": "..." }, languageCode: "en-US" },
  chatMode: false,
  userMessageBubble: true,
  agentMessageBubble: true,
});

Classic with bubbles:

const touchpoint = await create({
  config: { applicationUrl: "...", headers: { "nlx-api-key": "..." }, languageCode: "en-US" },
  chatMode: true,
  userMessageBubble: true,
  agentMessageBubble: true,
});

When to use

  • Assistant: guided workflows, mobile, task focus

  • Classic: support conversations, complex multi-turn, documentation lookups

History persistence

For saving/restoring history across sessions, see: Persist Conversation History

Last updated