Scenarios
Curate exact-answer Q&A, generate alternative phrasings, suggest questions from your knowledge base, and publish to the CDN.
Last updated 2026-05-23
Scenarios are the questions you really, really want answered correctly. Every visitor message is matched against your scenarios first; only if no scenario matches well enough does the AI fallback take over.
The editor layout
The scenarios page has two columns:
- Left — the scenario list. Each entry shows the question, an answer preview, and a status badge.
- Right — the editor for the currently selected scenario.
Add a new scenario
- Click Add scenario (or use the inline input at the top of the list).
- Type the question and press Enter / click Add.
- The app calls the LLM to auto-generate an answer from your uploaded sources, plus three alternative phrasings as variants.
- The scenario appears in the list with status
draft(no answer yet) orready(answer generated).
Edit a scenario
Pick a scenario from the list. The right panel exposes:
- Question — editable text input. Changing it triggers a fresh answer generation.
- Answer — editable textarea. Use Regenerate to re-run the LLM with the current question.
- Variants — list of alternative phrasings. Each can be deleted individually. Add variant takes a new phrasing manually; Generate variants asks the LLM for three new ones.
- Delete scenario — removes the row entirely.
Suggest a question
Click Suggest question to ask the LLM for a question your visitors are likely to have but no scenario covers yet. The suggestion is auto-added to the list, with answer and variants pre-filled. Edit anything you like before publishing.
Requires a built knowledge base. The button is disabled until at least one source has finished embedding.
Status lifecycle
| Status | Meaning |
|---|---|
draft | Question exists, no answer yet. |
ready | Answer present, not yet published. |
published | Live on the CDN; visitors see this answer. |
Publish
A Publish button appears whenever there are unpublished changes (added, edited, or deleted scenarios). Clicking it writes a new scenarios.json to the CDN; the embed will fetch it on the next page load (or sooner if the page calls refresh() — see JavaScript API).
Greeting quick replies
Up to eight scenarios can be promoted to greeting quick replies in Configure. They render as one-click buttons under the greeting message so visitors don't have to type.