Widget test page

Stands in for your website. The launcher is bottom-right. This page exists so the whole flow can be tested before the widget goes anywhere near production.

What to try

  1. Ask something your knowledge files answer — expect a grounded reply.
  2. Ask something you have no content for — expect a handoff and the contact form.
  3. Say “I want to talk to a human” — immediate handoff, no model call.
  4. Press Not now on the form — the handoff must still stand.
  5. Refresh the page and reopen the chat — the transcript must come back.
  6. Send another message after the handoff — the bot must stay silent.

Embedding it

One line, at the end of <body> on any page:

<script src="https://your-app.azurewebsites.net/widget.js" defer></script>

The widget renders inside a shadow root, so your site's CSS cannot reach into it and its CSS cannot leak out.