The widget adds a floating AI assistant with instant search, streaming RAG chat with citations, three view modes, Cmd/Ctrl+K, dark-mode sync, and a support-form deflector. Styles live in a Shadow DOM — zero CSS leakage. Use the hosted bundle (recommended) or install the package:

Hosted script tag

The full attribute table (positions, branding, data-source-group-ids, data-hide-branding, deflector options) lives in Widget Configuration.

Programmatic API

open(), close() and destroy() are three of twenty-one methods — there are also ask(), toggle(), expand(), collapse(), reset(), setMode(), setSourceGroupIds(), setUser() and an on() event bus covering every interaction. See the programmatic API and the full configuration reference.

Form deflector

See Support Form Deflector for the full flow and API details.

Features

  • Shadow DOM style isolation
  • Three view modes: modal, search-bar, sidebar
  • Configurable Cmd/Ctrl+K shortcut; Esc closes
  • Dark-mode sync with OS + manual override
  • Instant search as you type (debounced 250 ms)
  • Streaming chat with numbered citations, follow-ups on the same thread
  • Thumbs up / down feedback
  • reCAPTCHA v3 support (configured server-side via widget-config)
  • Mobile full-screen sheet layout
  • White-label branding: name, logo, accent color (WCAG luminance-based foreground), hideable footer on enterprise

Local testing